Skip to content

Commit

Permalink
Update src/timeseriesflattener/specs/timedelta.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HLasse authored Sep 2, 2024
1 parent 0c7413f commit 95608f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timeseriesflattener/specs/timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TimeDeltaSpec:
output_name: str
column_prefix: str = "pred"
time_format: Literal["seconds", "minutes", "hours", "days", "years"] = "days"
"""Specification for a time delta featre for an entity, i.e. the time between a prediction timestamp and a birthdate.
"""Specification for a time delta feature for an entity, i.e. the time between a prediction timestamp and a value timestamp (e.g. a birthdate).
Useful for e.g. calculating age or the time since a certain event. Joins on the entity_id column.
init_frame must contain columns:
Expand Down

0 comments on commit 95608f3

Please sign in to comment.