Data Science, Python, Pandas.
find those for the summed_articles table which correspond to the highest ’n’ per article. We’ll use a nifty Pandas method called idxmax which returns the indices of the grouped column with max values. Aggregating the summed_articles again, this time over the coming_from column, we can run it like