I have a list with values for which each value has at least one (but often more) consecutive value(s) that have a .033 increment:
l = [26.051, 26.084, 26.117, 26.15, 26.183, 31.146, 31.183, 34.477, 34.51, 34.543]
I would like to split this list into sublists where consecutive items that differ by .033 are combined, and when the difference is larger to start a new sublist:
l = [ [26.051, 26.084, 26.117, 26.15, 26.183], [31.146, 31.183], [34.477, 34.51, 34.543] ]