admin commited on
Commit
874135f
1 Parent(s): 66a7c98

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -8
README.md CHANGED
@@ -17,25 +17,23 @@ size_categories:
17
 
18
  ## Usage
19
 
20
- ```
21
  from datasets import load_dataset
22
 
23
- trainset = load_dataset("MuGeminorum/Pima", split="train")
24
- validset = load_dataset("MuGeminorum/Pima", split="validation")
25
- testset = load_dataset("MuGeminorum/Pima", split="test")
26
 
27
- for item in trainset:
28
  print(item)
29
 
30
- for item in validation:
31
  print(item)
32
 
33
- for item in testset:
34
  print(item)
35
 
36
  ```
37
 
38
  ## Maintenance
39
- ```
40
  git clone git@hf.co:datasets/MuGeminorum/Pima
41
  ```
 
17
 
18
  ## Usage
19
 
20
+ ```python
21
  from datasets import load_dataset
22
 
23
+ dataset = load_dataset("MuGeminorum/Pima")
 
 
24
 
25
+ for item in dataset["train"]:
26
  print(item)
27
 
28
+ for item in dataset["validation"]:
29
  print(item)
30
 
31
+ for item in dataset["test"]:
32
  print(item)
33
 
34
  ```
35
 
36
  ## Maintenance
37
+ ```bash
38
  git clone git@hf.co:datasets/MuGeminorum/Pima
39
  ```