This is an online compiler that supports the NumPy library..

#Programm to show use of numpy.isnan() method
import numpy as np
# Returns True/False value elementwise
b = np.arange(25).reshape(5, 5)
print("\nIs NaN: \n", np.isnan(b))
c = [[1,2,3],
[np.nan,2,2]]
print("\nIs NaN: \n", np.isnan(c))

If the code takes user input, put it here. For multiple inputs, one per line

NumPy is a widely used Python library that supports large, multidimensional arrays and metrics. Using NumPy, you can perform operations using a large collection of high-level mathematical functions to operate on arrays.

For scientific computing, linear algebra NumPy is the most loving library. It is very fast as it has binding C libraries in the backend.