Martin Fleischmann

Results 538 comments of Martin Fleischmann

This should be ready now.

> And, you're referring to the fact that the identifier dtype changes, right? Yes. `w.neighbors[0]` does not work after `gal` read, you have to pass it as a string `w.neighbors['0']`....

An update on this. I've found an issue with IO based on scipy sparse array. When we create sparse array here it does not necessarily preserve `dtype`. https://github.com/pysal/libpysal/blob/533229c2f5ae20fa1bda57dc723195719752a047/libpysal/weights/weights.py#L406 So in...

See also my point in https://github.com/pysal/spopt/pull/199#discussion_r730885776

@darribas just to clarify as I was dealing with it today in #313. `higher_order` does not make neigbors of neighbor **also** a neighbor, but makes them **only** neighbors. It ignores...

Spatial partitioning in Apache Sedona seems to be based on KDB-Tree, Quad-Tree and R-Tree. https://sedona.apache.org/tutorial/core-python/#use-spatial-partitioning Their example reminds me that we should have a method that repartitions a dataframe A...

> What's the plan for dask_geopandas.GeoDataFrame.set_index("")? I don't think there are any. GeometryArray currently doesn't support sorting. I'd say that the best solution, for now, would be to raise `NotImplementedError`.

@WindfallLabs We already have similar function: https://github.com/geopandas/geopandas/blob/50c59d395bc539eb411f9a5c6cdf04d37510060a/geopandas/tools/util.py#L13-L25 Not very smart one though.

Thanks for looking into this! I can think of a few cases we need to take care of. 1. `id_as_index=True` while no `id` in the JSON (as you mention). In...