Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loc #270

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
14 changes: 13 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@ pint-pandas Changelog
=====================


0.7 (unreleased)
0.8 (unreleased)
--------------------

nothing yet


0.7.1 (2025-01-06)
--------------------

- Fix bug preventing assignment via .loc fails for subsets of columns


0.7 (2025-01-04)
--------------------

- Added `__array_function__` support for numpy fuctions like clip.
Expand Down
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
Loading