convert list of multiple json files into a dataframe pandas
This how I parsed multiple json files in a single list base_dir = 'jsons_final_folder/' data_list = [] for file in os.listdir(base_dir): if 'json' in file: json_path = os.path.join(base_dir, file) json_data = pd.read_json(json_path, lines=True) data_list.append(json_data) And I got a list that…