Skip to content
Commit aee86d0a authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa.analysis.tasks: Use lisa.datautils.df_split_signals()

Avoid this pattern:
    values = df.col.unique()
    for value in values:
        sub_df = df[df.col == value]
        ...

Instead, use pandas groupby through df_split_signals:
    for cols, sub_df in df_split_signals(df, [col]):
        ...
parent 99e6ec2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment