问题描述
当“ in”测试显示存在值时,我无法弄清楚为什么查询方法没有在DataFrame中获取值:
s in plotDf["shob"]
Out[302]: True
plotDf.query("shob == @s")
Out[303]:
Empty DataFrame
Columns: [sgr,shob,peakValue]
Index: []
知道这是为什么吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)