diff --git a/src/nlpsig/data_preparation.py b/src/nlpsig/data_preparation.py index ed22456..4278eaa 100644 --- a/src/nlpsig/data_preparation.py +++ b/src/nlpsig/data_preparation.py @@ -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.