I would like to format the data of below table as follows. Here on the value column, I want to maintain only on value for each of the duplicated rows.
input table
code value
A 10
A 10
A 10
B 20
B 20
B 20
C 30
C 30
D 40
Expected result
code value
A 10
A
A
B 20
B
B
C 30
C
D 40
nullinstead of value? what have you tried?