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.
The code below works correctly.
df=pd.DataFrame([[1,2],[3,4]]) df.iloc[np.array([0])]
But the code below raises an error.
df.iloc[np.array(0)]
TypeError: object of type 'numpy.int64' has no len()