sklearn fit panda DataFrame

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