Tuesday, September 01, 2015

Named rows and columns

R has built-in support for naming rows and columns for matrices. Matlab has this functionality via dataset class

http://www.mathworks.com/matlabcentral/answers/83204-add-row-column-names-to-a-matrix

One can use double(X) to convert dataset back to matrix.

Python Terminal Animation for Waiting

A nice small tool for terminal animations from yaspin import yaspin with yaspin(): do_stuff()