awacke1 commited on
Commit
9272318
·
1 Parent(s): 0cf2493

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.name)
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: