Source Code:
(back to article)
import numpy as np a = np.array([1, 2, 3, 4, 5]) b = np.delete(a, [2, 3]) print(b)
Result:
Report an issue