sklearn fit pandas dataframe

lm.fit(df[['speed', 'weight']], df['result'])
Plif Plouf