Datasets:

Modalities:
Text
Formats:
csv
Languages:
Thai
Libraries:
Datasets
Dask
License:
titipata commited on
Commit
7298988
·
verified ·
1 Parent(s): 22eb99f

Update README for download

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -38,11 +38,14 @@ The questions test the understanding of Buddhist principles through analytical t
38
 
39
  ## Usage
40
 
 
 
41
  ```py
42
  from datasets import load_dataset
43
 
44
- exam_dataset = load_dataset("biodatlab/thai_buddhist_studies_exam") # no splitting
45
- exam_dataset["train"][0]
 
46
  ```
47
 
48
  ```py
 
38
 
39
  ## Usage
40
 
41
+ You can use `datasets` to download exam in all years as shown below or download individual CSV file from `data` folder.
42
+
43
  ```py
44
  from datasets import load_dataset
45
 
46
+ exam_dataset = load_dataset("biodatlab/thai_buddhist_studies_exam") # all exam
47
+ exam_dataset_2023 = exam_dataset.filter(lambda e: e["year"] == 2023) # filter only the latest year
48
+ exam_dataset_2023["train"][0] # no data splitting, only train
49
  ```
50
 
51
  ```py