Indexing and Selection

This lesson will focus on how to view, add, and rename columns of a Pandas dataframe.

Indexing is the technique of efficiently retrieving records from data based on some criteria that the data has been arranged by. As we saw in the previous lesson, the data is organized in rows and columns in a dataframe. So, we can index data using the positions and names of these rows and columns. Now let’s see how to select rows and columns from the data.

Get hands-on with 1200+ tech skills courses.