-
Notifications
You must be signed in to change notification settings - Fork 6
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
KeyError when 'dask_histogram.boost.Histogram().Fill()' with dask dataframe #161
Comments
This problem stems from the new dask.dataframe backend that is based on dask-expr; dask-histogram isn't compatible at this time. More info here: #130 The code will work with the Dask config environment variable |
I added your suggestion to my code, but it solved nothing, and I still have the same error message. |
Can you share more details? Did you export the environment variable or use the dask.config API? |
I tried with the dask.config AP |
Hmm yeah I can only make it work with the env variable but not with the config; maybe it's an artifact of mixing dask-histogram & dask.dataframe, I'm not sure. That's probably another independent issue. But anyway, this is the workaround for now:
|
Dear experts,
I am starting to use
dask
anddask_histogram
, but I am facing an error when I want to fill adask_histogram.boost
with adataframe
as below:This example gives me :
Is It really possible to fill a histogram from a data frame?
I currently use:
Name: dask-histogram
Version: 2024.12.1
Name: dask
Version: 2024.12.1
Name: boost_histogram
Version: 1.4.1
The text was updated successfully, but these errors were encountered: