OnlyColumn Process

Keep selected columns and discard the rest

nameincomeage
John 50,000 25
Marry 60,000 30
Peter 100,000 45
Donald 80,000 40

->pipe(new OnlyColumn(array(
    "age", "income"
)))
ageincome
25 50,000
30 60,000
45 100,000
40 80,000
Description