I'm working the numpy librairy in Python 3. I would like to have a 3 dimensionnal array with the first two dimension named.
I have created a 3 dimensionnal array. I want to access the array like this
my_3d_array["dim1_colnameX", "dim2_colnameX", 2:4]
I don't know if this is possible.
Here's what I've done:
import numpy as np
my_3d_array = np.zeros((2, 3, 5))
my_dtype = np.dtype(XXXX)
my_3d_array= my_3d_array.dtype(my_dtype)
print(my_3d_array)
Thank you!