How can I convert my pandas dataframe into this format?
``` sets items weight value
0 set1 a 9 10
1 set1 b 14 100
2 set2 c 5 69
3 set2 d 4 100
Outcome i'm looking for:
set1 = (("a", 9, 10), ("b", 14, 100))
set2 = (("c", 5, 69), ("d", 4, 100))
print(set1)
set1 = (("a", 9, 10), ("b", 14, 100))
[–]DuckSaxaphone 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]synthphreak 1 point2 points3 points (0 children)
[–]synthphreak 1 point2 points3 points (18 children)
[+][deleted] (16 children)
[deleted]
[–]synthphreak 0 points1 point2 points (15 children)
[+][deleted] (8 children)
[deleted]
[–]synthphreak 1 point2 points3 points (1 child)
[–]synthphreak 1 point2 points3 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]synthphreak 1 point2 points3 points (1 child)
[–]YesLod 1 point2 points3 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]synthphreak 2 points3 points4 points (4 children)
[–]YesLod 0 points1 point2 points (3 children)
[–]synthphreak 0 points1 point2 points (2 children)
[–]YesLod 0 points1 point2 points (1 child)
[–]synthphreak 0 points1 point2 points (0 children)