불친절한 블로그

[Error] string indices must be integers 본문

Etc/Error

[Error] string indices must be integers

오누! 2020. 3. 31. 13:59
반응형

print(i,"+++",mr_ymd['mr_ymd'].iloc[i]) 를 찍었을때

string indices must be integers에러가 발생했다.

변수를 이어붙일때 변수의 타입에 따라서 붙이는 방법이 다르다.

print(i,"+++",cust_no_1,"+++",mr_ymd_1,"+++",total)

0 +++ 0231321441 +++ 20190101 +++ 1175.58

반응형
Comments