Pandas-GroupBy key lookup works but obtaining the group with the same key fails

前端 未结 0 630
[愿得一人]
[愿得一人] 2020-12-07 09:56

I groupby a dataframe and ran into the following error:

if key in group.groups:
     group.get_group(key)

I test wh

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