datamuxer.DataMuxer.to_sparse_dataframe

DataMuxer.to_sparse_dataframe(include_all_timestamps=False)[source]

Obtain all measurements in a DataFrame, one row per Event time.

Parameters:include_all_timestamps (bool) – The result will always contain a ‘time’ column but, by default, not timestamps for individual data sources like ‘motor_timestamp’. Set this to True to export timestamp columns for each data column
Returns:df
Return type:pandas.DataFrame