Useful Methods and Operations
Let’s learn about some useful methods and selecting data from DataFrames using pandas.
Useful methods
There are lots of options to explore that are available in pandas, including describe()
, which gives the basic statistics on our data. We have already covered some of them, like head()
, isnull()
, dropna()
, fillna()
, and others.
In this lesson, we’ll explore some more general-purpose operations and revise what we’ve learned in the previous lessons.
Let’s create a DataFrame to get hands-on experience with these operations. We’ll repeat some values and also generate NaN
in our DataFrame.
Get hands-on with 1400+ tech skills courses.