I have a doubt in numpy array concatenation.
For eg,
If I have
a = [ 1, 2, 3]
b = [4, 5, 6, 7]
c= [5, 2]
Could I concatenate arrays of different size??? If so, How could it be possible?
Yes, You can using numpy.concatenate
import numpy as np
a = [ 1, 2, 3]
b = [4, 5, 6, 7]
c= [5, 2]
d = np.concatenate((a, b, c))
np.concatenate((a,b,c))?[1, 2, 3, 4, 5, 6, 7, 5, 2], or do you want to create something like a jagged array usinga,bandcfor the rows (so the rows have different lengths)? It would help if you could put that information in the question.