Skip to main content

Documentation Index

Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt

Use this file to discover all available pages before exploring further.

Group the events by a column. Use this method to form the grouped data for ranking models.

Parameters

ParameterTypeRequiredDefaultDescription
dfDataFrameNoneThe dataframe with flat data
group_by_colstrNoneThe column to group the data by
output_path`PathstrNone`

Returns

Dataframe in grouped format Return type: pd.DataFrame

Examples

COLUMN_NAME = 'col_2'

grouped_df = group_by(df=df, group_by_col=COLUMN_NAME)