get_coordinates_2d#

GeosSeriesAccessor.get_coordinates_2d(*args, **kwargs)#

Gets coordinates from a geometry array as an array of floats.

Applies shapely.coordinates.get_coordinates to the data and returns a Series with the result.

Returns:

Series with the results of the function.

Return type:

pandas.Series

Note

The shapely functions gets called with these default values that cannot be overwritten: {‘include_z’: False, ‘return_index’: True}