datamuxer.dataframe_to_dict

datamuxer.dataframe_to_dict(df)[source]

Turn a DataFrame into a dict of lists.

Parameters:df (DataFrame) –
Returns:
  • index (ndarray) – The index of the data frame
  • data (dict) – Dictionary keyed on column name of the column. The value is one of (ndarray, list, pd.Series)