How to assign a series of value to selected rows without using a for loop?
Hi, all
I used get rows where() to get a series of rows and want to assign the values in the rows under column b to the same rows under another column, like below
rows = dt << get rows where (column("b")[ ] == "xxx");
column ("a")[rows] = column ("b") [rows];
But it doesn't work, want to know is there any way to assign a series of values to selected rows without using a for loop?
Thank you