Relative Content

Tag Archive for kotlinkotlin-dataframe

Cannot get values of columns in where function of update operation – Kotlin Dataframe

I’m trying to use update to change values in cells like in the tables below. I want consecutive duplicates of a set of columns to be replaced with nulls. Is there a way to do this other than what I’m trying below? There is an issue with the update operation’s where function in which just a single column from update’s parameters is in scope for the row condition for evaluation of the condition. The it variable has the value for a single column from update’s parameters at a time. Additionally, using the column accessor variable as in the example below doesn’t get the value for the columns in the where block as I would like.