jade.utils.dataframe_utils.read_dataframe_handle_missing

jade.utils.dataframe_utils.read_dataframe_handle_missing(filename, index_col=None, columns=None)[source]

Convert filename to a dataframe. Returns None if the file is missing.

Parameters:
  • filename (str)

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

  • columns (list or None) – Use these columns if the file is CSV and does not define them.

Return type:

pd.DataFrame | None