.. 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 Guides ================ This page includes links to guides that will help you migrate to PySpark. If you are upgrading from an older to a newer version of PySpark, refer to the following page for differences between versions: - :ref:`Upgrading PySpark` .. toctree:: :maxdepth: 2 :hidden: pyspark_upgrade If you are migrating code from `Koalas `_ to PySpark, this guide is for you: .. toctree:: :maxdepth: 2 koalas_to_pyspark A lot of content in other migration guides can also be helpful when migrating to newer PySpark versions because PySpark internally shares the same components. Please also refer to the following migration guides: - `Migration Guide: SQL, Datasets and DataFrame `_ - `Migration Guide: Structured Streaming `_ - `Migration Guide: MLlib (Machine Learning) `_ - `Migration Guide: Spark Core `_