Questions tagged [group]

585 questions
1
vote
2 answers

Drop rows in pandas dataframe depending on order and NaN

I am using pandas to import a dataframe, and want to drop certain rows before grouping the information. How do I go from the following (example): Name1 Name2 Name3 0 A1 B1 1 1 NaN NaN 2 2 NaN NaN 3 3 NaN B2 4 4 NaN NaN 5 5 …
chrundle
  • 13
  • 3
1
vote
1 answer

How to more + rotate 180 degree + move a group of shape using Processing?

I'm having this Processing issue where I'm trying to make my ariplane do a 180 turn-over right before it gets to the end of the drawing... It looks fairly simple but I just can't get it to work. Help would be much appreciated. As I have other…
1
vote
1 answer

How to group at the for loop through the second condition

unfortunately I'm having trouble creating a correct display of mianowiecie values. I have such a DF: Group Match Team A 1 A1 A 1 A2 A 2 A3 A 2 A4 I have this code: for group in set(world_cup['Group']): print('___Starting group…
Kon Wes
  • 19
  • 3