StackOverflow Questions for Tag: sub-array

Fjarlaegur
Fjarlaegur

Reputation: 1443

Group rows of a 2d array by a column and create subarray elements from another column

Score: 1

Views: 1619

Answers: 4

Read More
PrimuS
PrimuS

Reputation: 2683

Isolate unique values from a column of a 2d array and group other columns into subarrays

Score: 0

Views: 63

Answers: 2

Read More
Nicero
Nicero

Reputation: 4377

Group array items by key value adding an associative element with the grouped values

Score: -1

Views: 56

Answers: 2

Read More
Shubham Azad
Shubham Azad

Reputation: 796

Group 2d array data by a column and create new parent columns and subarrays for each group

Score: 1

Views: 138

Answers: 3

Read More
Astha
Astha

Reputation: 1734

Group rows of a 2d array by a column value and push whole rows as child elements per group

Score: -1

Views: 117

Answers: 1

Read More
AnalogKidult
AnalogKidult

Reputation: 3

Group 2d array data by one column and fills a subarray with values from another column per group

Score: -2

Views: 43

Answers: 2

Read More
user13957687
user13957687

Reputation:

Group a 2d array by a column and create a subarray from another column per group

Score: 2

Views: 74

Answers: 2

Read More
Short Port
Short Port

Reputation: 77

Group an array of objects by shared column values and create a subarray for a column where the values differ per group

Score: 0

Views: 100

Answers: 2

Read More
Ulfe
Ulfe

Reputation: 41

Group 2d array data by one column and create a subarray from another column per group

Score: 2

Views: 330

Answers: 3

Read More
Nauman Bashir
Nauman Bashir

Reputation: 1752

restructure a multidimentional array in php based on its values

Score: 2

Views: 170

Answers: 1

Read More
DanielAttard
DanielAttard

Reputation: 3615

Change the structure of a multi-dimensional array

Score: 0

Views: 185

Answers: 2

Read More
Tim
Tim

Reputation: 395

Split a flat array into subarrays based on a delimiting element

Score: 5

Views: 1964

Answers: 2

Read More
user431806
user431806

Reputation: 416

Group recurring values from a flat array into their own respective subarrays

Score: 0

Views: 1936

Answers: 3

Read More
bencarter78
bencarter78

Reputation: 3895

Group ObjectArray data by a column and populate a subarray in each group from other columns

Score: 1

Views: 100

Answers: 3

Read More
Dejavu
Dejavu

Reputation: 713

Group rows by one column and populate subarray within group with another column's value

Score: 0

Views: 376

Answers: 2

Read More
RomMer
RomMer

Reputation: 1089

Group row data of a 2d array by a column and push another column as subarray items per group

Score: 0

Views: 50

Answers: 3

Read More
MikO
MikO

Reputation: 18751

Group 2d array data by one column and create a subarray in each group from another column

Score: 0

Views: 62

Answers: 1

Read More
Harish Kurup
Harish Kurup

Reputation: 7525

Group row data from a 2d array by one column and populate the group's subarray with another column

Score: 2

Views: 4591

Answers: 2

Read More
Aaron George
Aaron George

Reputation: 138

Grouping data while looping by one value and push another value into the group as a subarray value

Score: 3

Views: 2276

Answers: 5

Read More
Avión
Avión

Reputation: 8396

Group 2d array data by a column and only create a subarray if more than one item in group

Score: -3

Views: 81

Answers: 2

Read More
PreviousPage 1Next