parameters: (self)
return_statement: return result
docstring: Return a dictionary with all amounts grouped by base amount
  
      Return {amount: amount_list} where
        - amount is the Amount instance (e.g. movement, delivery)
          that generated amounts
        - amount_list is an instance of this class
  
      This is the opposite of aggregate(), which merges amounts that only differ
      by their base amounts.
docstring_summary: Return a dictionary with all amounts grouped by base amount
docstring_tokens: Return a dictionary with all amounts grouped by base amount
function: def split(self):
      """Return a dictionary with all amounts grouped by base amount
  
      Return {amount: amount_list} where
        - amount is the Amount instance (e.g. movement, delivery)
          that generated amounts
        - amount_list is an instance of this class
  
      This is the opposite of aggregate(), which merges amounts that only differ
      by their base amounts.
      """
      result = defaultdict(self.__class__)
      for amount in self:
        result[amount._base].append(amount)
      return result
function_tokens: def split ( self ) : result = defaultdict ( self . __class__ ) for amount in self : result [ amount . _base ] . append ( amount ) return result