Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pint/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ def _to_magnitude(value, force_ndarray=False, force_ndarray_like=False):
"xarray.core.variable.Variable",
"pandas.core.series.Series",
"pandas.core.frame.DataFrame",
"xarray.core.dataarray.DataArray",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to delete this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, reverted

"pandas.Series",
"pandas.DataFrame",
)

#: Map type name to the actual type (for upcast types).
Expand Down