Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy delete column

import numpy as np

A = np.delete(A, 1, 0)  # delete second row of A
B = np.delete(B, 2, 0)  # delete third row of B
C = np.delete(C, 1, 1)  # delete second column of C
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #numpy #delete #column
ADD COMMENT
Topic
Name
2+1 =