Sharpen

Mastering Python

Read more >

Mastering Pandas

Source: https://www.w3resource.com/python-exercises/pandas/pandas_100_exercises_with_solutions.php

Exercise 1:

Create a DataFrame from a dictionary of lists.

Exercise 2:

Select the first 3 rows of a DataFrame.

Exercise 3:

Select the 'X' column from a DataFrame.

Exercise 4:

Filter rows based on a column condition.

Exercise 5:

Add a new column to an existing DataFrame.

Exercise 6:

Remove a column from a DataFrame.

Exercise 7:

Sort a DataFrame by a column.

Read more >