Solution was linked on reshaped method on documentation page.
Insted of Y.reshape(-1,1)
you need to use:
Y.values.reshape(-1,1)
Solution was linked on reshaped method on documentation page.
Insted of Y.reshape(-1,1)
you need to use:
Y.values.reshape(-1,1)