How To Summarize A Dataframe In Python Methods That Only Takes