class_docstr: Wrapper for the pyarrow engine for read_csv()
class_docstr_tok: ["Wrapper","for","the","pyarrow","engine","for","read_csv","(",")"]
docstr: Reads the contents of a CSV file into a DataFrame and
  processes it according to the kwargs passed in the
  constructor.
  
  Returns
  -------
  DataFrame
      The DataFrame created from the CSV file.
docstr_tok: ["Reads","the","contents","of","a","CSV","file","into","a","DataFrame","and","processes","it","according","to","the","kwargs","passed","in","the","constructor",".","Returns","--","--","--","-","DataFrame","The","DataFrame","created","from","the","CSV","file","."]
code: def read(self) -> DataFrame:
      """
      Reads the contents of a CSV file into a DataFrame and
      processes it according to the kwargs passed in the
      constructor.
  
      Returns
      -------
      DataFrame
          The DataFrame created from the CSV file.
      """
      pyarrow_csv = import_optional_dependency("pyarrow.csv")
      self._get_pyarrow_options()
  
      table = pyarrow_csv.read_csv(
          self.src,
          read_options=pyarrow_csv.ReadOptions(**self.read_options),
          parse_options=pyarrow_csv.ParseOptions(**self.parse_options),
          convert_options=pyarrow_csv.ConvertOptions(
              **self.convert_options
          ),
      )
      if self.kwds["dtype_backend"] == "pyarrow":
          frame = table.to_pandas(types_mapper=pd.ArrowDtype)
      elif self.kwds["dtype_backend"] == "numpy_nullable":
          frame = table.to_pandas(
              types_mapper=_arrow_dtype_mapping().get
          )
      else:
          frame = table.to_pandas()
      return self._finalize_pandas_output(frame)
  
file_path: catboost/contrib/python/pandas/py3/pandas/io/parsers/arrow_parser_wrapper.py
imports: from __future__ import annotations
  from pandas._typing import ReadBuffer
  from pandas.compat._optional import import_optional_dependency
  from pandas.core.dtypes.inference import is_integer
  import pandas
  from pandas import DataFrame
  from pandas.io._util import _arrow_dtype_mapping
  from pandas.io.parsers.base_parser import ParserBase
label_desc: Use image node_id 5 for calling the ArrowParserWrapper obj's underlying member method code with example usage: obj.read() and returns: self