I have a pd.Series of lists.
i.e. df = pd.Series([['a', 'b'], ['c', 'd']])
I'd like to convert it to a 2d numpy array.
Doing this: np.array(df.values)
doesn't yield the desired result, as the list is considered as an object.
How to get a 2d array?