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

Datasource panel's column chart is aggregated on the backend #3105

Open
mscolnick opened this issue Dec 10, 2024 · 0 comments
Open

Datasource panel's column chart is aggregated on the backend #3105

mscolnick opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@mscolnick
Copy link
Contributor

mscolnick commented Dec 10, 2024

Description

Similar to #3104

Currently we send up to 20k rows of data to the frontend to aggregate columns summaries. This aggregation happens in vega-lite and can cause memory issues and slowdowns.

Suggested solution

We would like to move this aggregation to the backend either using vega-fusion (if installed) or narwhals.Expr.hist (if/when implemented).

Alternative

No response

Additional context

This could help: narwhals-dev/narwhals#1561

@mscolnick mscolnick added the enhancement New feature or request label Dec 10, 2024
@mscolnick mscolnick added this to the marimo 1.0.0 milestone Dec 10, 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

1 participant