nodes: 0, module; 1, function_definition; 2, function_name:reload; 3, parameters; 4, block; 5, identifier:self; 6, expression_statement; 7, expression_statement; 8, comment:#        if len(self.origCols) == 1 and self.origCols[0].type in (int, float, currency):; 9, comment:#            self.numericBinning(); 10, comment:#        else:; 11, expression_statement; 12, comment:# automatically add cache to all columns now that everything is binned; 13, for_statement; 14, string; 15, assignment; 16, call; 17, identifier:c; 18, attribute; 19, block; 20, string_content:Generate histrow for each row and then reverse-sort by length.; 21, attribute; 22, list; 23, attribute; 24, argument_list; 25, identifier:self; 26, identifier:nonKeyVisibleCols; 27, expression_statement; 28, identifier:self; 29, identifier:rows; 30, identifier:self; 31, identifier:discreteBinning; 32, assignment; 33, attribute; 34, call; 35, identifier:c; 36, identifier:_cachedValues; 37, attribute; 38, argument_list; 39, identifier:collections; 40, identifier:OrderedDict
code: def reload(self):
          'Generate histrow for each row and then reverse-sort by length.'
          self.rows = []
  
  #        if len(self.origCols) == 1 and self.origCols[0].type in (int, float, currency):
  #            self.numericBinning()
  #        else:
          self.discreteBinning()
  
          # automatically add cache to all columns now that everything is binned
          for c in self.nonKeyVisibleCols:
              c._cachedValues = collections.OrderedDict()