convnwb.io.io.load_jsons_to_df

convnwb.io.io.load_jsons_to_df(files, folder=None)[source]

Load a collection of JSON files into a dataframe.

Parameters:
fileslist of str or str or Path

If list, should be a list of file names to load. If str or Path, should be a folder name, from which all JSON files will be loaded.

folderstr or Path, optional

Folder location to load the files from. Only used if files is a list of str.

Returns:
dfpd.DataFrame

A dataframe containing the data from the JSON files.