Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
87 views

How do I create a Geodataframe which the data is grouped by User ID & the timestamp is sorted from oldest to most recent?

I've been struggling to complete this exercise (Exercise 2 Problem 3) which you guys can refer to this link. A reminder that the kruger_points.shp is obtained from Exercise 2 Problem 2. Here's the ...
mfirdaus_96's user avatar
0 votes
1 answer
3k views

GeoPandas TypeError: geometries are not orderable (numpy: TypeError: '<' not supported between instances of 'Point' and 'Point')

I'm trying to group rows of a GeoDataFrame based on a common gid value and aggregating two columns for which the values differ but I am facing this error: TypeError ...
swiss_knight's user avatar
  • 10.9k
1 vote
1 answer
367 views

Dissolving polygons based on data values in GeoPandas

I have a long list of polygons in the GeoPandas GeoDataFrame (Sample below) Index zone_name value geometry 0 A 100 POLYGON ((77.47638480859382 13.05584728590942, 77....
Ani's user avatar
  • 125
5 votes
1 answer
1k views

Grouping GeoDataFrame by column while comparing feature area and adding values to new column with GeoPandas

I have these columns: "index", "area_of_poly", "cad_admin" in my GeoDataFrame, the dataset is available here: http://www.mediafire.com/file/x4q5k7xuztq6o3w/p.zip. Now, I ...
user122244's user avatar
1 vote
1 answer
2k views

Extract and sort x coordinates in groups from a column to a new one in geopandas?

I am working with geopandas There are these columns:geo,cat and I have to make the new column called rank. rank should contain according to the groups with the similar cat number an increasing ...
user122244's user avatar