Python Tutorials - Herong's Tutorial Examples - v2.14, by Herong Yang
File Input and Output for DataFrame
This section describes pandas.DataFrame/pandas.core.frame.DataFrame class, which represents a table of data with rows and columns.
Examples of reading tab delimited text files:
df = pd.read_csv("my_data.txt", sep="\t") Other parameters: error_bad_lines=False - Skipping bad lines usecols=[...] - Reading giving columns only encoding="UTF-8" - Specifying encoding header=None - No header line
Table of Contents
Variables, Operations and Expressions
Function Statement and Function Call
Iterators, Generators and List Comprehensions
Packages and Package Directories
"pathlib" - Object-Oriented Filesystem Paths
"pip" - Package Installer for Python
SciPy.org - Python Libraries for Science
►pandas - Data Analysis and Manipulation
pandas.DataFrame/pandas.core.frame.DataFrame - The Table Class
pandas.core.series.Series - The Column Class
►File Input and Output for DataFrame
Anaconda - Python Environment Manager