pyJoules/handler/pandas_handler.py
def trace_to_dataframe(trace: Iterable[EnergySample]) -> pandas.DataFrame:
    """
    convert an energy trace into a pandas DataFrame
    """
    if len(trace) == 0:
        return pandas.DataFrame()

    return pandas.DataFrame(columns=_gen_column_names(trace), data=_gen_data(trace))

    convert an energy trace into a pandas DataFrame
    
convert an energy trace into a pandas DataFrame
convert an energy trace into a pandas DataFrame
def trace_to_dataframe(trace: Iterable[EnergySample]) -> pandas.DataFrame:
    if len(trace) == 0:
        return pandas.DataFrame()
    return pandas.DataFrame(columns=_gen_column_names(trace), data=_gen_data(trace))
def trace_to_dataframe ( trace : Iterable [ EnergySample ] ) -> pandas . DataFrame : if len ( trace ) == 0 : return pandas . DataFrame ( ) return pandas . DataFrame ( columns = _gen_column_names ( trace ) , data = _gen_data ( trace ) )
convert an energy trace into a pandas DataFrame
convert an energy trace into a pandas DataFrame
"""
    convert an energy trace into a pandas DataFrame
    """
trace
Iterable[EnergySample]