Skip to main content
Get coordinates as a distributed pandas-on-Spark DataFrame. The returned frame has x and y columns. With include_z=True or include_m=True, it also has z or m columns, respectively. Missing optional ordinates are represented by NaN.

Signature

Parameters

bool
default:"False"
Include Z coordinates.
bool
default:"False"
If True, label the result with a new zero-based sequential index, ignoring index_parts.
bool
default:"False"
If True, append a zero-based coordinate-position level to the original index.
bool
default:"False"
Include M coordinates.

Returns

pyspark.pandas.DataFrame

Examples