add plotting and more to pandas class code