Parameters
dataframe to cluster. Must contain at least one GeometryType column
minimum distance parameter of DBSCAN algorithm
minimum number of points parameter of DBSCAN algorithm
name of the geometry columnThe dataframe should contain at least one
GeometryType column. Rows must be unique.
If one geometry column is present it will be used automatically.
If two are present, the one named 'geometry' will be used. If more than one are present
and neither is named 'geometry', the column name must be provided. The new column will be named 'cluster'.whether to include outliers in the output. Default is false
whether to use a cartesian or spheroidal distance calculation. Default is false
what the name of the column indicating if this is a core point should be. Default is “isCore”
what the name of the column indicating the cluster id should be. Default is “cluster”
Returns
The input DataFrame with the cluster label added to each row. Outlier will have a cluster value of-1 if included.

