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
2 Answers
+ 1
You can add a third parameter in np.delete () indicating the axis 0 or 1:
arr = np.delete(arr,2,1)
0
IĂAmĂIdiot thanks dude.