2D numpy array showing to be zero dimensional array

前端 未结 0 1972
情歌与酒
情歌与酒 2020-12-13 07:20

I have a 2D numpy array, but when I call .shape on it, it says the array is 0D. When I use .shape before applying OneHotEncoder, it shows the correct shape of my array. Howe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题