# How to Remove rows in Numpy array that contains non-numeric values in Python # Importing Numpy moduleimport numpy as np  # Creating 2X3 2-D Numpy arrayn_arr = np.array([[10.5, 22.5, 3.8],                  [41, np.nan, np.nan]])  print("Given array:")print(n_arr)  print("\nRemove all rows containing non-numeric elements")print(n_arr[~np.isnan(n_arr).any(axis=1)])