From 52c0e53ca7d8f74aea154c55e6ce9c0d72cccf6b Mon Sep 17 00:00:00 2001 From: Lukas Eller Date: Thu, 25 Mar 2021 16:02:31 +0100 Subject: [PATCH] removed networkx dependency --- measprocess/geospatial.py | 1 - measprocess/preprocess.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/measprocess/geospatial.py b/measprocess/geospatial.py index 46260d1..b91eaa9 100644 --- a/measprocess/geospatial.py +++ b/measprocess/geospatial.py @@ -1,7 +1,6 @@ import overpy import geopandas as gpd from shapely.geometry import LineString, Polygon -import networkx as nx from scipy.spatial.distance import cdist import numpy as np import warnings diff --git a/measprocess/preprocess.py b/measprocess/preprocess.py index f97e30c..ee0a960 100644 --- a/measprocess/preprocess.py +++ b/measprocess/preprocess.py @@ -8,7 +8,7 @@ def link_dataframes(A: pd.DataFrame, B: pd.DataFrame, ref_col: str, unique_col=N :param ref_col: Reference Column to merge dataframes. Has to exist in both frames :param metric: Metric used to determine matches in ref_col. Default lambda a, b: (a - b).abs() - :param unique_per_index_col: Is needed for scanner where + :param unique_col: Is needed for scanner where indices and timestamps are not unique unique_col="PCI" :return: Single merged dataframe consisting of a multiindex from A and B ''' -- 2.22.0