brjapon commited on
Commit
0c5aed6
·
1 Parent(s): 906a289

Specify Hugging Face dataset command to load data

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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
- # If this dataset is hosted under "username/iris-dataset"
68
- dataset = load_dataset("username/iris-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()