hstack() function is used to stack the sequence of input arrays
horizontally (i.e. column wise) to make a single array.
Syntax : numpy.hstack(tup) Parameters : tup : [sequence of ndarrays] Tuple
containing arrays to be stacked.
The arrays must have the same shape along all but the second axis.