I performing following operation:
matrix_a = np.concatenate(matrix_a, matrix_b)
both matrices type is <type 'numpy.ndarray'>
shapes of matrices are:
(26, 127)
(67, 127)
The operation throws following error:
TypeError: only length-1 arrays can be converted to Python scalars
Can someone explain why i get this error and how to fix that?
Many thanks!
Fixed. Matrices should be a tuple:
matrix_a = np.concatenate((matrix_a, matrix_b))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With