dataframe_for_trials_impl ========================= Wrapper only.