How to Spot Data Manipulation with Benford’s Law

A practical Python project with real-world datasets

Fabrizio Di Guardo
Level Up Coding
Published in
8 min readMar 15, 2023

--

Photo by Claudio Schwarz on Unsplash

Some math concepts look like magic.
Benford’s law is one of them.

Given almost any naturally occurring numerical datasets, Benford’s law says that the distribution of the first digits of each value in the dataset will follow a well-defined…

--

--

A Computer Science engineer with a passion for new technologies. Happy to live in one of the most revolutionary moments in the history of mankind.