import numpy as np
a = [[1,2,3], [4,5,6], [7,8,9]]
a = np.array(a)
print a[:, 0]
print a[:, [0,2]]
a = np.delete(a, -1, 1)
print a
af1462ac61699026d64d07bb8d7765a0195da12d
import numpy as np
a = [[1,2,3], [4,5,6], [7,8,9]]
a = np.array(a)
print a[:, 0]
print a[:, [0,2]]
a = np.delete(a, -1, 1)
print a