Skip to content

Commit

Permalink
subdtypes coerce
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Aug 26, 2024
1 parent 1dcc66d commit 6180e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pint_pandas/pint_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ def convert_values(param):

if coerce_to_dtype:
try:
res = cls.from_1darray_quantity(res)
res = cls.from_1darray_quantity(res, self.dtype.subdtype)
except TypeError:
pass

Expand Down

0 comments on commit 6180e2a

Please sign in to comment.