You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the row index 1 (value ,Phone) is reached, the fill with block is executed and the previous row (index 0 Peter,TV) contains the Name as expected.
But it seems that for the next row (index 2 ,Car), the previous row does not contain the value that was filled previously.
We have the prev()?.newValue<>() notation for this purpose. newValue() returns the after-calculation value of the selected row at the current column.
This is mentioned at the add() operation but the same applies to fillNulls.with:
Given this code:
Current output:
When the row index 1 (value
,Phone
) is reached, the fill with block is executed and the previous row (index 0Peter,TV
) contains the Name as expected.But it seems that for the next row (index 2
,Car
), the previous row does not contain the value that was filled previously.Expected output:
Version:
implementation("org.jetbrains.kotlinx:dataframe:0.15.0")
The text was updated successfully, but these errors were encountered: