Код: Выделить всё
array([[6.575],
[6.421],
[7.185],
[6.998],
[6.43 ],
[6.012],
[6.172],
[5.631],
[6.004],
[6.377],
[6.03 ]])
Код: Выделить всё
array([[6.575, 1],
[6.421, 1],
[7.185, 1],
[6.998, 1],
[6.43, 1],
[6.012, 1],
[6.172, 1],
[5.631, 1],
[6.004, 1],
[6.377, 1],
[6.03, 1]])
Код: Выделить всё
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (506, 2) + inhomogeneous part.Есть идеи?
Подробнее здесь: https://stackoverflow.com/questions/796 ... to-each-si