考勤运行提示‘Length of values (115) does not match length of index (116) >>> ’

源码

df['餐补'] = money_list

解决思路:
1.分别打印输出两个字段长度
考勤运行提示‘Length of values (115) does not match length of index (116) >>> ’

考勤运行提示‘Length of values (115) does not match length of index (116) >>> ’

本来以为是每个月的文件格式不一致导致有的文件好用有的文件不好用

经过耐心查看代码

前面的算法统计有一个本应该《=,写成>,正好这个月有一条数据卡在中间,导致两个变量的数对不上

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2021-12-24
猜你喜欢
  • 2021-06-20
  • 2022-01-11
相关资源
相似解决方案