code: def _save(self):
      self._save_header()
  
      nrows = len(self.data_index)
  
      # write in chunksize bites
      chunksize = self.chunksize
      chunks = int(nrows / chunksize) + 1
  
      for i in range(chunks):
          start_i = i * chunksize
          end_i = min((i + 1) * chunksize, nrows)
          if start_i >= end_i:
              break
  
          self._save_chunk(start_i, end_i)
  
file_path: catboost/contrib/python/pandas/py2/pandas/io/formats/csvs.py
imports: from __future__ import print_function
  import csv
  import os
  import warnings
  from zipfile import ZipFile
  import numpy
  from pandas._libs import writers
  from pandas.compat import StringIO, range, zip
  from pandas.core.dtypes.generic import ABCDatetimeIndex, ABCIndexClass, ABCMultiIndex, ABCPeriodIndex
  from pandas.core.dtypes.missing import notna
  from pandas import compat
  from pandas.io.common import UnicodeWriter, _get_handle, _infer_compression, get_filepath_or_buffer
label_desc: Use image node_id 4 for calling the CSVFormatter obj's underlying member method code with example usage: obj._save() without return types