-
Notifications
You must be signed in to change notification settings - Fork 42
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
"ValueError: fill_value must be a scalar" when concatenating columns requiring fill #165
Comments
Actually, it may depend on the registry... It seems that both are ultimately an effect of |
|
Indeed, it is |
The following MWE shows the issue:
With "normal" pint columns, the code works as expected. I partially traced the error down to
pint-pandas/pint_pandas/pint_array.py
Line 475 in c58a7fc
which seems to create a 0-d numpy array instead of a numpy scalar.
This may be an impact of a recent change in either pint_pandas or numpy; I already observed that my
int(round(some_quantity/other_quantity_of_same_dim))
started to fail and now require aint(round(float(...)))
construct.The relevant versions in my environment are:
The text was updated successfully, but these errors were encountered: