List.Slice not giving correct results

Hello everyone.
I’m reading data from an specific column in some schedules, as you can see as the output of the Python Script.
I want to drop the column header an the empty row so I can get only the unique items below, but as you can see in the sublist 5 the final result should be B but for some reason I’m getting A.
This is happening in other 2 schedules as well. Is there something that I’m doing wrong?

List.RemoveAtIndex @L2, with [0,1] as an input would be an alternative method to get this result.

With List.Slice I think you’ll want @L1 for end instead of @L2, or turn the @L input off for end and set lacing to longest instead.

1 Like

Thank you!
I ended up using ‘List.DropItems’ with an amount of 2 but your suggestion should work as well.

1 Like