GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — spark/python at master · apache/spark

Expand file tree

/

python

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

python

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
benchmarks
benchmarks
 
 
conf_viztracer
conf_viztracer
 
 
conf_vscode
conf_vscode
 
 
docs
docs
 
 
lib
lib
 
 
packaging
packaging
 
 
pyspark
pyspark
 
 
test_coverage
test_coverage
 
 
test_support
test_support
 
 
.coveragerc
.coveragerc
 
 
.gitignore
.gitignore
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
asv
asv
 
 
mypy.ini
mypy.ini
 
 
run-tests
run-tests
 
 
run-tests-with-coverage
run-tests-with-coverage
 
 
run-tests.py
run-tests.py
 
 
run-with-viztracer
run-with-viztracer
 
 
run-with-vscode-breakpoints
run-with-vscode-breakpoints
 
 

README.md

Outline

Apache Spark

Spark is a unified analytics engine for large-scale data processing. It provides high-level APIs in Scala, Java, Python, and R (deprecated), and an optimized engine that supports general computation graphs for data analysis. It also supports a rich set of higher-level tools including Spark SQL for SQL and DataFrames, pandas API on Spark for pandas workloads, MLlib for machine learning, GraphX for graph processing, and Structured Streaming for stream processing.

PySpark is the Python distribution of Spark.

Project home page: https://spark.apache.org/

Main documentation: https://spark.apache.org/docs/latest/

PySpark documentation: https://spark.apache.org/docs/latest/api/python/index.html

PySpark on PyPI

There are a few PySpark packages published by the Apache Spark project to PyPI:

  • pyspark: Classic PySpark, includes Spark assembly JARs
  • pyspark-connect: Classic PySpark with Spark Connect configured as the default, includes pyspark
  • pyspark-client: Pure Python Spark Connect client, no JARs or JRE needed

For more information, see the installation guide. If you're building PySpark from source, see Building Spark and pyproject.toml.

Python vs. "Full" Distribution of Spark

PySpark is not intended to be a complete distribution of Spark. It's meant for local development or for interacting with an existing cluster (be it Spark standalone, YARN, or Kubernetes). Using PySpark to set up a new standalone Spark cluster is not supported. To set up a standalone cluster please use the full distribution of Spark.

When using PySpark with an existing Spark cluster you must ensure that the major and minor version (e.g. 4.3.*) match or you may experience odd errors.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.