You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running following cell:
exercise = pd.read_csv('data/exercise.csv')
calories = pd.read_csv('data/calories.csv')
df = pd.merge(exercise, calories, on = 'User_ID')
df = df[df['Calories'] < 300]
df = df.reset_index()
df['Intercept'] = 1
df.head()
KeyError: 'User_ID'
When I inspect data/exercise.csv, it only reads following:
version https://git-lfs.github.com/spec/v1
oid sha256:aaae7b1c1502cab499ef7b68ddc118d13596b47855968a142a6db1424eba13c9
size 230245
I guess the data from csv is missing.
The text was updated successfully, but these errors were encountered:
When running following cell:
exercise = pd.read_csv('data/exercise.csv')
calories = pd.read_csv('data/calories.csv')
df = pd.merge(exercise, calories, on = 'User_ID')
df = df[df['Calories'] < 300]
df = df.reset_index()
df['Intercept'] = 1
df.head()
KeyError: 'User_ID'
When I inspect data/exercise.csv, it only reads following:
version https://git-lfs.github.com/spec/v1
oid sha256:aaae7b1c1502cab499ef7b68ddc118d13596b47855968a142a6db1424eba13c9
size 230245
I guess the data from csv is missing.
The text was updated successfully, but these errors were encountered: