您当前的位置: 首页 > 
  • 1浏览

    0关注

    2393博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

成功解决ValueError: ‘usecols‘ must either be list-like of all strings, all unicode, all integers or a ca

一个处女座的程序猿 发布时间:2020-10-24 00:35:18 ,浏览量:1

成功解决ValueError: 'usecols' must either be list-like of all strings, all unicode, all integers or a callable.

 

 

 

目录

解决问题

解决思路

解决方法

 

 

 

解决问题

ValueError: 'usecols' must either be list-like of all strings, all unicode, all integers or a callable.

 

解决思路

值错误:'usecols'必须是类似列表的所有字符串,所有unicode,所有整数或可调用。

 

 

 

解决方法

经过将字段输出,可发现,后边有空字段,直接去掉带有“nan”的空字段即可! [ 'column01', 'column02', 'column03', nan, nan, nan]

 

 

 

 

关注
打赏
1664196048
查看更多评论
立即登录/注册

微信扫码登录

0.0905s