You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like when two or more geoms are plotted and the input data is a Pandas IntegerArray, specifically a pandas.Int64Dtype. It's throwing the TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' error.
Found this out because for some reason my database driver's "to pandas" feature returns 64 bit int columns as this type instead of as a numpy.int64.
pandas Extension Arrays (IntegerArray) are a challenge. Their abstraction is leaky, so they have many edge cases.
In this case, the core problem is that they Int64Dtype cannot be cast to an equivalent numpy dtype. It falls back to dtype=object, and this dtype does not permit certain options.
It looks like when two or more geoms are plotted and the input data is a Pandas IntegerArray, specifically a
pandas.Int64Dtype
. It's throwing theTypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
error.Found this out because for some reason my database driver's "to pandas" feature returns 64 bit int columns as this type instead of as a
numpy.int64
.The text was updated successfully, but these errors were encountered: