I have a pandas data frame:
+--------+---------+------+----------------+
| Name | Address | ID | Linked_To |
+--------+---------+------+----------------+
| Name A | ABC | 1233 | 1234;1235 |
| Name B | DEF | 1234 | 1233;1236;1237 |
| Name C | GHI | 1235 | 1234;1233;2589 |
+--------+---------+------+----------------+
Some of the ID's in the Linked_To column are records, under the Name column. I can create a dictionary and pass the data in the Linked_To column as a list. However, I am unsure how to proceed. Ideally I would like to see something like:
+--------+---------+------+-------------------------+
| Name | Address | Id | Linked To |
+--------+---------+------+-------------------------+
| Name A | ABC | 1233 | Name B;Name C |
| Name B | DEF | 1234 | Name A;Name D; Name E |
| Name C | HIJ | 1235 | Name B;Name A; None |
+--------+---------+------+-------------------------+