Last active
March 18, 2022 13:47
-
-
Save Tony363/939b861c55353d0358c249773d38a1ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
def load_abcdef(): | |
abc = pd.read_excel('mock_data_abcde.xlsx') | |
def_ = pd.read_excel('mock_data_def.xlsx') | |
return abc.merge(def_,how='inner',on=['d','e'] # where the merging happens | |
if __name__ == "__main__": | |
abcdef = load_abcdef() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment