PYTHON How to access the index of the first and last of consecutive boolean values (or 1's and 0's) in a list/series/dataframe
PYTHON How to access the index of the first and last of consecutive boolean values (or 1's and 0's) in a list/series/dataframe

