Specify Hugging Face dataset command to load data
Browse files
README.md
CHANGED
|
@@ -64,8 +64,8 @@ Here’s a minimal example in Python using the [datasets](https://github.com/hug
|
|
| 64 |
```python
|
| 65 |
from datasets import load_dataset
|
| 66 |
|
| 67 |
-
#
|
| 68 |
-
dataset = load_dataset("
|
| 69 |
|
| 70 |
# The dataset might contain a default split or just one split
|
| 71 |
df = dataset["train"].to_pandas()
|
|
|
|
| 64 |
```python
|
| 65 |
from datasets import load_dataset
|
| 66 |
|
| 67 |
+
# This dataset is hosted in Hugging Face Hub under "brjapon/iris-dataset"
|
| 68 |
+
dataset = load_dataset("brjapon/iris")
|
| 69 |
|
| 70 |
# The dataset might contain a default split or just one split
|
| 71 |
df = dataset["train"].to_pandas()
|