-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Description
Is your feature request related to a problem? Please describe.
For example, you want to create lag features of sales for a retail chain, but taking into account the stores, product categories, and date. It's widespread to create lag features taking into consideration the hierarchy or grouping levels.
Describe the solution you'd like
I would like the la feature creation but apply groups by different columns in the data frame.
Describe alternatives you've considered
An alternative solution would be to create a sklearn transformer class to apply the groupby and lag functions of pandas.
Here is an example of what I'm talking about using pandas: https://www.statology.org/pandas-lag-by-group/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels