https://medium.com/@lbinet/introducing-pandagg-pandas-inspired-library-for-elasticsearch-aggregations-6647df33ce63