Creating A Dataframe In Python Using Pandas For Frequency