hbui commited on
Commit
e397949
1 Parent(s): 1e356a5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md CHANGED
@@ -17,3 +17,12 @@ tags:
17
 
18
  We have provided an example dataset in the `data` subdirectory of this repository. The dataset consists of 5 examples, each with 35 features and a target variable. To download the dataset, simply clone this repository and navigate to the `data` subdirectory:
19
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  We have provided an example dataset in the `data` subdirectory of this repository. The dataset consists of 5 examples, each with 35 features and a target variable. To download the dataset, simply clone this repository and navigate to the `data` subdirectory:
19
 
20
+
21
+ The dataset can be loaded into your model using the following code:
22
+
23
+ ```python
24
+ import pandas as pd
25
+
26
+ df = pd.read_csv("data/example_data.txt", delimiter="\t")
27
+ X = df.drop("DroughtExperienced", axis=1)
28
+ y = df["DroughtExperienced"]