Spaces:
Runtime error
Runtime error
felix
commited on
Commit
·
e13d00c
1
Parent(s):
fc5d5f9
fix
Browse files
app.py
CHANGED
@@ -183,8 +183,8 @@ def display(x, y):
|
|
183 |
|
184 |
first_50_rows = subset_df.head(50)
|
185 |
print(first_50_rows.to_string())
|
186 |
-
|
187 |
-
|
188 |
return first_50_rows
|
189 |
|
190 |
INTRODUCTION_TEXT = """
|
|
|
183 |
|
184 |
first_50_rows = subset_df.head(50)
|
185 |
print(first_50_rows.to_string())
|
186 |
+
json_data = first_50_rows.to_json(orient='records')
|
187 |
+
print(json_data) # Print JSON representation
|
188 |
return first_50_rows
|
189 |
|
190 |
INTRODUCTION_TEXT = """
|