Apr-01-2021, 09:49 AM
Hi there
Thank you for your idea!
I recently sorted the problem using a for-loop with a empty id column and if current_id == old_id then id = id + 1
and using iloc for the transformation.
Your idea seems more elegant though!
Have a nice easterweeekend!
Tim
Thank you for your idea!
I recently sorted the problem using a for-loop with a empty id column and if current_id == old_id then id = id + 1
and using iloc for the transformation.
Your idea seems more elegant though!
Have a nice easterweeekend!
Tim