df = pd.DataFrame({"Date": ["2022", "2022", "2021", "2021", "2020", "2020"], "Time": ["20:00", "20:00", "20:00", "21:00", "22:00", "22:00"]}) df.drop_duplicates() #output # Date Time # 2022 20:00 # 2021 20:00 # 2021 21:00 # 2020 22:00