Ich habe eine Textdatei:Liste der Attribute mit jedem Element der Textdatei zugeordnet
Name Attribute
A b1
B b2
C b3
B b4
A b5
C b7
Ich möchte die Ausgabe
Name Attribute
A (b1,b5)
B (b2,b4)
C (b3,b7)
Alle Python/Pandas Vorschläge für diese sein?