Closed alistairewj closed 6 years ago
It would be nice to have a feature where only the top N category levels are output, e.g. if I have 400 diagnoses, only the top 10 in terms of frequency are output to file.
Might be helpful when implementing this: https://stackoverflow.com/questions/20069009/pandas-good-approach-to-get-top-n-records-within-each-group
It would be nice to have a feature where only the top N category levels are output, e.g. if I have 400 diagnoses, only the top 10 in terms of frequency are output to file.