human
Find max length of each column in a list of lists
assistant
Here is some code to get the value with the maximum length in each column in array `foo`

[max(len(str(x)) for x in line) for line in zip(*foo)]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.