Convert Matplotlib Plot Dataframe Python Pandas