original_docstring: 
      Push rows to a CSV file. E.g.::
  
          >>> from petl.push import tocsv
          >>> p = tocsv('example.csv')
          >>> p.push(sometable)
  
      
docstring: Push rows to a CSV file.
docstring_tokens: Push rows to a CSV file .
code: def tocsv(filename, dialect=csv.excel, **kwargs):
      """
      Push rows to a CSV file. E.g.::
  
          >>> from petl.push import tocsv
          >>> p = tocsv('example.csv')
          >>> p.push(sometable)
  
      """
  
      return ToCsvComponent(filename, dialect, **kwargs)
code_tokens: def tocsv ( filename , dialect = csv . excel , ** kwargs ) : return ToCsvComponent ( filename , dialect , ** kwargs )
short_docstring: Push rows to a CSV file.
short_docstring_tokens: Push rows to a CSV file .
comment: """
      Push rows to a CSV file. E.g.::
  
          >>> from petl.push import tocsv
          >>> p = tocsv('example.csv')
          >>> p.push(sometable)
  
      """