I try to use panda by using this code
dat = pd.DataFrame()
return_data = dat.values().T
And I got error
TypeError
Traceback (most recent call last)
Input In [27], in <cell line: 1>()
----> 1 return_data = dat.values().T
TypeError: 'numpy.ndarray' object is not callable
Try to solve the errors and no idea about error
CodePudding user response:
Replace dat.values().T
by dat.values.T
. This error happens when you call a numpy array as function.