Another way is to extract the values of your series and use numpy.stack on them.
np.stack(s.values)
PS. I’ve run into similar situations often.
Another way is to extract the values of your series and use numpy.stack on them.
np.stack(s.values)
PS. I’ve run into similar situations often.