Flattening a list of NumPy arrays?,out = np.concatenate(input_list).ravel().tolist()