Open rolocampusano opened 5 years ago
i meant to raise an issue earlier (especially because now I cant remember how I discovered the fix) but there's an error in the docs. To use exponential decay, I believe you have to use decay='exp'
not exponential
This is great. It worked! Should I change the issue so that there is a fix in the docs?
This is still in the documentation. Would a PR be well received for a correction?
Description of the bug
I'm creating a value of land access for each node where I want to sum de land area a node can access within 1000m with exponential distance decay. The data is summed from a grid cell so I first attach each grid centroid to the closest node and then sum from then. The network I'm using is obtain through the osm loader and the aggregation works just fine when I use linear decay but when I use exponential decay I get the following panda error.
ValueError: Length of passed values is 0, index implies 326262
Environment
Paste the code that reproduces the issue here:
Whole error message