This is Jing, a data scientist with great passion for applying data science and big data technology in the industry. Today you are going to learn Pandas with me. I will talk about how to using Pandas to group your data and work with categorical data when you are processing data with python.
Here is a list of functions we will cover today.
- DataFrame.groupby ( )
- Grouped.agg ( )
- Grouped.filter ( )
- Pandas.DataFrame.rank ( )
- Pandas.Series.cat ( )
- Pandas.getdummies ( )
Before we look at each function, we need to create an example dataset so that you could understand the function better through the examples. And import the pandas library as pd which is a name we will use in the following code. Then follows explanation, examples and exercise of each function listed above.
Hope you find it is helpful for you to learn more about Pandas!