0

This is a numpy string array.

Column 1      Column 2      Column 3
A             B             C
a             b             c
A             B             C
a             b             c

I would like to concatenate each row horizontally and derive a new array with the same row number like the following:

Column 1
ABC
abc
ABC
abc

Thanks.

Yu Guo
  • 371
  • 1
  • 4
  • 13

0 Answers0