Cleaner method for summarizing dataset