Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created December 23, 2020 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/32bd5437cd12fc8b99de6b1c20e00da4 to your computer and use it in GitHub Desktop.
Save amankharwal/32bd5437cd12fc8b99de6b1c20e00da4 to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
%matplotlib inline
import warnings
warnings.filterwarnings('ignore')
from sklearn.linear_model import LinearRegression
df = pd.read_csv("gold_price.csv", parse_dates=True, index_col='Date')
df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment