jade.utils.dataframe_utils.read_dataframes_by_substrings

jade.utils.dataframe_utils.read_dataframes_by_substrings(directory, substrings, index_col=None, parse_dates=False, **kwargs)[source]

Return dataframes for files in the directory.

Parameters:
  • directory (str)

  • substrings (tuple) – File substring (str) for output files

  • index_col (str | int | None) – Index column name or index

  • kwargs (kwargs) – Passed to underlying library for dataframe conversion.

Returns:

dictionary of substring to pd.DataFrame

Return type:

dict