I am getting error "TypeError: 'numpy.ndarray' object is not callable" for the following code:
print (labels.values())
"labels" is a pandas dataframe.
Try
print (labels.values)
instead of
Because you are using values as a function here, it's giving error.