added the `apply_as_df` function