pub fn convert_dataframe_to_log(df: &DataFrame) -> Result<EventLog, PolarsError>
Expand description
Convert Polars DataFrame
to EventLog
- Extracts attributes as Strings (converting other formats using debug format macro)
- Assumes valid
EventLog
structure ofDataFrame
(i.e., assuming thatPREFIXED_TRACE_ID_NAME
is present)
Note: This function is only available if the dataframes
feature is enabled.