添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
def compare_site_names():
    df1 = pd.read_csv(r'C:\Users\jalchu\Desktop\reservedSiteNames1.txt', header=None)
    df2 = pd.read_csv(r'C:\Users\jalchu\Desktop\reservedSiteNames2.txt', header=None)
    data1 = df1.to_dict(orient='list')[0]
    data2 = df2.to_dict(orient='list')[0]
    diff1 = set(data1).difference(data2)
    diff2 = set(data2).difference(data1)
    print(diff1)
    print(diff2)
if __name__ == '__main__':
    compare_site_names()
版权声明:本文为CSDN博主「baidu_30809315」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/baidu_30809315/article/details/98203486