Python Forum
Linking Data in Pandas - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: Linking Data in Pandas (/thread-850.html)



Linking Data in Pandas - PietonNewbie - Nov-09-2016

Hi All,

I have loaded four .csv files into data frames in pandas, how do I go about linking them? They all have anĀ ID columns, I have an additional level of complexity in that the ID column in one of the files is corrupted. My research says I can find the Levenshtein distance between the ID's, is anyone able to elaborate?

Thanks


RE: Linking Data in Pandas - nilamo - Nov-09-2016

Is the same id shared between files? Or are they just row ids?
If file1_id == file2_id == file3_id == file4_id, then... they're already linked?


RE: Linking Data in Pandas - Larz60+ - Nov-10-2016

Duplicate post