Skip to content

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 here
from statsmodels.formula.api import ols
import sklearn
import pandas as pd
marketing_campaign = pd.read_csv('marketing_campaign.csv')
marketing_campaign