Python Dataframe Removes Duplicate When Certain Values

Python Dataframe Removes Duplicate When Certain Values