Skip to content

Are histograms implemented in the pandas backend? #4769

Closed Answered by ogrisel
argenisleon asked this question in Q&A
Discussion options

You must be logged in to vote

I think the error is pretty explicit: this feature does not exist for this backend (yet).

If you use a recent enough version of ibis, you can use the duckdb backend on your Pandas dataframe via the ibis.memtable function:

import ibis
import pandas as pd
table = ibis.memtable(pd.DataFrame({"a": range(100)}))
table["a"].histogram(nbins=10).execute()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cpcloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants