Skip to content
1 hidden cell
Introduction to Regression with statsmodels in Python
Introduction to Regression with statsmodels in Python
Run the hidden code cell below to import the data used in this course.
1 hidden cell
Take Notes
Add notes about the concepts you've learned and code cells with code you want to keep.
Add your notes here
# Add your code snippets herefrom statsmodels.formula.api import ols
import sklearn
import pandas as pd
marketing_campaign = pd.read_csv('marketing_campaign.csv')
marketing_campaign