merge arrays in a list code example
Example 1: python merge list of lists
flat_list = [item for sublist in t for item in sublist]
Example 2: merge lists in list python
import itertools
a = [['a','b'], ['c']]
print(list(itertools.chain.from_iterable(a)))