I have a dataframe with a timeindex and 3 columns containing the coordinates of a 3D vector: I would like to apply a transformation to each row that also returns a vector but if I do: I end up with a Pandas series whose elements are tuples. This is beacause apply will take the result of myfunc without unpacking it.