Merge CSV
Simple package for merging two CSV files with pandas based on values in a given column.
This module is required over pd.merge due to proper handling of rows with empty values.
Install
pip install merge_csv_xjg
Usage
As CLI Tool
Usage: merge_csv [OPTIONS]
Options:
-l, --left-file TEXT One of two CSVs to be merged
-r, --right-file TEXT Two of two CSVs to be merged
-c, --column TEXT Name of column to match entries
-o, --output TEXT Output file path
-k, --keep [left|right|both|none]
Table to keep values from if no match is
found
--keep-missing [left|right|both|none]
Keep rows where value in named column is
null
-v, --verbose Output extra information
--help Show this message and exit.
TODO
- Only copy specific columns from each of the sheets
Metadata
Release files for merge-csv-xjg 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| merge_csv_xjg-0.0.6.tar.gz | 5.6 kB | Without provenance | Details for merge_csv_xjg-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| merge_csv_xjg-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for merge_csv_xjg-0.0.6-py3-none-any.whl |
Total release size: 12.6 kB
Release files / merge_csv_xjg-0.0.6.tar.gz
| Download URL | merge_csv_xjg-0.0.6.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17d35dd62509b905816497b619cebd8bc0a8f9ed410cdb476bd8c95fee2f5348
|
|
BLAKE2b-256 checksum How to use checksums |
1d847c99c3878e4cc51f3ec8a9018080e8456129129d3a81c9caa2e297dc50e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
|
Release files / merge_csv_xjg-0.0.6-py3-none-any.whl
| Download URL | merge_csv_xjg-0.0.6-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02077d785aa830a97751c8aae4de3a0d1659c6a2337fd997dad7e4198a39cd94
|
|
BLAKE2b-256 checksum How to use checksums |
b7974506684e9198c518eb6b672d924146e26771a08d401a5ac393c0784c10df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
|
Security for merge-csv-xjg 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.