Created
June 7, 2020 13:44
-
-
Save dipta007/b4401b954752bad23439fc4a36ce4b86 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| def merge_all(*args): | |
| tmp = None | |
| args = args[0] | |
| for arg in args: | |
| if tmp is None: | |
| tmp = arg | |
| else: | |
| tmp = pd.merge(tmp, arg, how='inner', on=['id']) | |
| return tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment