TypeError: can only concatenate str (not “int“) to str,cannot convert the series to <class ‘int‘>
TypeError: cannot convert the series to <class ‘int’>TypeError: can only concatenate str (not “int”) to str今天在学习python遇到两个报错,这两个报错其实都算是字符格式的错误,因为字符不一致所以无法相加。如果仅仅是普通的两个字符相加,我们仅需换成同样的字符既可以1 + “1” #这是错的,因为格式不一致如果想等于2,需要换成整数的类型,仅需1 + int(&q