AttributeError: 'NoneType' object has no attribute 'find'

 

 

 

 遇到这个问题是因为读取excel表格的数据时默认是str类型,但是excel有空行时,类型读取为NoneType,如果把类型转换为str或者把excel里的空行删掉就不会有这个问题

 

 

posted @ 2019-12-26 11:37  是王姑娘阿  阅读(17020)  评论(2)    收藏  举报