def to_spark_io(self, path: Optional[str]=None, format: Optional[str]=None, mode: str='overwrite', partition_cols: Optional[Union[(str, List[str])]]=None, index_col: Optional[Union[(str, List[str])]]=None, **options: 'OptionalPrimitiveType') -> None:
    'An alias for :func:`DataFrame.spark.to_spark_io`.\n        See :meth:`pyspark.pandas.spark.accessors.SparkFrameMethods.to_spark_io`.\n\n        .. deprecated:: 3.2.0\n            Use :func:`DataFrame.spark.to_spark_io` instead.\n        '
    warnings.warn('Deprecated in 3.2, Use DataFrame.spark.to_spark_io instead.', FutureWarning)
    return self.spark.to_spark_io(path, format, mode, partition_cols, index_col, **options)
An alias for :func:`DataFrame.spark.to_spark_io`.
See :meth:`pyspark.pandas.spark.accessors.SparkFrameMethods.to_spark_io`.

.. deprecated:: 3.2.0
    Use :func:`DataFrame.spark.to_spark_io` instead.
def to_spark_io(self, path: Optional[str]=None, format: Optional[str]=None, mode: str='overwrite', partition_cols: Optional[Union[(str, List[str])]]=None, index_col: Optional[Union[(str, List[str])]]=None, **options: 'OptionalPrimitiveType') -> None:
    'An alias for :func:`DataFrame.spark.to_spark_io`.\n        See :meth:`pyspark.pandas.spark.accessors.SparkFrameMethods.to_spark_io`.\n\n        .. deprecated:: 3.2.0\n            Use :func:`DataFrame.spark.to_spark_io` instead.\n        '
    warnings.warn('Deprecated in 3.2, Use DataFrame.spark.to_spark_io instead.', FutureWarning)
    return self.spark.to_spark_io(path, format, mode, partition_cols, index_col, **options)