..  Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

..    http://www.apache.org/licenses/LICENSE-2.0

..  Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.


===============
Migration Guide
===============

This page describes the migration guide specific to PySpark.

.. toctree::
   :maxdepth: 2

   pyspark_3.2_to_3.3
   pyspark_3.1_to_3.2
   pyspark_2.4_to_3.0
   pyspark_2.3_to_2.4
   pyspark_2.3.0_to_2.3.1_above
   pyspark_2.2_to_2.3
   pyspark_1.4_to_1.5
   pyspark_1.0_1.2_to_1.3

The guide below is for those who are from `Koalas <https://koalas.readthedocs.io/en/latest>`_.

.. toctree::
   :maxdepth: 2

   koalas_to_pyspark

Many items of other migration guides can also be applied when migrating PySpark to higher versions because PySpark internally shares other components.
Please also refer other migration guides:

- `Migration Guide: Spark Core <https://spark.apache.org/docs/latest/core-migration-guide.html>`_
- `Migration Guide: SQL, Datasets and DataFrame <https://spark.apache.org/docs/latest/sql-migration-guide.html>`_
- `Migration Guide: Structured Streaming <https://spark.apache.org/docs/latest/ss-migration-guide.html>`_
- `Migration Guide: MLlib (Machine Learning) <https://spark.apache.org/docs/latest/ml-migration-guide.html>`_

