I'm new to this, so this is probably a basic question, but how do I remove values from my array that are less than 0?
So, if
a=np.random.randint(-10,11,(10,10))
How would I create an array with only the positive values from a? thanks
Aucun commentaire:
Enregistrer un commentaire