CLN: DataFrame.__repr__
Minor clean-up.
thanks @topper-123  Could be causing a mypy failure on master? > Could be causing a mypy failure on master?

will revert for now to get ci to green. @topper-123 resubmit this when you can.