Grouping dataframe but mean function is not running

52 Views Asked by At
import pandas as pd
df = pd.read_csv(r"E:\Downloads Tab\Flavors.csv")
df

group_by_frame = df.groupby('Base Flavor')
group_by_frame.mean()

The video I'm following shows the exact same syntax and is functioning properly.

Tried restarting but did not make any changes to the syntax

0

There are 0 best solutions below