pandas含有空列表
生活随笔
收集整理的這篇文章主要介紹了
pandas含有空列表
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 7 has 1 dimension(s)
('Lengths must match to compare', 'occurred at index trajs_1')
出現以上兩個錯誤多半是你的數據里含有空列表,可以考慮先替換為None或者0然后進行drop?
總結
以上是生活随笔為你收集整理的pandas含有空列表的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: G-LAB有CCNP题库服务么?
- 下一篇: 产品经理总结——空肥皂盒