Datasets:
Download examples/load_pandas.py from Serisly/ecommerce-brand-app-stack-sample: direct link, hf CLI and curl.
- Browser
- Download file 149 Bytes
-
https://huggingface.co/datasets/Serisly/ecommerce-brand-app-stack-sample/resolve/main/examples/load_pandas.py
- Command line
-
hf download hf://datasets/Serisly/ecommerce-brand-app-stack-sample/examples/load_pandas.py
-
curl -L -o load_pandas.py https://huggingface.co/datasets/Serisly/ecommerce-brand-app-stack-sample/resolve/main/examples/load_pandas.py
149 Bytes
| """Load the sample Parquet table into pandas.""" | |
| import pandas as pd | |
| df = pd.read_parquet('data/sample.parquet') | |
| print(df.shape) | |
| print(df.head(5)) | |