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

get histogram from rust polars (not python API) #15277

Open
wangjiawen2013 opened this issue Mar 25, 2024 · 3 comments
Open

get histogram from rust polars (not python API) #15277

wangjiawen2013 opened this issue Mar 25, 2024 · 3 comments
Labels
enhancement New feature or an improvement of an existing feature

Comments

@wangjiawen2013
Copy link

Description

Hi,
Now there are some ways to get histogram using polars python API, such as series.hist(). Is there an equvialent rust polars api ?

@wangjiawen2013 wangjiawen2013 added the enhancement New feature or an improvement of an existing feature label Mar 25, 2024
@mcrumiller
Copy link
Contributor

mcrumiller commented Mar 25, 2024

The rust side has expr.hist but no series.hist.

@ritchie46 I know there is a general aversion to Series API creep but this one seems fairly useful for exploratory analysis, what do you think?

@wangjiawen2013
Copy link
Author

wangjiawen2013 commented Mar 26, 2024

Where can I find the documentation on expr.hist ? I have searched on polars docs (https://docs.rs/polars/latest/polars/), but cannot find it.

@wangjiawen2013
Copy link
Author

It's also python API ?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants