A python package project for doing analysis on coordinates and clustering them.
Project description
# hedron A python package project for doing analysis on coordinates and clustering them.
Create Cluster objects by passing in your geolocation data in a pandas DataFrame and the Latitude and Longitude column header names. Quickly and easily identify where the clusters are in your geolocation data by using Cluster objects in your pandas workflow.
Use the make_clusters method with digits parameter set to 3 in order to create a SuperCluster object that contains all the different Cluster objects with coordinates that start with the same numbers of digits (if digits is 3, 29.423706, -98.486897 –> ‘29.423,-98.486’). 3 digits gives you Clusters with coordinates within 110 Meters of each other.
Further clustering methods allow for more refinement like colocation with different IDs in the same Cluster and same day colocation where multiple IDs are colocated in the same Cluster on the same day.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.