python 获取两个List的交集,并集

cluster_id_list = list(set(cluster_id_list_one).intersection(set(cluster_id_list_two)))

fee_distribute['x'] = list(set(dev_name_list) | set(opt_name_list) | set(asset_fee_x_list))

你可能感兴趣的:(python)