Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sklearn fit pandas dataframe

lm.fit(df[['speed', 'weight']], df['result'])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sklearn #fit #pandas #dataframe
ADD COMMENT
Topic
Name
3+1 =