Hi-Folks / array

Arr class is built on top of the PHP array functions. Arr exposes methods for creating, managing, accessing to the array data structure.
https://packagist.org/packages/hi-folks/array
MIT License
15 stars 9 forks source link

Update the groupBy method to allow for the return of a Table object #50

Closed RoadSigns closed 2 years ago

RoadSigns commented 2 years ago

Summary

I've created a merge request to update the groupBy method to return a table from the object. This allows us to continue the use of the other methods available within the Table object.

I've also created a transform method within the Table class. This allows us to run a method over a column and change how the value within the table.

roberto-butti commented 2 years ago

@RoadSigns thank you for the PR, i'm going to take a look, and then i will tag a new release (i think for tomorrow)

RoadSigns commented 2 years ago

@roberto-butti That's no problem.