For visual simplicity let's rename video_132
--> a
, and video_146[1][146][45]
--> b
. The particular values aren't important so let's say
In [82]: a = np.zeros((64, 3))
In [83]: b = np.ones((3,))
Then we can append b
to a
using:
In [84]: np.concatenate([a, b[None, :]]).shape
Out[84]: (65, 3)
Since np.concatenate returns a new array, reassign its return value to a
to "append" b
to a
:
a = np.concatenate([a, b[None, :]])