Answers for "drop 0 in np array"

0

drop 0 in np array

data = np.zeros(500)
data = data[data!=0]
Posted by: Guest on May-18-2021

Browse Popular Code Answers by Language