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

> Return the M coordinate of a point geometry.

Return the M coordinate of a point geometry.

SQL reference: [`ST_M`](/reference/wherobots-db/geometry-data/accessors/ST_M)

## Signature

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

ST_M(geom: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geom" type="ColumnOrName" required />

## Returns

<ResponseField name="return" type="Column">
  M coordinate of the point geometry as a double column.
</ResponseField>


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