I have a dataset which contains Billno and Product columns in the following format:
Billno Product
1 123
1 176
2 189
3 1
3 2
3 44
3 46
etc
The output should be a table of the form:
Billno Prod1 Prod2 Prod3 Prod4
1 123 176
2 189
3 1 2 44 46
Split function works but the dataset contains more than million records. Is there an efficient way of doing this?