df = df.loc[df['var'].isin(df2['this'].unique().tolist())]
上面的代码给了我一个 FutureWarning,我无法解决它。这是错误还是功能?
C:\Users\Username\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\lib\arraysetops.py:569:FutureWarning:逐元素比较失败;而是返回标量,但将来将执行元素比较掩码 |= (ar1 == a)