tablica Python 2d to DataFrame
df = pd.DataFrame(numpy_array,
columns=['digits',
'words'])
Fabrice Hategekimana
df = pd.DataFrame(numpy_array,
columns=['digits',
'words'])
a = np.array(s.values.tolist())
print (a)
[[ 0. 0.]
[ 0. 0.]
[ 0. 0.]
[ 0. 0.]
[ 0. 0.]]