Here I have 2 arrays,
First array (arr1) :
array([[ 4.],[ 4.],[ 2.],[ 3.]])
Second array (arr2) :
array([[ 7.],[ 7.],[ 8.],[ 8.]])
I want to make a new dataframe from the two arrays, so it looks like this :
arr1 arr2 4 7 4 7 2 8 3 8
I already made code like this, but it didn't work,
df = pd.DataFrame({'arr1':arr1, 'arr2':arrr2}, index=[0])
It says error : Exception: Data must be 1-dimensional
Thanks!