Create a sequential number (counter) for rows within each group of a dataframe
13177
Numbering rows within groups in a data frame
69990
How to find gaps in sequential numbering in mysql?
114048
Dividing polygons into *n* number of groups of equal counts with ArcPy?
125333
How to iterate over rows in a DataFrame in Pandas
138242
Change row order in a matrix/dataframe
25035
SQL: Repeat a result row multiple times, and number the rows
37768
How to assign rows in multiples of a number (Excel/Google Docs)
106247
Count number of rows with conditions met in two columns
39134
Subset data frame based on number of rows per group
51724
Calculate Nth multiset combination (with repetition) based only on index
25066
Adding a new column to each element in a list of tables or data frames
33311
Identify groups of continuous numbers in a list
68464
error in count script for number of occurences
129965
Assigning row number for sorted table by column in QGIS
146977
Subset of a data frame with the penultimate values of one of the columns
60433
How to count the number of occurrences of an element in a List
71175
What is the most efficient way to loop through dataframes with pandas?