docstr: Eliminate duplicate entries by adding them together
  
  This is an *in place* operation
docstr_tok: ["Eliminate","duplicate","entries","by","adding","them","together","This","is","an","*","in","place","*","operation"]
code: def sum_duplicates(self) -> None:
      """Eliminate duplicate entries by adding them together
  
      This is an *in place* operation
      """
      if self.has_canonical_format:
          return
      summed = self._sum_duplicates(self.indices, self.data)
      self.indices, self.data = summed
      self.has_canonical_format = True
  
imports: import math
  from warnings import warn
  import numpy
  from ._matrix import spmatrix
  from ._sparsetools import coo_tocsr, coo_todense, coo_matvec
  from ._base import issparse, SparseEfficiencyWarning, _spbase, sparray
  from ._data import _data_matrix, _minmax_mixin
  from ._sputils import upcast, upcast_char, to_native, isshape, getdtype, getdata, downcast_intp_index, get_index_dtype, check_shape, check_reshape_kwargs
  import operator
label_desc: Use image node_id 20 for calling the _coo_base obj's underlying member method code with example usage: obj.sum_duplicates() without return types