KD/Qtree Implementation
问题 I have a following path data: id1 p1 p2 0 1 7.935 5.103 1 1 7.934 5.112 2 1 7.936 5.102 3 1 7.938 5.145 4 2 7.930 5.191 5 2 7.945 5.161 6 2 7.954 5.127 In the above data frame, (p1,p2) forms the coordinate data and all the points belonging to the same "id1" forms one separate path; in the above df rows(0-3) belonging to id1 = 1 is one path and so on. I am trying to implement Quadtree for the analysis of these trajectories. To implement Quadtrees I am trying to use "pyqtree" https://github.com