From Dev.to
Indexing a villa against itself: a median-of-ratios holiday price index in pandas
How much more does a Caribbean villa cost at Christmas? Averaging Christmas prices and January prices gives a misleading answer, because the expensive homes dominate both averages and the sample is ne...
