标签:lines otto efi local ima limit oat his example
pandas.
read_csv
(filepath_or_buffer, sep=‘, ‘, delimiter=None, header=‘infer‘, names=None, index_col=None, usecols=None, squeeze=False, prefix=None, mangle_dupe_cols=True, dtype=None, engine=None, converters=None, true_values=None, false_values=None, skipinitialspace=False, skiprows=None, nrows=None, na_values=None, keep_default_na=True, na_filter=True, verbose=False, skip_blank_lines=True, parse_dates=False, infer_datetime_format=False, keep_date_col=False, date_parser=None, dayfirst=False, iterator=False, chunksize=None, compression=‘infer‘, thousands=None, decimal=‘.‘, lineterminator=None, quotechar=‘"‘, quoting=0, escapechar=None, comment=None, encoding=None, dialect=None, tupleize_cols=False, error_bad_lines=True, warn_bad_lines=True, skipfooter=0, skip_footer=0, doublequote=True, delim_whitespace=False, as_recarray=False, compact_ints=False, use_unsigned=False, low_memory=True, buffer_lines=None, memory_map=False, float_precision=None)[source]
Read CSV (comma-separated) file into DataFrame
dataframe = pandas.read_csv(‘water_demand2009.csv‘,header =None, usecols=None, engine=‘python‘, skipfooter=0)
Parameters:
filepath_or_buffer : str, pathlib.Path, py._path.local.LocalPath or any object with a read() method (such as a file handle or StringIO)
header : int or list of ints, default ‘infer’
usecols : array-like, default None
engine : {‘c’, ‘python’}, optional
skipfooter : int, default 0
Returns: result : DataFrame or TextParser
pandas: powerful Python data analysis toolkit
标签:lines otto efi local ima limit oat his example
原文地址:http://www.cnblogs.com/dreamafar/p/6227576.html