0

How to delete whole column from an array?

I use this code to do this. Is there any appropriate way to do this task? https://code.sololearn.com/cJMniZ2Mq4j2/?ref=app

21st May 2020, 6:03 PM
Lerninn
2 Réponses
+ 1
You can add a third parameter in np.delete () indicating the axis 0 or 1: arr = np.delete(arr,2,1)
21st May 2020, 6:30 PM
4lx
4lx - avatar
0
I×Am×Idiot thanks dude.
21st May 2020, 6:52 PM
Lerninn