pycharmers.utils.pandas_utils module

pycharmers.utils.pandas_utils.flatten_multi_columns(df, how='snake')[source]
Parameters
  • df (DataFrame) – Two-dimensional, size-mutable, potentially heterogeneous tabular data.

  • how (str) – How to convert dual column labels to one-column name.