When Magento meets Python (episode Anomalies Detection)

Second post about applying some Python magic to deal with real use cases with Magento.

If you missed the first episode, check it out here.

Anomalies detection is a way to detect strange data behaviour (not necessary an error), finding the outliers, observations that are “far” from the rest, in terms of proximity or statistically, depending from the approach.

Let’s make an example: in an e-commerce scenario, most of the orders are ok, following the same steps and being in a consistent…