groupby without aggregation pandas code example
Example: how can i aggregate without group by in pandas
df.groupby(lambda _ : True).agg(new_col_name = ('col_name', 'agg_function'))
df.groupby(lambda _ : True).agg(new_col_name = ('col_name', 'agg_function'))