Data CleaningEasy

What do you do when a column's data type is inconsistent?

Seen at: Stripe · Snowflake · Meta

You're joining a logs table where user_id is sometimes stored as integer, sometimes as string, sometimes prefixed with a type tag. How do you handle this cleanly?

Draft your answer

Saved to this browser only. Try it before you peek at the model answer.

Stuck? Peek at a hint

Reveals the model answer and the self-score rubric.

More data cleaning questions