What does this implement/fix? Explain your changes.
Extra check during reduce_int_span now calls out to pandas when dealing with a Series. Previously, the np.result_type would return a np.dtype which has no support for nullables, which are allowed by pandas, through something like "Int64"
Reference Issues/PRs
Fixes #134
What does this implement/fix? Explain your changes.
Extra check during
reduce_int_span
now calls out to pandas when dealing with aSeries
. Previously, thenp.result_type
would return anp.dtype
which has no support for nullables, which are allowed by pandas, through something like"Int64"
https://pandas.pydata.org/docs/user_guide/integer_na.html
Minimal Example / How should this PR be tested?
See tests
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.