Skip to content

Commit 0f0a2b4

Browse files
committed
🐛 add data to repo as upstream removed CSVs
1 parent 98eb041 commit 0f0a2b4

5 files changed

Lines changed: 527 additions & 2 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Prostate Cancer Dataset
2+
3+
From [SurvSet](https://github.com/ErikinBC/SurvSet)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# %%
2+
# pip install SurvSet
3+
4+
# %%
5+
from pathlib import Path
6+
7+
from SurvSet.data import SurvLoader
8+
9+
loader = SurvLoader()
10+
# List of available datasets and meta-info
11+
loader.df_ds.head()
12+
13+
# %%
14+
df, ref = loader.load_dataset(ds_name='prostate').values()
15+
16+
# %%
17+
fname = "prostate.csv"
18+
19+
df.to_csv(fname, index=False)

0 commit comments

Comments
 (0)