original_docstring:  Some methods need a list of arrays as lists and some prefer arrays
          
docstring: Some methods need a list of arrays as lists and some prefer arrays
docstring_tokens: Some methods need a list of arrays as lists and some prefer arrays
code: def append_sample(self, sample):
          """ Some methods need a list of arrays as lists and some prefer arrays
          """
          data_array = sample.view(numpy.ndarray)
          if self.use_list:
              self.samples.append(map(float, list(data_array[0, :])))
          else:
              self.samples.append(data_array[0, :])
code_tokens: def append_sample ( self , sample ) : data_array = sample . view ( numpy . ndarray ) if self . use_list : self . samples . append ( map ( float , list ( data_array [ 0 , : ] ) ) ) else : self . samples . append ( data_array [ 0 , : ] )
short_docstring: Some methods need a list of arrays as lists and some prefer arrays
short_docstring_tokens: Some methods need a list of arrays as lists and some prefer arrays
comment: """ Some methods need a list of arrays as lists and some prefer arrays
          """