Seetha commited on
Commit
4eb2d08
1 Parent(s): 31d86a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -539,9 +539,9 @@ def main():
539
  # csv_data = csv.DictReader(f)
540
 
541
  # # Convert the CSV data to a list of dictionaries
542
- data_list = []
543
- for row in df_final1.iterrows():
544
- data_list.append(dict(row))
545
 
546
  # # Convert the list of dictionaries to JSON
547
  json_data = json.dumps(data_list)
 
539
  # csv_data = csv.DictReader(f)
540
 
541
  # # Convert the CSV data to a list of dictionaries
542
+ data_list = []
543
+ for row in df_final1.iterrows():
544
+ data_list.append(dict(row))
545
 
546
  # # Convert the list of dictionaries to JSON
547
  json_data = json.dumps(data_list)