> ## 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_RemovePoint (Python)

> Remove the specified point (0-th based) for a linestring geometry column.

Remove the specified point (0-th based) for a linestring geometry column.

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

## Signature

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

ST_RemovePoint(line_string: ColumnOrName, index: Union[ColumnOrName, int]) -> Column
```

## Parameters

<ParamField path="line_string" type="ColumnOrName" required>
  Linestring geometry column to remove the point from.
</ParamField>

<ParamField path="index" type="Union[ColumnOrName, int]" required>
  Index for the point to remove as either an integer or an integer column, 0-th based, negative numbers are ignored.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Linestring geometry column with the specified point removed, or null if the index is out of bounds.
</ResponseField>


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