.. pyspark documentation master file, created by
   sphinx-quickstart on Thu Aug 28 15:17:47 2014.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Welcome to Spark Python API Docs!
===================================

Contents:

.. toctree::
   :maxdepth: 2

   pyspark
   pyspark.sql
   pyspark.streaming
   pyspark.ml
   pyspark.mllib


Core classes:
---------------

    :class:`pyspark.SparkContext`

    Main entry point for Spark functionality.

    :class:`pyspark.RDD`

    A Resilient Distributed Dataset (RDD), the basic abstraction in Spark.

    :class:`pyspark.streaming.StreamingContext`

    Main entry point for Spark Streaming functionality.

    :class:`pyspark.streaming.DStream`

    A Discretized Stream (DStream), the basic abstraction in Spark Streaming.

    :class:`pyspark.sql.SQLContext`

    Main entry point for DataFrame and SQL functionality.

    :class:`pyspark.sql.DataFrame`

    A distributed collection of data grouped into named columns.


Indices and tables
==================

* :ref:`search`

.. pyspark documentation master file, created by
   sphinx-quickstart on Thu Aug 28 15:17:47 2014.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Welcome to Spark Python API Docs!
===================================

Contents:

.. toctree::
   :maxdepth: 2

   pyspark
   pyspark.sql
   pyspark.streaming
   pyspark.ml
   pyspark.mllib


Core classes:
---------------

    :class:`pyspark.SparkContext`

    Main entry point for Spark functionality.

    :class:`pyspark.RDD`

    A Resilient Distributed Dataset (RDD), the basic abstraction in Spark.

    :class:`pyspark.streaming.StreamingContext`

    Main entry point for Spark Streaming functionality.

    :class:`pyspark.streaming.DStream`

    A Discretized Stream (DStream), the basic abstraction in Spark Streaming.

    :class:`pyspark.sql.SparkSession`

    Main entry point for DataFrame and SQL functionality.

    :class:`pyspark.sql.DataFrame`

    A distributed collection of data grouped into named columns.


Indices and tables
==================

* :ref:`search`

Fix SQLContext to SparkSession in Python API main page
[MINOR][PYTHON] Fix SQLContext to SparkSession in Python API main page

## What changes were proposed in this pull request?

This PR proposes to fix deprecated `SQLContext` to `SparkSession` in Python API main page.

**Before:**

![screen shot 2019-01-16 at 5 30 19 pm](https://user-images.githubusercontent.com/6477701/51239583-bac82f80-19b4-11e9-9129-8dae2c23ec79.png)

**After:**

![screen shot 2019-01-16 at 5 29 54 pm](https://user-images.githubusercontent.com/6477701/51239577-b734a880-19b4-11e9-8539-592cb772168d.png)

## How was this patch tested?

Manually checked the doc after building it.
I also checked by `grep -r "SQLContext"` and looks this is the only instance left.

Closes #23565 from HyukjinKwon/minor-doc-change.

Authored-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>
Signed-off-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>
