How to remove a row from pandas dataframe based on the