> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GeoDataFrame.bounds

> Returns a DataFrame with columns minx, miny, maxx, maxy values containing the bounds for each geometry.

Returns a `DataFrame` with columns `minx`, `miny`, `maxx`,
`maxy` values containing the bounds for each geometry.

See `GeoSeries.total_bounds` for the limits of the entire series.

## Examples

```python theme={"system"}
>>> from shapely.geometry import Point, Polygon, LineString
>>> d = {'geometry': [Point(2, 1), Polygon([(0, 0), (1, 1), (1, 0)]),
... LineString([(0, 1), (1, 2)])]}
>>> gdf = geopandas.GeoDataFrame(d, crs="EPSG:4326")
>>> gdf.bounds
minx  miny  maxx  maxy
0   2.0   1.0   2.0   1.0
1   0.0   0.0   1.0   1.0
2   0.0   1.0   1.0   2.0
```

You can assign the bounds to the `GeoDataFrame` as:

```python theme={"system"}
>>> import pandas as pd
>>> gdf = pd.concat([gdf, gdf.bounds], axis=1)
>>> gdf
geometry  minx  miny  maxx  maxy
0                     POINT (2 1)   2.0   1.0   2.0   1.0
1  POLYGON ((0 0, 1 1, 1 0, 0 0))   0.0   0.0   1.0   1.0
2           LINESTRING (0 1, 1 2)   0.0   1.0   1.0   2.0
```

## Signature

```python theme={"system"}
GeoDataFrame.bounds: ps.DataFrame
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.