code: def reset(self):
          '''Resets the stream pointer to the beginning of the file.'''
          if self.__row_number > self.__sample_size:
              self.__parser.reset()
              self.__extract_sample()
              self.__extract_headers()
          self.__row_number = f reset(self):
          '''Resets the stream pointer to the beginning of the file.'''
          if self.__row_number > self.__sample_size:
              self.__parser.reset()
              self.__extract_sample()
              self.__extract_headers()
          self.__row_number = 0
docs: Resets the stream pointer to the beginning of the file.