load_dataframe¶
- load_dataframe(location: str, key: str, **kwargs: int | str | list | dict | bool) pd.DataFrame [source]¶
Load key as dataframe from specified location.
Method will load from the S3 bucket if the location begins with the s3:// protocol, otherwise it assumes the location is a local path.
- Parameters:
location – Object location (local path or S3 bucket).
key – Object key ending in .csv.
**kwargs – Additional parameters for loading dataframe. The keyword arguments are passed to pandas.read_csv.
- Returns:
Loaded dataframe.