实现的目标:
[[‘a’], [‘b’], [‘c’]] ⇒ [‘a’, ‘b’, ‘c’]
raw_list = [['a'], ['b'], ['c']]
new_list = np.array(raw_list).flatten().tolist()
实现的目标:
[[‘a’], [‘b’], [‘c’]] ⇒ [‘a’, ‘b’, ‘c’]
raw_list = [['a'], ['b'], ['c']]
new_list = np.array(raw_list).flatten().tolist()