spac.data_utils.load_csv_files(file_names)[source]

Read the csv file(s) into a pandas dataframe.

Parameters:

file_names (str or list) – A list of csv file paths to be combined into single list of dataframe output

Returns:

A pandas dataframe of all the csv files. The returned dataset will have an extra column called “loaded_file_name” containing source file name.

Return type:

pandas.dataframe