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

> Sew together the constituent line work of a multilinestring into a single linestring.

Sew together the constituent line work of a multilinestring into a
single linestring.

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

## Signature

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

ST_LineMerge(multi_line_string: ColumnOrName) -> Column
```

## Parameters

<ParamField path="multi_line_string" type="ColumnOrName" required>
  Multilinestring geometry column to merge.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Linestring geometry column resulting from the merger of multi\_line\_string.
</ResponseField>


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