Skip to content

Commit

Permalink
logging for time_encoding_minute
Browse files Browse the repository at this point in the history
  • Loading branch information
rchan26 committed Nov 14, 2023
1 parent 3cedfbc commit 5b83b86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nlpsig/data_preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def _set_time_features(self) -> pd.DataFrame:
[Private] Updates the dataframe in `.df` to include time features:
- `time_encoding`: the date as a fraction of the year
(only if 'datetime' is a column in `.df` dataframe).
- `time_encoding_minute`: the time as a fraction of a minute
- `time_diff`: the difference in time (in minutes) between successive records
(only if 'datetime' is a column in `.df` dataframe).
- `timeline_index`: the index of each post for each id.
Expand Down

0 comments on commit 5b83b86

Please sign in to comment.