generated from nogibjj/fanxu_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
77 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,53 @@ | ||
# Pyspark | ||
# PySpark | ||
|
||
[![CI](https://github.com/nogibjj/fan_xu_pyspark/actions/workflows/cicd.yml/badge.svg)](https://github.com/nogibjj/fan_xu_pyspark/actions/workflows/cicd.yml) | ||
|
||
The purpose of this project is to demonstrate PySpark functionality on a dataset about the statistics of NBA Players. The dataset is queried and a transformation is done with the output shown in a markdown file. | ||
|
||
## Requirements | ||
|
||
- Use PySpark to perform data processing on a large dataset | ||
|
||
- Include at least one Spark SQL query and one data transformation | ||
|
||
## Project Structure | ||
|
||
``` | ||
📦 fan_xu_pyspark | ||
.github | ||
workflows | ||
cicd.yml | ||
Makefile | ||
NBA_24_stats.csv | ||
README.md | ||
__pycache__ | ||
script.cpython-312.pyc | ||
gitignore | ||
lib.py | ||
output.md | ||
requirements.txt | ||
script.py | ||
test_lib.py | ||
``` | ||
©generated by [Project Tree Generator](https://woochanleee.github.io/project-tree-generator) | ||
|
||
# Highlights | ||
|
||
- EDA | ||
|
||
The first 3 rows are displayed along with summary statistics for the age, assists, and steals columns | ||
|
||
- Query | ||
|
||
The top 10 highest-scoring players are queried | ||
|
||
- Transformation | ||
|
||
A column is added to show the assist/turnover ratio of the players | ||
|
||
# Installation | ||
|
||
Requirements: | ||
- Python | ||
- PySpark | ||
- Java |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters