Code for demos used in pydata mcr talk.