I have a pandas dataframe with one of the columns being a numpy array of 600 floats.
key text vectors
id
0 SAG-123 'some long text' [2.88, 0.17, ..., 1.56]
1 SAG-596 'more text' [1.45, 2.24, ..., 3.46]
2 SAG-888 'even more text' [1.45, 2.24, ..., 4.81]
I would like to transform it into the following format:
key text 0 1 ... 600
id
0 SAG-123 'some long text' 2.88 0.17 ... 1.56
1 SAG-596 'more text' 1.45 2.24 ... 3.46
2 SAG-888 'even more text' 1.45 2.24 ... 4.81