Spalah is a set of PySpark dataframe helpers
Project description
spalah
Spalah is a set of python helpers to deal with PySpark dataframes
Installation
Use the package manager pip to install foobar.
pip install spalah
Usage
from spalah.dataframe import slice_dataframe
from pyspark.sql import SparkSession
slice_dataframe(
input_dataframe=df,
columns_to_include=[],
columns_to_exclude=["d", "e"],
nullify_only=False
)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
spalah-0.2.0.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for spalah-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561ec8a8bdbf675ab2dee295b11a489f25b417d815aff2593f4f0b69f7299ea1 |
|
MD5 | c273ee22d833182f7d8c232fdb21ac02 |
|
BLAKE2b-256 | ac10ca19eb9d62411e9c0d00118011d166030d4dc17e1dfc7c901a9fd92ba1f4 |