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
The problem here is that using a single index into a DataFrame retrieves columns by index rather than rows, which several folks in #1200 have noted is rather odd. I'm going to close this and further discussion can happen in #1200 should there be anything else to add. Thanks!
I know dataframes is more column focused...
If I have a dataframe
df
and then use
it return the first three rows.
If I do:
I get the first three columns. This is a bit confusing to me.
If it is more column focused shouldn't it be
in the first place? I know that would be breaking.
The other variant would be:
get the first three rows and
might return those columns. If I mention an integer it is most of the time the row and not the column which can be retrieved by name.
The text was updated successfully, but these errors were encountered: