How To Trim A Dataframe In Python