sklearn fit pandas DataFrame

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