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