Data cleaning involves the detection and removal (or correction) of errors and inconsistencies in a data set or database due to the corruption or inaccurate entry of the data. Incomplete, inaccurate or irrelevant data is identified and then either replaced, modified or deleted.