muhammadravi251001 commited on
Commit
6684360
1 Parent(s): 614543b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -1,6 +1,8 @@
1
  ---
2
  license: openrail
3
  ---
 
 
4
  from datasets import load_dataset, Dataset, DatasetDict
5
  import pandas as pd
6
 
@@ -30,4 +32,5 @@ dataset = DatasetDict({"train": train_dataset, "validation": validation_dataset,
30
 
31
  df_augmented_train = pd.DataFrame(dataset['train'])
32
  df_augmented_validation = pd.DataFrame(dataset['validation'])
33
- df_augmented_test = pd.DataFrame(dataset['test'])
 
 
1
  ---
2
  license: openrail
3
  ---
4
+ Use it like this.
5
+ ```
6
  from datasets import load_dataset, Dataset, DatasetDict
7
  import pandas as pd
8
 
 
32
 
33
  df_augmented_train = pd.DataFrame(dataset['train'])
34
  df_augmented_validation = pd.DataFrame(dataset['validation'])
35
+ df_augmented_test = pd.DataFrame(dataset['test'])
36
+ ```