Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_gdf = gpd.GeoDataFrame(columns=foo.columns)
- for index, row in foo.iterrows():
- bar = foo[foo[row]].rotate(foo[rotation_col], origin='center')
- new_gdf=new_gdf.append(bar)
- foo_new = foo.apply(foo.rotate(foo.rotation_col, origin='center'))
Add Comment
Please, Sign In to add comment