Skip to content

Commit

Permalink
Updated datasets.md (#1916)
Browse files Browse the repository at this point in the history
- based on feedback from Vechtomov
- minor tweaks
  • Loading branch information
sedthh committed Feb 28, 2023
1 parent a2c5277 commit 055ebaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/data/datasets.md
Expand Up @@ -89,13 +89,14 @@ import pandas as pd
df = pd.read_json(...) # or any other way

# Save the file in the Parquet format
df.to_parquet("dataset.parquet", row_group_size=100, engine="pyarrow")
df.to_parquet("dataset.parquet", row_group_size=100, engine="pyarrow", index=False)
```

#### 2. Install Hugging Face Hub

```bash
pip install huggingface_hub
pip install 'huggingface_hub[cli]'
```

#### 3. Log in to Hugging Face
Expand Down

0 comments on commit 055ebaa

Please sign in to comment.