This example shows the usage of RowNumColumn process
| name | income |
|---|---|
| John | $50,000 |
| Marry | $60,000 |
| Peter | $100,000 |
| Donald | $80,000 |
->pipe(new RowNumColumn("RowNumCol1"))
->pipe(new RowNumColumn(array(
"RowNumCol2", "RowNumCol3"
), 1))
| name | income | RowNumCol1 | RowNumCol2 | RowNumCol3 |
|---|---|---|---|---|
| John | $50,000 | 0 | 1 | 1 |
| Marry | $60,000 | 1 | 2 | 2 |
| Peter | $100,000 | 2 | 3 | 3 |
| Donald | $80,000 | 3 | 4 | 4 |