cleaning functions for pyspark df
Project description
pyspark-df-cleaner
Making life easier. This package is used for cleaning Pyspark dataframes. The module will be extended in the future.
It currently consists of three main features:
- Removing leading zeros from column -> e.g. Turns "0000F45" into "F45"
- Casting int/long column to date -> e.g. Turns int/long column into Pyspark DateType()
- keep_alphanumeric_string -> e.g. Turns "444-555-666" into "444555666"
Should you have any suggestions for additional features, just let me know.
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
sparkcleaner-1.1.1.tar.gz
(4.7 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
File details
Details for the file sparkcleaner-1.1.1.tar.gz.
File metadata
- Download URL: sparkcleaner-1.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d7df9a0ec700b491878867a74e7615e4fed1295e07e588df091c691eb1734c5
|
|
| MD5 |
47464df66973e58c97d439232d0f0756
|
|
| BLAKE2b-256 |
623904169a021c3c8dc56e1a7edb8854cc2495c300fb1a20287b218588474bf9
|
File details
Details for the file sparkcleaner-1.1.1-py3-none-any.whl.
File metadata
- Download URL: sparkcleaner-1.1.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c05fbb31ad9d53b19a71ad74786b38c498f16c50025a83c3f7fe0cbbc1da43d3
|
|
| MD5 |
f22d9fae37546a09952ea250b9b7d2bf
|
|
| BLAKE2b-256 |
93ae587f78cd2c4e5140fa20da6ff2067ccc672723642fdbee0466552eadcb63
|