Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enh]: cumulative features #1371

Open
1 of 5 tasks
FBruzzesi opened this issue Nov 13, 2024 · 0 comments
Open
1 of 5 tasks

[Enh]: cumulative features #1371

FBruzzesi opened this issue Nov 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@FBruzzesi
Copy link
Member

FBruzzesi commented Nov 13, 2024

We would like to learn about your use case. For example, if this feature is needed to adopt Narwhals in an open source project, could you please enter the link to it below?

Cumulative features, together with forward fill and some other checks/hacks, would most likely be enough to enable the equivalent of pandas expanding operations. This is a requirement to complete plotly/plotly.py#4834.

Please describe the purpose of the new feature or describe the problem to solve.

List of cumulative expressions supported by polars:

With these, we would enable the following additional univariate expanding operations: mean, var, std, skew, kurt.

What's left out is: median, quantile, sem, rank (entire pandas expanding window function list).

@MarcoGorelli MarcoGorelli added the enhancement New feature or request label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants