使用Python比较Excel中的2列
您好,我有一个带有2列数据的Excel文件(.xlsx),我想将列A中的行与B列中的行进行比较,并在另一个生成的Excel文件中输出B列的值,其中行A a为空。
任何帮助都将不胜感激
Hello I have an excel file (.xlsx) with 2 columns of data I want to compare the rows in column A with column B and output the value of column B in another generated excel file where the rows column A are empty.
Any Help would be greatly appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此代码段应该可以解决:
This code snippet should do the trick: