A PySpark code snippets library
Project description
MrPrince - PySpark Code Snippets Library
A Python package that provides PySpark code snippets for various data processing tasks.
Installation
pip install mrprince
Usage
from mrprince import program
# Display PySpark RDD operations snippets
program(1)
# Display PySpark DataFrame operations snippets
program(2)
# Display PySpark filtering and grouping snippets
program(3)
# Display PySpark file operations snippets
program(4)
# Display PySpark SQL operations snippets
program(5)
# Display PySpark string functions snippets
program(6)
# Display PySpark window functions snippets
program(7)
# Display PySpark hyperparameter tuning snippets
program(9)
# Display PySpark ML pipeline snippets
program(10)
Features
- RDD Operations: Basic RDD operations, transformations, and actions
- DataFrame Operations: Reading, writing, and manipulating DataFrames
- Data Processing: Filtering, grouping, aggregations
- File Operations: Working with CSV, text files, and temperature data
- SQL Operations: Spark SQL queries and table operations
- String Functions: String manipulation and formatting
- Window Functions: Ranking, partitioning, and windowing operations
- Machine Learning: ML pipelines and hyperparameter tuning
Requirements
- Python >= 3.7
- PySpark >= 3.0.0
License
MIT License
Author
Your Name - your.email@example.com
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mrprince-0.1.0.tar.gz
(12.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mrprince-0.1.0-py3-none-any.whl
(11.7 kB
view details)
File details
Details for the file mrprince-0.1.0.tar.gz.
File metadata
- Download URL: mrprince-0.1.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
407af760125f2482010989435042e6c8417ea01b6ac5929299dfc0d10aa41563
|
|
| MD5 |
f483024cd4b9a375e31d23656635e380
|
|
| BLAKE2b-256 |
b1219db54c1a72724c406192944b02cfa250f1ae32e89b992423d61cf2af71cd
|
File details
Details for the file mrprince-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mrprince-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1484ad4b04af3f23bfb11eb3ba18faba55a93ebda18317d9a39893de5715e96
|
|
| MD5 |
63334bb3e9724963cd0613afa2f582d0
|
|
| BLAKE2b-256 |
a8e59fec079dac49298075349587b9740d474f135147b574787261f4011b3677
|