human
Here's a good function header given the following:
I wrote the below code

    if (not arrays):
        return ()
    result = []
    dim = 0
    def shape(x):
        try:
            return x.shape
        except AttributeError:
            return (1,)
    while isinstance(arrays, (list, tuple)):
        result.append(tuple([shape(deepfirst(a))[dim] for a in arrays]))
        arrays = arrays[0]
        dim += 1
    return tuple(result)

What's a good function header?
assistant
#Here's a good function header.

def chunks_from_arrays(arrays):