Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ JSONOBJ = """{"items":{"item":[{"id": "0001","type": null,"is_good": false,"ppu"
|
|
31 |
|
32 |
|
33 |
def profile_dataset(dataset=datasetSNOMED, username="awacke1", token=HF_TOKEN, dataset_name="awacke1/SNOMED-CT-Code-Value-Semantic-Set.csv"):
|
34 |
-
df = pd.read_csv(dataset.
|
35 |
if len(df.columns) <= 15:
|
36 |
profile = pp.ProfileReport(df, title=f"{dataset_name} Report")
|
37 |
else:
|
|
|
31 |
|
32 |
|
33 |
def profile_dataset(dataset=datasetSNOMED, username="awacke1", token=HF_TOKEN, dataset_name="awacke1/SNOMED-CT-Code-Value-Semantic-Set.csv"):
|
34 |
+
df = pd.read_csv(dataset.Description)
|
35 |
if len(df.columns) <= 15:
|
36 |
profile = pp.ProfileReport(df, title=f"{dataset_name} Report")
|
37 |
else:
|