I have three dataframes consisting of more 556, 555, and ~ 1600 columns each. I want to horizontally stack them, while merging the like columns. How would I do this with so many columns? I tried re-indexing so indices went from 0-252 with the first df, 232-2518 on the second df and 2519 to ~4000 on the final but I'm still getting the following error:
InvalidIndexError: Reindexing only valid with uniquely valued Index objects Is it better to use merge or join over concat in this case?
The data can be found here: https://github.com/eoefelein/sample_data
Thank you so much!