remove last value from list python column pandas code example Example: python array delete last column b = np.delete(a, -1, axis=1)