I am trying to convert all elements of the small lists in the big list to integers, so it should look like this:
current list: list = [[\'1\',\'2\',\'3\'],[\
You can use a nested list comprehension:
converted = [[int(num) for num in sub] for sub in lst]
I also renamed list to lst, because list is the name of the list type and not recommended to use for variable names.
list
lst