8000 NumPyBackedExtensionArray by TomAugspurger · Pull Request #24227 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

NumPyBackedExtensionArray #24227

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

Merged
merged 16 commits into from
Dec 28, 2018
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Remove check
  • Loading branch information
TomAugspurger committed Dec 27, 2018
commit d38fd19a6ec4298bddecd511c8ae2122cd84188c
3 cha 80E5 nges: 0 additions & 3 deletions pandas/core/arrays/numpy_.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ def __setitem__(self, key, value):

if not lib.is_scalar(key) and is_list_like(key):
key = np.asarray(key)
if not len(key):
# early return to avoid casting unnecessarily.
return

if not lib.is_scalar(value):
value = np.asarray(value)
Expand Down
0