Overview

Request 1113178 accepted

- Update to 0.14.0
* GeoPandas will use Shapely 2.0 by default instead of PyGEOS
when both Shapely >= 2.0 and PyGEOS are installed. PyGEOS will
continue to be used by default when PyGEOS is installed
alongside Shapely < 2.0. Support for PyGEOS and Shapely < 2.0
will be removed in GeoPandas 1.0. (#2999)
## API changes:
* seed keyword in sample_points is deprecated. Use rng instead.
(#2913).
## New methods:
* Added concave_hull method from shapely to
GeoSeries/GeoDataframe (#2903).
* Added delaunay_triangles method from shapely to
GeoSeries/GeoDataframe (#2907).
* Added extract_unique_points method from shapely to
GeoSeries/GeoDataframe (#2915).
* Added frechet_distance() method from shapely to
GeoSeries/GeoDataframe (#2929).
* Added hausdorff_distance method from shapely to
GeoSeries/GeoDataframe (#2909).
* Added minimum_rotated_rectangle method from shapely to
GeoSeries/GeoDataframe (#2541).
* Added offset_curve method from shapely to
GeoSeries/GeoDataframe (#2902).
* Added remove_repeated_points method from shapely to
GeoSeries/GeoDataframe (#2940).
* Added reverse method from shapely to GeoSeries/GeoDataframe
(#2988).
* Added segmentize method from shapely to GeoSeries/GeoDataFrame
(#2910).
* Added shortest_line method from shapely to
GeoSeries/GeoDataframe (#2960).
## New features and improvements:
* Added exclusive parameter to sjoin_nearest method for Shapely
>= 2.0 (#2877)
* The to_file() method will now automatically detect the
FlatGeoBuf driver
* for files with the .fgb extension (#2958)
## Bug fixes:
* Fix ambiguous error when GeoDataFrame is initialized with a
column called "crs" (#2944)
* Fix a color assignment in explore when using UserDefined bins
(#2923)
* Fix bug in apply with axis=1 where the given user defined
function returns nested
* data in the geometry column (#2959)
* Properly infer schema for np.int32 and pd.Int32Dtype columns
(#2950)
* assert_geodataframe_equal now handles GeoDataFrames with no
active geometry (#2498)
## Notes on (optional) dependencies:
* GeoPandas 0.14 drops support for Python 3.8 and pandas 1.3 and
below (the minimum
* supported pandas version is now 1.4). Further, the minimum
required versions for the
* listed dependencies have now changed to shapely 1.8.0, fiona
1.8.21, pyproj 3.3.0 and
* matplotlib 3.5.0 (#3001)
## Deprecations and compatibility notes:
* geom_almost_equals() methods have been deprecated and
* geom_equals_exact() should be used instead (#2604).

Request History
Benjamin Greiner's avatar

bnavigator created request

- Update to 0.14.0
* GeoPandas will use Shapely 2.0 by default instead of PyGEOS
when both Shapely >= 2.0 and PyGEOS are installed. PyGEOS will
continue to be used by default when PyGEOS is installed
alongside Shapely < 2.0. Support for PyGEOS and Shapely < 2.0
will be removed in GeoPandas 1.0. (#2999)
## API changes:
* seed keyword in sample_points is deprecated. Use rng instead.
(#2913).
## New methods:
* Added concave_hull method from shapely to
GeoSeries/GeoDataframe (#2903).
* Added delaunay_triangles method from shapely to
GeoSeries/GeoDataframe (#2907).
* Added extract_unique_points method from shapely to
GeoSeries/GeoDataframe (#2915).
* Added frechet_distance() method from shapely to
GeoSeries/GeoDataframe (#2929).
* Added hausdorff_distance method from shapely to
GeoSeries/GeoDataframe (#2909).
* Added minimum_rotated_rectangle method from shapely to
GeoSeries/GeoDataframe (#2541).
* Added offset_curve method from shapely to
GeoSeries/GeoDataframe (#2902).
* Added remove_repeated_points method from shapely to
GeoSeries/GeoDataframe (#2940).
* Added reverse method from shapely to GeoSeries/GeoDataframe
(#2988).
* Added segmentize method from shapely to GeoSeries/GeoDataFrame
(#2910).
* Added shortest_line method from shapely to
GeoSeries/GeoDataframe (#2960).
## New features and improvements:
* Added exclusive parameter to sjoin_nearest method for Shapely
>= 2.0 (#2877)
* The to_file() method will now automatically detect the
FlatGeoBuf driver
* for files with the .fgb extension (#2958)
## Bug fixes:
* Fix ambiguous error when GeoDataFrame is initialized with a
column called "crs" (#2944)
* Fix a color assignment in explore when using UserDefined bins
(#2923)
* Fix bug in apply with axis=1 where the given user defined
function returns nested
* data in the geometry column (#2959)
* Properly infer schema for np.int32 and pd.Int32Dtype columns
(#2950)
* assert_geodataframe_equal now handles GeoDataFrames with no
active geometry (#2498)
## Notes on (optional) dependencies:
* GeoPandas 0.14 drops support for Python 3.8 and pandas 1.3 and
below (the minimum
* supported pandas version is now 1.4). Further, the minimum
required versions for the
* listed dependencies have now changed to shapely 1.8.0, fiona
1.8.21, pyproj 3.3.0 and
* matplotlib 3.5.0 (#3001)
## Deprecations and compatibility notes:
* geom_almost_equals() methods have been deprecated and
* geom_equals_exact() should be used instead (#2604).


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:7"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:7"


Saul Goodman's avatar

licensedigger accepted review

ok


Marcus Rueckert's avatar

darix accepted review

Accepted review for by_group opensuse-review-team request 1113178 from user staging-bot


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:7 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:7 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:7 got accepted.

openSUSE Build Service is sponsored by