标签:pre to_date 差集 The 转换 other 毫秒级 另一个 默认
import numpy as np
list_1 = ["a", "b", "c", "d", "e"]
list_2 = ["a", "f", "c", "m"]
main_list = np.setdiff1d(list_2,list_1)
print(main_list)
miss_time_list = [int(miss_time.strftime(‘%Y%m%d‘)) for miss_time in np.setdiff1d(old_time_to_datetime_list, new_time_list)]
main_list = []
for i in list_2:
if i not in list_1:
main_list.append(i)
标签:pre to_date 差集 The 转换 other 毫秒级 另一个 默认
原文地址:https://www.cnblogs.com/ronky/p/9425168.html