What about
c = np.stack((a,b), axis=3)
More Related Contents:
- Most efficient way to map function over numpy array
- How to do exponential and logarithmic curve fitting in Python? I found only polynomial fitting
- What does -1 mean in numpy reshape?
- Frequency counts for unique values in a NumPy array
- How do I create an empty array and then append to it in NumPy?
- numpy.where() detailed, step-by-step explanation / examples [closed]
- How to plot empirical cdf (ecdf)
- What does “three dots” in Python mean when indexing what looks like a number?
- What is the inverse function of zip in python? [duplicate]
- In-place type conversion of a NumPy array
- Matplotlib: TypeError: can’t multiply sequence by non-int of type ‘numpy.float64’
- NumPy: Pretty print tabular data
- Are numpy’s basic operations vectorized, i.e. do they use SIMD operations?
- How to ‘turn off’ blurry effect of imshow() in matplotlib?
- Numpy vs Cython speed
- Get coordinates of local maxima in 2D array above certain value
- Add multiple values to one numpy array index
- How to get element-wise matrix multiplication (Hadamard product) in numpy?
- How to get the indices list of all NaN value in numpy array?
- Combine 3 separate numpy arrays to an RGB image in Python
- Python’s and Numpy’s nan and set
- Neural network XOR gate not learning
- How to implement the ReLU function in Numpy
- Numpy Array Get row index searching by a row
- Fit mixture of two gaussian/normal distributions to a histogram from one set of data, python
- Installing NumPy via Anaconda in Windows
- Remove consecutive duplicates in a NumPy array
- Convert list of lists with different lengths to a numpy array [duplicate]
- Select elements of numpy array via boolean mask array
- NumPy library ImportError: DLL load failed: The specified procedure could not be found