numpy delete all elements code example Example: remove all the elements from a numpy array python np_array = np.array([])