In [2]:
#Importing the data into a Dataframe using read_csv and seeing its first five rows

data = pd.read_csv('D:/Super Heuristics/Content/Blogposts/Analytics/14 - Introduction to Linear Regression/01 - Introduction to Linear Regression.csv')
data
Out[2]:
Quarter Ad_exp Sales
0 1 24 724
1 2 28 756
2 3 32 782
3 4 39 831
4 5 44 853
5 6 45 860
6 7 54 896
7 8 58 914
8 9 62 924
9 10 65 938
10 11 68 947
11 12 76 971