Avatarr05 commited on
Commit
94ab475
·
verified ·
1 Parent(s): bcadca2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -68,5 +68,16 @@ These files follow the same format as the previous set but are pre-split for mac
68
  >
69
  > To work effectively with this dataset, we recommend using the **Hugging Face `datasets` library** or the **MLCroissant Python library** for programmatic access and exploration.
70
 
 
 
 
 
 
 
 
 
 
 
 
71
  license: cc-by-nc-4.0
72
  ---
 
68
  >
69
  > To work effectively with this dataset, we recommend using the **Hugging Face `datasets` library** or the **MLCroissant Python library** for programmatic access and exploration.
70
 
71
+ ```
72
+ from datasets import load_dataset
73
+
74
+ # Login using e.g. `huggingface-cli login` to access this dataset
75
+ ds = load_dataset("Avatarr05/GreenHyperSpectra", "labeled_all")
76
+
77
+ df = ds['train'].to_pandas().drop(['Unnamed: 0'], axis=1)
78
+ display(df.head())
79
+ ```
80
+
81
+
82
  license: cc-by-nc-4.0
83
  ---