Beautiful, idiomatic Python

Posted by Bob on Tue 10 January 2017 in Best practices • Tagged with pythonic, cleancode, collections, 2vs3, namedtuples, decorators, contextmanagers • 2 min read

Transforming Code into Beautiful, Idiomatic Python is a must-watch to write more Pythonic code. In this post some highlights.


Continue reading

A great book that makes algorithms accessible

Posted by Bob on Tue 03 January 2017 in Books • Tagged with algorithms, data structures, performance, collections • 3 min read

I finished reading Grokking Algorithms, it's a very accessible resource for learning algorithms / data structures, highly recommended.


Continue reading

2016 py articles and useful books

Posted by Bob on Fri 23 December 2016 in Digest • Tagged with pythonic, books, collections, tricks, tips, data science, matplotlib, pandas • 1 min read

Some of my Python articles I posted on my blog this year and useful books


Continue reading

Read the stdlib: deque

Posted by Bob on Wed 21 December 2016 in Data • Tagged with collections, data structures, performance, stdlib, deque • 2 min read

Use collections.deque to rotate letters in string (or elements in list). It has a native method which performs faster too.


Continue reading