Data Cleaning Exercises

Glossary

Null key

A join key that is missing. It should never match another missing key.

SQL joins never match NULL to NULL. pandas merge does, which attaches unrelated rows. Remove missing keys from the lookup side before merging in pandas.

Related: Referential integrity, Missing value (null)