Pandas improvements

Minor and varied improvements to pandas lab.