1 |
path |
String indicating filesystem location, URL, or file-like object |
2 |
sep |
Character sequence or regular expression to use to split fields in each row |
3 |
header |
Row number to use as column names; defaults to 0 (first row), but should be None if there is no header row |
4 |
index_col |
Column numbers or names to use as the row index in the result; can be a single name/number or a list of them for a hierarchical index |
5 |
names |
List of column names for result, combine with header=None |
6 |
skiprows |
Number of rows at beginning of file to ignore or list of row numbers (starting from 0) to skip. |
7 |
na_values |
Sequence of values to replace with NA. |
8 |
comment |
Character(s) to split comments off the end of lines. |
9 |
parse_dates |
Attempt to parse data to datetime; False by default. If True, will attempt to parse all columns. Otherwise can specify a list of column numbers or name to parse. If element of list is tuple or list, will combine multiple columns together and parse to date (e.g., if date/time split across two columns). |
10 |
keep_date_col |
If joining columns to parse date, keep the joined columns; False by default. |
11 |
converters |
Dict containing column number of name mapping to functions (e.g., {'foo': f} would apply the function f to all values in the 'foo' column). |
12 |
dayfirst |
When parsing potentially ambiguous dates, treat as international format (e.g., 7/6/2012 -> June 7, 2012); False by default. |
13 |
date_parser |
Function to use to parse dates. |
14 |
nrows |
Number of rows to read from beginning of file. |
15 |
iterator |
Return a TextParser object for reading file piecemeal. |
16 |
chunksize |
For iteration, size of file chunks. |
17 |
skip_footer |
Number of lines to ignore at end of file. |
18 |
verbose |
Print various parser output information, like the number of missing values placed in non-numeric columns. |
19 |
encoding |
Text encoding for Unicode (e.g., 'utf-8' for UTF-8 encoded text). |
20 |
squeeze |
If the parsed data only contains one column, return a Series. |
21 |
thousands |
Separator for thousands (e.g., ',' or '.'). |