Repository navigation
Is it possible to Combine grouped and non-grouped tfms? #644
Jack Rodenberg (jrodenberg0)
started this conversation in
Ideas
Replies: 2 comments
|
Makes a lot of sense. I think we can open an issue for this and work on this. There has been some discussion about the current groupby implementation and some changes I think. Let's start with opening an issue and then we can see how to best implement it. |
0 replies
|
I second this, I have the same exact use case and frequently use the ratio of mean/quantile of individual series over the same aggregation across a group I think this should be allowed and would not conflict with any implementation of the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Just inquiring if its possible to combine grouped and non-grouped tfms in the combine class, I see this ISN'T possible due to validation but what would need to change to allow this? (Outside of inheriting combine and overriding the validations)
jan rathfelder (@janrth)
Is this something I could help implement? Would be useful in retail environments were we want to see how a unique_id specific rolling mean would diverge from a category rolling mean as an example. If my understanding of groupby or global_ is incorrect, please enlighten!
`class Combine(_BaseLagTransform):
"""Combine two lag transformations using an operator
All reactions