You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
statsmodels.api has a built in method: .add_constant(DataFrame)
It adds a column of 1.0 called 'const' on the left of the DataFrame. This allows you to avoid having to manually create this column using broadcasting.
The text was updated successfully, but these errors were encountered:
People might be interested to know:
statsmodels.api has a built in method: .add_constant(DataFrame)
It adds a column of 1.0 called 'const' on the left of the DataFrame. This allows you to avoid having to manually create this column using broadcasting.
The text was updated successfully, but these errors were encountered: