Is there a way to convert a Pandas Series where each row contains an array into a 2D numpy array?
The Series looks like the following below when you display it in Python:
[array([ 58., -1., -1., -1., -1.])
array([ 77., 95., -1., -1., -1.])]
I would like to get a numpy matrix that looks like this:
[[ 58., -1., -1., -1., -1.]
[ 77., 95., -1., -1., -1.]]
Is there a simple way to do this? Any help is appreciated!