展开双层嵌套的iterable类:
LIST = np.arange(15).reshape([3,5]).tolist()
l = [item for sub_list in LIST for item in sub_list] # 从左到右执行
展开双层嵌套的iterable类:
LIST = np.arange(15).reshape([3,5]).tolist()
l = [item for sub_list in LIST for item in sub_list] # 从左到右执行