small fixups to pandas/core