Diffusion Models As Dataframe Python Summary Function In R