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
df = DataFrame({"A": [1, 2, 3]}, index=list("abc"))
>>> df.at[0]
ValueError: At based indexing on an non-integer index can only have non-integer indexers
>>> df.loc[0]
TypeError: cannot do label indexing on <class 'pandas.core.indexes.base.Index'> with these indexers [0] of <class 'int'>
I would expect these to behave the same.
The text was updated successfully, but these errors were encountered:
I would expect these to behave the same.
The text was updated successfully, but these errors were encountered: