code: def next(self):
          
          try:
              return self.dict_to_xn(self.csvreader.next())
          except MetadataException:
              # row was metadata; proceed to next row
              return next(self)
docs: Return the next transaction object.
  
          StopIteration will be propagated from self.csvreader.next()