diff --git a/ecoscope/io/earthranger.py b/ecoscope/io/earthranger.py index daa6417b..805f8024 100644 --- a/ecoscope/io/earthranger.py +++ b/ecoscope/io/earthranger.py @@ -724,7 +724,7 @@ def get_patrol_observations(self, patrols_df, patrol_type=None, include_patrol_d df = ecoscope.base.Relocations(pd.concat(observations)) if include_patrol_details: - return df.set_index("id") + return df.set_index("id") return df def get_patrol_segment_events(