That this answer to Convert numpy ndarray to tuple of tuples in optimize method doens't offer anything more than tuple(tuple(i) for i in a[:,0,:])
suggests this doesn't exist, but I am looking for something like a .totuple()
method similar to numpy's .tolist()
in that you don't need to know the number of dimensions beforehand to generate a tuple of tuples of tuples...
For my needs this would apply to a float or integer numerical array only.