Add programatic Sedona Python API documentaion
Expected behavior
Python API docs that are programatically generated.
Actual behavior
There is a Python API, but the docs don't have the programatic Python API documented yet. Here's an example:
from sedona.sql.st_functions import ST_Length
There's some opportunity for improvement here but they are documented: https://sedona.apache.org/latest/api/sql/DataFrameAPI/
Perhaps primarily there is a navigability issue
@james-willis - yea, the existing docs are great and perhaps docs that are generated from the Python code aren't necessary.
Let's look at the ST_GeomFromEWKT function for example.
It's not immediately obvious how to use this function with Python, but perhaps we can just add an example on that page. If we use Python type hints, then the programmatically generated Python docs could be readable, but I am open to brainstorming!
I think all of the python DF API functions have decent docstrings in them. The Scala ones are missing docstrings.
We could generate pydocs to have a 1 to 1 function to documentation on the site.
However, I feel the pattern is pretty clear if you can find and read the df api page:
from sedona.sql import *
myDF.withColumn("myColumn", ST_GeomFromEWKT(f.lit(...)))