import numpy as np arr = np.array([1, 2, 3, 4, 5]) remove_indices = [1, 3] new_arr = np.delete(arr, remove_indices, axis=1) print(new_arr)