Pandas improvements

Various improvements to the Pandas lab.