-1

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

0

1 Answer 1

3

Replace dat.values().T by dat.values.T. This error happens when you call a numpy array as function.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.