I am getting error while converting the numpy array to pandas dataframe.
suppose I am adding the following arrays a
and b
using np.vstack
a=np.array((1,2,3,4))
b=np.array((11,22,33,44))
c=np.vstack((a,b))
pd.DataFrame(c)
The last command give the following error:
TypeError: 'numpy.ndarray' object is not callable
Where could be the mistake here?