Datasets:
Download examples/quickstart.py from Chainticks/cftc-cot: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/datasets/Chainticks/cftc-cot/resolve/6065a4702ee94de55d5644b9388b08a0a720b683/examples/quickstart.py
- Command line
-
hf download hf://datasets/Chainticks/cftc-cot@6065a4702ee94de55d5644b9388b08a0a720b683/examples/quickstart.py
-
curl -L -o quickstart.py https://huggingface.co/datasets/Chainticks/cftc-cot/resolve/6065a4702ee94de55d5644b9388b08a0a720b683/examples/quickstart.py
202 Bytes
| import pandas as pd | |
| date = "YYYY-MM-DD" | |
| url = "https://huggingface.co/datasets/Chainticks/cftc-cot/resolve/main/legacy_futures/date={date}/part-0000.parquet" | |
| df = pd.read_parquet(url) | |
| print(df.head()) | |