Keyerror where pandas column iname is an interger

后端 未结 0 1125
忘了有多久
忘了有多久 2020-12-31 01:27

I\'ve a df where some of the columns are intergers.

I get a key error for df[\'1\']

KeyError: \'1\' in get_loc raise KeyError(key) from err

The column e

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