E
E
Ensiouel2019-05-26 13:00:42
Python
Ensiouel, 2019-05-26 13:00:42

What is the correct way to concatenate numpy arrays?

There is some code like this

from skimage import io
import numpy as np
a = io.imread("ссылка1")
b = io.imread("ссылка2")

And if I use np.append(a, b)it, I will end up with a one-dimensional array with all the values ​​from the array a and b, and I need to create a new array of the type [array a, array b], using exactly numpy

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question