For example using the data set
-----------------------
_stat_ region count
-----------------------
N 123 564
MEAN 234 221
MAX 233 123
MIN 345 675
STD 765 111
How can we convert it into
---------------------------
_stat_ region count
---------------------------
N 123 564
MEAN 234 221
MAX, MIN 233,345 123,675
STD 765 111
-----------------------
_stat_ region count
-----------------------
N 123 564
MEAN 234 221
MAX 233 123
MIN 345 675
STD 765 111
How can we convert it into
---------------------------
_stat_ region count
---------------------------
N 123 564
MEAN 234 221
MAX, MIN 233,345 123,675
STD 765 111