【发布时间】:2021-02-02 04:53:43
【问题描述】:
我正在使用 python 代码:
dataReg=pd.DataFrame(data.loc[data['Store']=='1'])提取store 1的数据。
但遇到以下警告。
C:\Users\hp\anaconda3\lib\site-packages\pandas\core\ops\array_ops.py:253: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
res_values = method(rvalues)
谁能建议如何解决这个问题?
【问题讨论】:
-
这能回答你的问题吗? stackoverflow.com/questions/40659212/…
标签: python data-science