Skip to content

Commit

Permalink
fix loc
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Jan 6, 2025
1 parent 8c2fc78 commit 2da273d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bors.toml

This file was deleted.

2 changes: 2 additions & 0 deletions pint_pandas/pint_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ def _convert_np_result(self, result):
return result
elif pd.api.types.is_bool_dtype(result):
return result
elif isinstance(result, numbers.Number):
return result
else:
# one return value
return type(self)(result)
Expand Down

0 comments on commit 2da273d

Please sign in to comment.