Package that fuzzy merges two dataframes
Project description
df_fuzzy_merge
fuzzy merge for pandas dataframe package
local install:
pip install git+https://github.com/mmcelhan/df_fuzzy_merge.git#egg=df_fuzzy_merge
to test:
import df_fuzzy_merge as df
import os
import pandas as pd
first_df = pd.read_csv(os.path.join("testing_files", "data_1.csv")) second_df = pd.read_csv(os.path.join("testing_files", "data_2.csv"))
merged_df = df.df_fuzzy_merge(first_df, second_df, left_on=['last_name', 'first_name', 'school'], right_on=['first_name', 'school', 'last_name'])
print(merged_df)
source code available here:
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
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 df_fuzzy_merge-0.0.3.tar.gz.
File metadata
- Download URL: df_fuzzy_merge-0.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a95a503a5b18b713b2e6071e1813ececc0a7abb9b6f1fb5c8eeaa9a7a5348702
|
|
| MD5 |
e1c974dd3622e5332b98d3b607788e28
|
|
| BLAKE2b-256 |
dd8c2873ab9a16d66edd657f52d9d9c1f97f4b1e82a1facfd18699d2744d2eaa
|
File details
Details for the file df_fuzzy_merge-0.0.3-py3-none-any.whl.
File metadata
- Download URL: df_fuzzy_merge-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc68dbefab4e8993e20907cd0039ccacac76f1bbcdf0b1b44149b2683ee664b6
|
|
| MD5 |
d8ff37d9570a8c39bca363f9f0c269dd
|
|
| BLAKE2b-256 |
63580e12c51c02b4fedd73011541a2c8b341425716e4068c299325c199e214c3
|