question archive Make a function 'eliminarrows' that receives a 2D array (matrix) and integer n
Subject:Computer SciencePrice: Bought3
Make a function 'eliminarrows' that receives a 2D array (matrix) and integer n. It should return the original array, but remove the last n rows. If n is greater than or equal to the number of rows it should return np.nan (not a number).