StackOverflow Questions for Tag: grouping

Matthew Colley
Matthew Colley

Reputation: 11456

Group 2d array data by one column and then sort by another column

Score: 3

Views: 337

Answers: 1

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
Michelle
Michelle

Reputation: 2235

Output a multidimensional array in groups

Score: 3

Views: 257

Answers: 4

Read More
Nick Mart
Nick Mart

Reputation: 363

Remove prefix from keys of an associative array and use the prefix as the first level key of a grouped 2d array

Score: 0

Views: 66

Answers: 4

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
Gutek
Gutek

Reputation: 107

Group data from a 2d array by one column and push values calculated from other columns into the group's subarray

Score: 0

Views: 57

Answers: 1

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
Johnathan Au
Johnathan Au

Reputation: 5362

Group 2d array data by a column

Score: 1

Views: 130

Answers: 3

Read More
Jake
Jake

Reputation: 240

Group array values by trailing letters

Score: -6

Views: 45

Answers: 1

Read More
JelleP
JelleP

Reputation: 1004

Group data from a 2d array by a column and count the unique values of another column per group

Score: 2

Views: 87

Answers: 1

Read More
Emilio Gort
Emilio Gort

Reputation: 3470

Convert an indexed array of associative arrays into a 3d associative array

Score: 1

Views: 150

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
jimshot
jimshot

Reputation: 109

Restructuring Multi Dimensional Array Format

Score: 0

Views: 60

Answers: 4

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
azzy81
azzy81

Reputation: 2289

"Bin packing problem": Split a flat array to creates sets of values satisfying a predefined sum

Score: 4

Views: 2404

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
PreviousPage 2Next