Eons ago we had a standard reporting process that ran on our mainframe built on the SAS freq report function. I was forced to upload large amounts of data just for it. It took a couple of hours to run on my data. Crap mainframe, crap CPU allocation, crap, crap, crap.

We didn't use any other functionality, just that damn freq report. From a very expensive yearly leased SAS environment.

I implemented that report in Perl 20 years ago, and have been carrying that code around since. One of the best damn bits of code I ever wrote. Not the code really, but the usable output. And it ran MUCH faster.

That looks to be a good python project. Time for a rewrite.