BUG: repr formating to use iloc rather than getitem for element access (GH5605)
Merge pull request #5606 from jreback/fix_repr

BUG: repr formating to use iloc rather than getitem for element access (GH5605)