pydit.wrangling.mergeΒΆ

Module to merge dataframes with prefixes or suffixes for all fields not just those that have colissions. This is useful when you want to keep all the columns from both dataframes and avoid name clashes.

Functions

merge_outer_and_split

Merge two dataframes, and keep the joinable 1:1 or 1:n the nan or unmatched are returned in separate dataframes or Excel sheets.

merge_smart

Merge two dataframes, with prefixes or suffixes for all fields not just collissions.