How can the array (the length of the array is constant for all elements in the series) be extracted into columns efficiently?
import pandas as pd
d = pd.DataFrame({'foo':\[1,2,3\], 'bar':\[\[1,1,1\], \[2,2,2\], \[3,3,3\]\]})
d][1]][1]
I.e. extract the array of [1,1,1] into a bar_0, bar_1, bar_3 column?
Is there a better way than manually iterating over the indices in the array and calling pandas.apply?
