3 ms·
Would defaultdict be appropriate for these situations?
by kwertyoowiyop 5y ago
Would defaultdict be appropriate for these situations?
- chthonicdaemon 5y agoVery good intuition - defauldict seems to be the best option if you have control over the building of the dictionaries and you think missing value handling is in play. I've updated the post to reflect this.