Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def combine_responses_into_one(directory_path):
|
|
| 113 |
|
| 114 |
def convert_json_to_csv(file_name):
|
| 115 |
json_data_df = pd.read_json(file_name)
|
| 116 |
-
|
| 117 |
|
| 118 |
# columns = [ 'title', 'keywords', 'creator', 'description', 'content', 'pubDate', 'country', 'category', 'language', 'file_keyword' ]
|
| 119 |
columns = [ 'title', 'pubDate', 'content', 'country', 'category', 'language' ]
|
|
|
|
| 113 |
|
| 114 |
def convert_json_to_csv(file_name):
|
| 115 |
json_data_df = pd.read_json(file_name)
|
| 116 |
+
json_data_df.head()
|
| 117 |
|
| 118 |
# columns = [ 'title', 'keywords', 'creator', 'description', 'content', 'pubDate', 'country', 'category', 'language', 'file_keyword' ]
|
| 119 |
columns = [ 'title', 'pubDate', 'content', 'country', 'category', 'language' ]
|