parameters: (self, idx)
return_statement: return self.read()
docstring: Returns the record at given index.
  
          Example usage:
          ----------
          >>> record = mx.recordio.MXIndexedRecordIO('tmp.idx', 'tmp.rec', 'w')
          >>> for i in range(5):
          ...     record.write_idx(i, 'record_%d'%i)
          >>> record.close()
          >>> record = mx.recordio.MXIndexedRecordIO('tmp.idx', 'tmp.rec', 'r')
          >>> record.read_idx(3)
          record_3
docstring_summary: Returns the record at given index.
docstring_tokens: Returns the record at given index .
function: def read_idx(self, idx):
          """Returns the record at given index.
  
          Example usage:
          ----------
          >>> record = mx.recordio.MXIndexedRecordIO('tmp.idx', 'tmp.rec', 'w')
          >>> for i in range(5):
          ...     record.write_idx(i, 'record_%d'%i)
          >>> record.close()
          >>> record = mx.recordio.MXIndexedRecordIO('tmp.idx', 'tmp.rec', 'r')
          >>> record.read_idx(3)
          record_3
          """
          self.seek(idx)
          return self.read()
function_tokens: def read_idx ( self , idx ) : self . seek ( idx ) return self . read ( )