Python for Finance: Analyze Big Financial Data

(Elle) #1
parse_dates

Boolean/list, default FalseWhether to parse dates in index columns or multiple columns

keep_date_col

Boolean, default False

Keeps original date columns

dayfirst

Boolean, default False

For European date convention DD/MM

thousands

String

Thousands operator

comment

String

Rest of line as comment (not to be parsed)

decimal

String

String to indicate decimal, e.g., “.” or “,”

nrows

Integer

Number of rows of file to read

iterator

Boolean, default False

Return TextFileReader object

chunksize

Integer

Return TextFileReader object for iteration

skipfooter

Integer

Number of lines to skip at bottom

converters

Dictionary

Function to convert/translate column data

verbose

Boolean, default False

Report number of NA values in nonnumeric columns

delimiter

String

Alternative to sep, can contain regular expressions

encoding

String

Encoding to use, e.g., “ UTF-8”

squeeze

Boolean, default False

Return one-column data sets as Series

na_filter

Boolean, default False

Detect missing value markers automatically

usecols

Array-like

Selection of columns to use

mangle_dupe_cols

Boolean, default False

Name duplicate columns differently
Free download pdf