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
Looks like both the previously successful assignment now fails. Could use a test.
In [118]: y.loc[range(2)] = x
ValueError: shape mismatch: value array of shape (2,2) could not be broadcast to indexing result of shape (2,)
In [119]: pd.__version__
Out[119]: '0.26.0.dev0+652.g30362ed82'
A small, complete example of the issue
Expected Output
Since we're assigning a 2D array to a 1D vector that is smaller than the raveled array, I would expect both assignments to fail.
The text was updated successfully, but these errors were encountered: