Lag is a transform that enables the retrieval of the preceding value associated with a particular entity in a view.
This makes it feasible to compute essential features, such as those that depend on inter-event time and the proximity to the previous point.
- entity_columns: Union[str, List[str]]
Entity columns used when retrieving the lag value.
- offset: int
The number of rows backward from which to retrieve a value.
If a lag operation has already been applied to the column.
Get a ChangeView to track changes in Customer's State.
Create a new column that indicates the prior past_State for a Customer