Skip to content

Commit

Permalink
update fit_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCurrin committed Sep 29, 2021
1 parent 071608b commit ff8e9ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dayliopy/fit_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def prepare_data(df):
@return df: Dataframe of encoded data.
"""
# FIXME: KeyError: "[('timestamp', 'date', 'weekday_label', 'mood_label', 'note')] not found in axis"
# Remove time and text columns not needed for training.
df.drop(DROP_COLUMNS, axis=1, inplace=True)

Expand Down

0 comments on commit ff8e9ef

Please sign in to comment.