module pandashelper.readh
¶
Short summary¶
module pyquickhelper.pandashelper.readh
Various ways to import data into a dataframe
Functions¶
function |
truncated documentation |
---|---|
Reads a file from a file, it adds the compression zip which was removed in the latest version, see pandas.read_csv. … |
Documentation¶
Various ways to import data into a dataframe
- pyquickhelper.pandashelper.readh.read_csv(filepath_or_buffer, compression=None, fvalid=None, **params)[source]¶
Reads a file from a file, it adds the compression zip which was removed in the latest version, see pandas.read_csv.
- Parameters:
filepath_or_buffer – filepath or buffer
compression – see pandas.read_csv
params – see pandas.read_csv
fvalid – if the zip file contains many files, this function validates which one must be returned based on its name, the function returns the content of the file in that case (bytes)
- Returns:
dataframe or a dictionary (name, dataframe)
See blog post 2016-02-06 read_csv and zip files.