I have the following series:
s = pd.Series([['a', 'b'], ['c', 'd'], ['f', 'g']])
>>> s
0 [a, b]
1 [c, d]
2 [f, g]
dtype: object
what is the easiest - preferably vectorized - way to concatenate all lists in the series, so that I get:
l = ['a', 'b', 'c', 'd', 'f', 'g']
Thanks!
s.sum()is the easiest vectorised way, but it's probably not very efficient...