# How to Remove columns 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, np.nan],                  [41, 52.5, np.nan]])  print("Given array:")print(n_arr)  print("\nRemove all columns containing non-numeric elements ")print(n_arr[:, ~np.isnan(n_arr).any(axis=0)])