docstr: Create the writer & save.
docstr_tok: ["Create","the","writer","&","save","."]
code: def save(self) -> None:
      """
      Create the writer & save.
      """
      # apply compression and byte/text conversion
      with get_handle(
          self.filepath_or_buffer,
          self.mode,
          encoding=self.encoding,
          errors=self.errors,
          compression=self.compression,
          storage_options=self.storage_options,
      ) as handles:
          # Note: self.encoding is irrelevant here
          self.writer = csvlib.writer(
              handles.handle,
              lineterminator=self.lineterminator,
              delimiter=self.sep,
              quoting=self.quoting,
              doublequote=self.doublequote,
              escapechar=self.escapechar,
              quotechar=self.quotechar,
          )
  
          self._save()
  
imports: from __future__ import annotations
  import csv
  import os
  from typing import TYPE_CHECKING, Any, Hashable, Iterator, Sequence, cast
  import numpy
  from pandas._libs import writers
  from pandas._typing import CompressionOptions, FilePath, FloatFormatType, IndexLabel, StorageOptions, WriteBuffer
  from pandas.util._decorators import cache_readonly
  from pandas.core.dtypes.generic import ABCDatetimeIndex, ABCIndex, ABCMultiIndex, ABCPeriodIndex
  from pandas.core.dtypes.missing import notna
  from pandas.core.indexes.api import Index
  from pandas.io.common import get_handle
label_desc: Use image node_id 22 for calling the CSVFormatter obj's underlying member method code with example usage: obj.save() without return types