loc vs iloc in pandas
`loc` selects by labels and `iloc` selects by integer position.
- loc uses labels
- iloc uses zero-based positions
- Slices behave differently for labels vs positions
loc vs iloc in pandas
Tagged with dataframe
`loc` selects by labels and `iloc` selects by integer position.
loc vs iloc in pandas
`merge` combines rows by key columns, `join` is index-oriented sugar, and `concat` stacks objects along an axis.
merge vs join vs concat in pandas
A Series is one labeled column, while a DataFrame is a 2D labeled table of columns.
Series vs DataFrame in pandas