Well done!
You have completed Introduction to NumPy Library and Its Operations Quiz!
Quiz Question 1 of 5
Given an array with missing values, what will the following code snippet return?
import numpy as np
arr = np.array([1, np.nan, 3, np.nan, 5])
mean_value = np.nanmean(arr)
print(mean_value)
Choose the correct answer below: