locationtech / rasterframes

Geospatial Raster support for Spark DataFrames
http://rasterframes.io
Apache License 2.0
245 stars 45 forks source link

Python docs should embed Pandas DataFrame as HTML table #211

Closed vpipkt closed 5 years ago

vpipkt commented 5 years ago

Currently pweave'ing a pymd file to MD with a Pandas dataframe displays a text only table.

But it would be much more powerful to display the HTML table that one would see in a Jupyter notebook.

image

vpipkt commented 5 years ago

One possibility:

Another possibility:

vpipkt commented 5 years ago

Note we demonstrate an example of working around this with @@include and creating a static html of the output

https://github.com/locationtech/rasterframes/blob/develop/pyrasterframes/src/main/python/docs/raster-write.pymd#L57

Not as maintanable but something