Skip to content

Commit

Permalink
Fix upcast_type_names
Browse files Browse the repository at this point in the history
  • Loading branch information
coroa committed May 12, 2023
1 parent d7e2275 commit 29f1ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pint/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,12 @@ def _to_magnitude(value, force_ndarray=False, force_ndarray_like=False):

#: List upcast type names
upcast_type_names = (
"pint_pandas.PintArray",
"pandas.Series",
"pint_pandas.pint_array.PintArray",
"xarray.core.dataarray.DataArray",
"xarray.core.dataset.Dataset",
"xarray.core.variable.Variable",
"pandas.core.series.Series",
"pandas.core.frame.DataFrame",
"xarray.core.dataarray.DataArray",
)

Expand Down

0 comments on commit 29f1ab0

Please sign in to comment.