Skip to main content

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:

https://github.com/mmcelhan/dataframe_fuzzy_merge_source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

df_fuzzy_merge-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

df_fuzzy_merge-0.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for df_fuzzy_merge-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a95a503a5b18b713b2e6071e1813ececc0a7abb9b6f1fb5c8eeaa9a7a5348702
MD5 e1c974dd3622e5332b98d3b607788e28
BLAKE2b-256 dd8c2873ab9a16d66edd657f52d9d9c1f97f4b1e82a1facfd18699d2744d2eaa

See more details on using hashes here.

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

Hashes for df_fuzzy_merge-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dc68dbefab4e8993e20907cd0039ccacac76f1bbcdf0b1b44149b2683ee664b6
MD5 d8ff37d9570a8c39bca363f9f0c269dd
BLAKE2b-256 63580e12c51c02b4fedd73011541a2c8b341425716e4068c299325c199e214c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page