Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 11982b9

Browse files
committed
make buffer doctest more robust
1 parent 79c6286 commit 11982b9

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • bigframes/bigquery/_operations

bigframes/bigquery/_operations/geo.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,11 @@ def st_buffer(
138138
1 POINT (1 1)
139139
dtype: geometry
140140
141-
>>> bbq.st_buffer(series, 1000)
142-
0 POLYGON ((-0.00899 0.00005, -0.00883 -0.00171,...
143-
1 POLYGON ((0.99101 1.00005, 0.99117 0.99829, 0....
144-
dtype: geometry
141+
>>> buffer = bbq.st_buffer(series, 100)
142+
>>> bbq.st_area(buffer) > 0
143+
0 True
144+
1 True
145+
dtype: boolean
145146
146147
Args:
147148
series (bigframes.pandas.Series | bigframes.geopandas.GeoSeries):

0 commit comments

Comments
 (0)