# Convert the join_date column to datetime objects df['join_date'] = pd.to_datetime(df['join_date'], errors='coerce')