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