https://travelebookdownload.blogspot.com/2024/07/how-to-correctly-use-pandas-agg.html