Part 1: Python Tricks learned this week
This week I did some basic analysis on Jobs posting dataset. Along the way I learn few tricks
- Use of compiler.ast for Flattening nested lists
- Sorting dictionary by value using operator.itemgetter
- Using NLTK to generate Ngrams
- Using Counters from collections
Using these in combination not only reduce code size, made code more readable.