I’d like to set a row value in a column to a previously used row value in the same column, using a common identifier from both rows.
For illustration’s sake, the first table below represents data that was filled in prior.
The 2nd table represents the same dataframe, updated with new rows but with missing cells in the ‘Entry’ column.
I’d like the same Entry value to be pasted into the new rows, using ‘SKU’ as the identifier, meaning ‘Bulbasaur’ should have the value ‘Starter’, & ‘Ivysaur’ should have the value ‘2nd Form’
Does anyone know the easiest way to make this work?
seems to me you could solve this with a Group Loop Start node based on SKU where you’ll use Missing Value node inside it and fill missing’s with previous value as @Daniel_Weikert said.
Thanks for your inputs, I found a solution to the problem before reading this, by using a groupby on the original datatable to get the values & joining them to the new entries before concatenating both. Will still try your suggestions & see which one is more effective for myself.