Write code that will correctly compare two different dataframes (excluding NaN and string values): p['Speed']] boosted_p['Speed'] using the stats.f_oneway method in Python
def anova(df): cat = df.select_dtypes(include=['object']).columns num = df.select_dtypes(include=['float64']).columns num = num.drop('Time') all_columns = num f, p = stats.f_oneway(df[all_columns].values) return f, p