jomarie04 commited on
Commit
32e9ba0
·
verified ·
1 Parent(s): a768766

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -3
README.md CHANGED
@@ -1,3 +1,29 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+ # Animals Dataset
5
+
6
+ This dataset contains information about various animals.
7
+
8
+ ## File
9
+ - `animals.jsonl`
10
+
11
+ ## Columns / Fields
12
+ - `id` – unique identifier
13
+ - `name` – common name of the animal
14
+ - `species` – scientific name
15
+ - `habitat` – natural habitat
16
+ - `diet` – dietary type
17
+
18
+ ## Usage
19
+ Load in Python:
20
+
21
+ ```python
22
+ import json
23
+
24
+ animals = []
25
+ with open("animals.jsonl", "r") as f:
26
+ for line in f:
27
+ animals.append(json.loads(line))
28
+
29
+ print(animals[:5])