The first line is used to convert the dataframe into timestamp format. Ex : ‘1998-07-16 12:00:00’ which is a standard format to store and further process date and time in pandas.
Second line on the other hand is nothing but filtering the values. It means that
df will only be having rows where the value in
status column is “Confirmed”.