> ## 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.

# ST_ForceCollection (Python)

> Converts a geometry to a geometry collection

Converts a geometry to a geometry collection

SQL reference: [`ST_ForceCollection`](/reference/wherobots-db/geometry-data/editors/ST_ForceCollection)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_ForceCollection

ST_ForceCollection(geometry: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Geometry column to change orientation
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  a Geometry Collection
</ResponseField>


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