class_docstr: Corpus in CSV format.
  
  Notes
  -----
  The CSV delimiter, headers etc. are guessed automatically based on the file content.
  All row values are expected to be ints/floats.
docstr: Parameters
  ----------
  fname : str
      Path to corpus.
  labels : bool
      If True - ignore first column (class labels).
code: def __init__(self, fname, labels):
      """
  
      Parameters
      ----------
      fname : str
          Path to corpus.
      labels : bool
          If True - ignore first column (class labels).
  
      """
      logger.info("loading corpus from %s", fname)
      self.fname = fname
      self.length = None
      self.labels = labels
  
      # load the first few lines, to guess the CSV dialect
      with utils.open(self.fname, "rb") as f:
          head = "".join(itertools.islice(f, 5))
  
      self.headers = csv.Sniffer().has_header(head)
      self.dialect = csv.Sniffer().sniff(head)
      logger.info(
          "sniffed CSV delimiter=%r, headers=%s",
          self.dialect.delimiter,
          self.headers,
      )
  
file_path: gensim/gensim/corpora/csvcorpus.py
imports: from __future__ import with_statement
  import logging
  import csv
  import itertools
  from gensim import interfaces, utils
label_desc: Use image node_id 1 to create a new CsvCorpus object from inherited base classes: interfaces with example: obj = CsvCorpus(fname, labels)