如何使用 Python 查找两个数据框中都存在的值?
我在
df1 列 下方有 2 个数据框轮廓 abcd
df2 列 xyz
我想找到与 c 匹配的所有 x 值(我没有 ID 来合并这些列)
I have 2 dataframes outlines below
df1 columns
a b c d
df2 columns
x y z
I want to find all x values that match with c (I do not have an ID to merge these columns)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果尺寸不匹配,我想到的一种方法是:
the one approach that comes to mind if size did not match is :