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

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +14 -22
README.md CHANGED
@@ -1,33 +1,25 @@
 
 
 
 
 
 
 
 
 
 
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
-
 
1
+ ---
2
+ pretty_name: Wellness Tourism — Customer Propensity
3
+ license: other
4
+ language: en
5
+ tags: [tabular, classification, propensity, tourism]
6
+ task_categories: [tabular-classification]
7
+ task_ids: [binary-classification]
8
+ size_categories: [1K<n<10K]
9
+ ---
10
+
11
  # Wellness Tourism — Customer Propensity Dataset
12
 
13
+ **Task:** Binary classification (`ProdTaken`: 0/1) to predict purchase of the Wellness Package.
14
 
15
  ## Files
16
  - `raw/tourism.csv`
17
  - `processed/train.csv`, `processed/test.csv`
18
 
19
+ ## Quick start
20
  ```python
21
  from huggingface_hub import hf_hub_download
22
  import pandas as pd
23
  p = hf_hub_download("deva8217/tourism-wellness", "processed/train.csv", repo_type="dataset")
24
+ df = pd.read_csv(p)
25
+ df.head()