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

> Generate a linestring geometry column from a list of coords separated by a delimiter in a string column.

Generate a linestring geometry column from a list of coords separated by a delimiter
in a string column.

SQL reference: [`ST_LineStringFromText`](/reference/wherobots-db/geometry-data/constructors/ST_LineStringFromText)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_constructors import ST_LineStringFromText

ST_LineStringFromText(coords: ColumnOrName, delimiter: ColumnOrName) -> Column
```

## Parameters

<ParamField path="coords" type="ColumnOrName" required>
  String column containing a list of coords.
</ParamField>

<ParamField path="delimiter" type="ColumnOrName" required>
  Delimiter that separates each coordinate in the coords column, a string constant must be wrapped as a string literal (using pyspark.sql.functions.lit).
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Linestring geometry column generated from the list of coordinates.
</ResponseField>


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