You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this expected behavior? If it is, I am sorry, because this was not clear to me from the docs and I am just wondering why simple assignment via = works and special assignment via += does not...
The text was updated successfully, but these errors were encountered:
Thanks for confirming. Side note: I don't really need the index so pd.concat([s1,s2], ignore_index=True) also is a good approach to circumvent the problem.
yep....thanks for the case though, this already fixed in #3482; basically since Series is a sub-class of ndarray things are pretty tricky; in 0.13 via that PR its going to be a sub-class of NDFrame (which is what DataFrame subclasses); then things like this are much easier
Create a Series with non-unique index:
Assign value by boolean mask:
This has worked. Now add a value by boolean mask:
Is this expected behavior? If it is, I am sorry, because this was not clear to me from the docs and I am just wondering why simple assignment via
=
works and special assignment via+=
does not...The text was updated successfully, but these errors were encountered: