Numbers That Look Like Text

Premium

We already explored the marathon registrations file in lesson 1. It looked clean, but pandas stored the registered_date column as plain text. You can't sort it or compute differences until you fix the type. pd.to_datetime(), astype(), and pd.to_numeric() fix that.