Comparing Two Dataframe Python Summary Function In R