fixing ipython table sformatting