original_docstring: 
      Report rows with duplicate key values. E.g.::
  
          >>> from petl.push import duplicates, tocsv
          >>> p = duplicates('foo')
          >>> p.pipe(tocsv('foo_dups.csv'))
          >>> p.pipe('remainder', tocsv('foo_uniq.csv'))
          >>> p.push(sometable)
  
      N.B., assumes data are already sorted by the given key.
  
      
docstring: Report rows with duplicate key values.
  
  N.B., assumes data are already sorted by the given key.
docstring_tokens: Report rows with duplicate key values . N . B . assumes data are already sorted by the given key .
code: def duplicates(key):
      """
      Report rows with duplicate key values. E.g.::
  
          >>> from petl.push import duplicates, tocsv
          >>> p = duplicates('foo')
          >>> p.pipe(tocsv('foo_dups.csv'))
          >>> p.pipe('remainder', tocsv('foo_uniq.csv'))
          >>> p.push(sometable)
  
      N.B., assumes data are already sorted by the given key.
  
      """
  
      return DuplicatesComponent(key)
code_tokens: def duplicates ( key ) : return DuplicatesComponent ( key )
short_docstring: Report rows with duplicate key values.
short_docstring_tokens: Report rows with duplicate key values .
comment: """
      Report rows with duplicate key values. E.g.::
  
          >>> from petl.push import duplicates, tocsv
          >>> p = duplicates('foo')
          >>> p.pipe(tocsv('foo_dups.csv'))
          >>> p.pipe('remainder', tocsv('foo_uniq.csv'))
          >>> p.push(sometable)
  
      N.B., assumes data are already sorted by the given key.
  
      """