Created
January 18, 2020 22:57
-
-
Save liannewriting/d6cfd7860a5292fbc587a0dab9c9836a to your computer and use it in GitHub Desktop.
sports_betting202001
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
from sklearn.metrics import accuracy_score | |
from sklearn.linear_model import Ridge | |
# load the data. | |
df = pd.read_csv('hockey_games.csv', skiprows=1, names=['date', 'visitor', 'visitor_goals', 'home', 'home_goals']) | |
# make the date column into a date format. | |
df['date'] = pd.to_datetime(df['date'], format='%Y-%m-%d') |
Hi can you be more specific on the error you are getting?
Thanks,
Lianne
… On Dec 10, 2020, at 12:01 AM, maxwellorourke ***@***.***> wrote:
***@***.*** commented on this gist.
why do i get an error when including both from sklearn
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why do i get an error when including both from sklearn