ecoscope.io.earthranger_utils ============================= .. py:module:: ecoscope.io.earthranger_utils Module Contents --------------- .. py:function:: clean_kwargs(addl_kwargs = None, **kwargs) .. py:function:: normalize_column(df, col, sort_columns = False) .. py:function:: dataframe_to_dict_or_list(events) .. py:function:: to_gdf(df) .. py:function:: format_iso_time(date_string) .. py:function:: to_hex(val, default = '#ff0000') .. py:function:: pack_columns(dataframe, columns) This method would add all extra columns to single column .. py:function:: geometry_from_event_geojson(df, geojson_column = 'geojson', force_point_geometry = True, drop_null_geometry = True) .. py:function:: unpack_events_from_patrols_df(patrols_df, event_type = None, force_point_geometry = True, drop_null_geometry = True)