We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
x = np.random.randn(2, 2) y = pd.Series(range(2)) y.loc[range(2)] = x # succeeds y.loc[:] = x # fails
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.