def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def test_impl(df):
            B = df.A.str.split(',')
            df2 = pd.DataFrame({'B': B})
            return df2[df2.B.str.len() > 1]