TypeError: '>' not supported between instances of 'str' and 'int' in pandas

后端 未结 0 2096
旧时难觅i
旧时难觅i 2020-12-10 12:13

I am comparing two columns in a pandas DF, A and B like this:

df[\'A\'].gt(df[\'B\'])

but get this error:

TypeError: \'>\' not supp

相关标签:
回答
  • 消灭零回复
提交回复
热议问题