How To Create A New Dataframe In Python Methods And Classes