Python Function Returning Dataframe Drop