deva8217 commited on
Commit
6f92f74
·
verified ·
1 Parent(s): bf4d735

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +33 -0
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Wellness Tourism — Customer Propensity Dataset
2
+
3
+ **Task:** Binary classification (`ProdTaken`) to predict purchase of the Wellness Package.
4
+
5
+ ## Files
6
+ - `raw/tourism.csv`
7
+ - `processed/train.csv`, `processed/test.csv`
8
+
9
+ ## Usage
10
+ ```python
11
+ from huggingface_hub import hf_hub_download
12
+ import pandas as pd
13
+ p = hf_hub_download("deva8217/tourism-wellness", "processed/train.csv", repo_type="dataset")
14
+ pd.read_csv(p).head()
15
+
16
+
17
+ ### 3) Upload the README to your **HF Dataset** (no Markdown fences, use your real IDs)
18
+ ```bash
19
+ python - <<'PY'
20
+ import os
21
+ from huggingface_hub import upload_file
22
+ rid = f"{os.environ.get('HF_USERNAME','deva8217')}/{os.environ.get('HF_DATASET_REPO','tourism-wellness')}"
23
+ tok = os.environ.get("HF_TOKEN") # ok to be None if you are logged in & have write access
24
+ upload_file(
25
+ path_or_fileobj="README.md",
26
+ path_in_repo="README.md",
27
+ repo_id=rid,
28
+ repo_type="dataset",
29
+ token=tok,
30
+ )
31
+ print("✅ README uploaded to", rid)
32
+ PY
33
+