add docstring for _df_to_vector

Thanks @josenavas!