Posts by Pingam • 25 points
2 posts
-
1
votes1
answer464
viewsQ: How to group a column containing a list in pandas? - Python3
Talk to the guys! I have a problem with pandas who can’t find a solution. I have the following dataset: I wanted to make a group where, for each year, and in each category present that year, it…
-
1
votes3
answers184
viewsQ: Function to duplicate a Python list
Guys I have this list: lista = [['10616558', 0], ['2856466', 1], ['9715350', 2], ['9715350', 3], ['9715350', 4], ['10720706', 5]] The first element is any string, and the second is an index. I need…