class_i is an m x n numpy array:
list = []
class_list=[class1,class2,class3,class4,class5,class6,class7]
for class_i in class_list:
#data processing here
list_1.append(class_i)
list_1 = np.array(list)
The list_1 numpy array contains the classes as in the form:
[[ 314.5513238 314.4571136 314.2739476 ... 314.6 314.6 314.6 ]
[ 314.5890785 314.5254568 314.4539721 ... 314.6 314.6 314.6 ]
[ 314.5886471 314.4992394 314.3350225 ... 314.6 314.6 314.6 ]
...
which is wrong, it does not contain every single value of the numpy classes.
Any way to fix this?
listas a variable name to prevent shadowing the built-in list function. And to achieve what you want why not justa = np.array(class_list)shapeoflist_1? I don't think there's an issue with theappend. What do you get withnp.array(class_list)? And regarding the...- that's just a display feature.list_1to have? The row and column dimensions of the arrays inlistdo not all match.