code: def _limit_to_non_identical_terms(self, pairs):
      return pairs.T[(pairs[0] != pairs[1])]
  
file_path: scattertext/scattertext/termcompaction/CompactTerms.py
imports: import numpy
  from scattertext.CSRMatrixTools import CSRMatrixFactory
  from scattertext.indexstore import IndexStore
  from scattertext.termranking import AbsoluteFrequencyRanker
label_desc: Use image node_id 7 for calling the CompactTerms obj's underlying member method code with example usage: obj._limit_to_non_identical_terms(pairs) and returns: pairs