1# Example usage using list comprehension:
2# Say you have the following list of lists of strings and want integers
3x = [['565.0', '575.0'], ['1215.0', '245.0'], ['1740.0', '245.0']]
4list_of_integers = [[int(float(j)) for j in i] for i in x]
5
6print(list_of_integers)
7--> [[565, 575], [1215, 245], [1740, 245]]
8
9# Note, if the strings don't have decimals, you can omit float()