piper.io.read_csv¶
-
piper.io.read_csv(file_name: str, sep: str = ',', strip_blanks: bool = True, clean_cols: bool = True, encoding: str = None, info: bool = True) → pandas.core.frame.DataFrame[source]¶ pd.read_csv wrapper function
- Parameters
file_name – csv formatted file
sep – column separator
strip_blanks – Default True If True, strip all column (row) values of leading and trailing blanks
clean_cols – default True If True, lowercase column names, replace spaces with underscore (‘_’)
encoding – default None. Tip:: For EU data try ‘latin-1’
info – if True, display additional logging information
- Returns
- Return type
pandas dataframe