RemoveColumn Process
Remove multiple columns
name | income | age |
John |
50,000 |
25 |
Marry |
60,000 |
30 |
Peter |
100,000 |
45 |
Donald |
80,000 |
40 |
->pipe(new RemoveColumn(array(
"age", "income"
)))
name |
John |
Marry |
Peter |
Donald |
Sometime you may want to simplify your data flow by removing some of columns from the datapipe. You can do so with RemoveColumn process. This process will act like a filter which only let other columns except for the columns specified passing through.
__Sample code__
```
->pipe(new RemoveColumn(array(
"age", "income"
)))
```