DataMuxer
datamuxer.DataMuxer
datamuxer.DataMuxer.bin_by_edges
datamuxer.DataMuxer.bin_on
datamuxer.DataMuxer.from_events
datamuxer.DataMuxer.to_sparse_dataframe
datamuxer.ColSpec
datamuxer.dataframe_to_dict
datamuxer.BinningError
datamuxer.BadDownsamplerError
DataMuxer
Docs
»
datamuxer.dataframe_to_dict
View page source
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)