Challenge - Drop Duplicated Rows on SN

In this challenge, you will solve problems related to Series, such as drop duplicated rows.

Challenge - Drop duplicated rows on SN column and return the total price of male group

In this task, you should do the following things:

  • Load the data to the DataFrame object.
  • Drop those duplicated rows based on SN columns, but keep the last one.
  • Group the data by the Gender column.
  • Get the total price of Male group.

You should return one value.

Get hands-on with 1200+ tech skills courses.