# Write a Python program to Filter out integers from float numpy array # Python code to demonstrate# filtering integers from numpy array# containing integers and floatimport numpy as np# initialising arrayini_array = np.array([1.0, 1.2, 2.2, 2.0, 3.0, 2.0])# printing initial arrayprint ("initial array : ", str(ini_array))# filtering integersresult = ini_array[ini_array != ini_array.astype(int)]# printing resultantprint ("final array", result)