slv.measurements.mobile.location.state_intervals#

slv.measurements.mobile.location.state_intervals(states, min_minutes=0)[source]#

Run-length table of a per-minute state series: start, end, state, minutes.

end is the last minute of the run (inclusive). Runs shorter than min_minutes are dropped (not merged) — useful to list depot stays only.

Return type:

DataFrame