felix commited on
Commit
1806f33
1 Parent(s): c75c5be
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -178,8 +178,8 @@ def display(x, y):
178
  for column in original_df.columns:
179
  if original_df[column].dtype == 'object':
180
  original_df[column] = original_df[column].apply(remove_invalid_unicode)
181
- #json_data = original_df.to_json(orient='records')
182
- #print(json_data) # Print JSON representation
183
  return original_df
184
 
185
  INTRODUCTION_TEXT = """
 
178
  for column in original_df.columns:
179
  if original_df[column].dtype == 'object':
180
  original_df[column] = original_df[column].apply(remove_invalid_unicode)
181
+ json_data = original_df.to_json(orient='records', columns=COLS)
182
+ print(json_data) # Print JSON representation
183
  return original_df
184
 
185
  INTRODUCTION_TEXT = """