df = pd.DataFrame(dict(a=[1, 2], b=[3, 4], c=[[1, 2, 3], [1, 2]]))
df['c'].apply(lambda x: np.mean(x))
How to make a multi-dimensional column into a single valued vector for training data in sklearn pandas