I want to make an 4 dimensional array of zeros in python. I know how to do this for a square array but I want the lists to have different lengths.
Right now I use this:
numpy.zeros((200,)*4)
Which gives them all length 200 but I would like to have lengths 200,20,100,20 because now I have a lot of zeros in my array that I don't use