teachpyx.tools.pandas¶
- teachpyx.tools.pandas.read_csv_cached(filepath_or_buffer: str, ignore_cache: bool = False, **kwargs) DataFrame[source][source]¶
After the data is loaded with
pandas.read_csv(), the data is cached. This is interesting when the data is downloaded. The second call reuses the cached data. The cached dataframe is stored in.cache/teachpyx/<filename>_<hash>.csv.- Paramètres:
filepath_or_buffer – Any valid string path is acceptable. The string could be a URL. Valid URL schemes include http, ftp, s3, gs, and file. For file URLs, a host is expected. See
pandas.read_csv().ignore_cache – ignore the cache, overwrites it if it exists
kwargs – other argument for
pandas.read_csv()
- Renvoie:
dataframe
Ajouté dans la version 0.5.0.