Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
measprocess
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas Eller
measprocess
Commits
52c0e53c
Commit
52c0e53c
authored
Mar 25, 2021
by
Lukas Eller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed networkx dependency
parent
4d0a9207
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
geospatial.py
measprocess/geospatial.py
+0
-1
preprocess.py
measprocess/preprocess.py
+1
-1
No files found.
measprocess/geospatial.py
View file @
52c0e53c
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
...
...
measprocess/preprocess.py
View file @
52c0e53c
...
...
@@ -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
'''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment