File size: 767 Bytes
4f4a6ae
 
 
 
 
 
 
 
 
 
f406254
4f4a6ae
f406254
 
 
 
 
 
 
 
 
 
 
 
4f4a6ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: Hbui-Drought Vulnerability Assessment
emoji: 🌍
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 3.24.1
app_file: app.py
pinned: false
---
## Example Data

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:


The dataset can be loaded into your model using the following code:

```python
import pandas as pd

df = pd.read_csv("data/example_data.txt", delimiter="\t")
X = df.drop("DroughtExperienced", axis=1)
y = df["DroughtExperienced"]
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference