Problem 1

Import NumPy under the alias np.

In [ ]:
 

Problem 2

Import pandas under the alias pd.

In [ ]:
 

Problem 3

Given the DataFrame data, remove all of its rows that contain null values using the pandas method discussed in the lesson.

In [ ]:
data = pd.DataFrame(np.array([[np.nan, 8, 12],[np.nan, 16, np.nan],[4, 13, 45]]))
In [ ]:
#Solution goes here

Problem 4

Given the DataFrame data, remove all of its columns that contain null values using the pandas method discussed in the lesson.

In [ ]:
#Solution goes here

Problem 5

Given the DataFrame data, replace all of its null values with 💩 (copy and paste it).

In [ ]:
 

Problem 6

Given the DataFrame data, replace all of its null values with the mean value across the entire DataFrame.

In [ ]: