

If sep is None, the C engine cannot automatically detect If you want to pass in a path object, pandas accepts any os.PathLike.īy file-like object, we refer to objects with a read() method, such asĪ file handle (e.g. A local file could be: file://localhost/path/to/table.csv.

URL schemes include http, ftp, s3, gs, and file. Parameters filepath_or_buffer str, path object or file-like objectĪny valid string path is acceptable. Read a comma-separated values (csv) file into DataFrame.Īlso supports optionally iterating or breaking of the fileĪdditional help can be found in the online docs for

read_csv ( filepath_or_buffer, *, sep = _NoDefault.no_default, delimiter = None, header = 'infer', names = _NoDefault.no_default, index_col = None, usecols = None, squeeze = None, prefix = _NoDefault.no_default, mangle_dupe_cols = True, dtype = None, engine = None, converters = None, true_values = None, false_values = None, skipinitialspace = False, skiprows = None, skipfooter = 0, nrows = None, na_values = None, keep_default_na = True, na_filter = True, verbose = False, skip_blank_lines = True, parse_dates = None, infer_datetime_format = False, keep_date_col = False, date_parser = None, dayfirst = False, cache_dates = True, iterator = False, chunksize = None, compression = 'infer', thousands = None, decimal = '.', lineterminator = None, quotechar = '"', quoting = 0, doublequote = True, escapechar = None, comment = None, encoding = None, encoding_errors = 'strict', dialect = None, error_bad_lines = None, warn_bad_lines = None, on_bad_lines = None, delim_whitespace = False, low_memory = True, memory_map = False, float_precision = None, storage_options = None ) #
