dataframe2html
Make the ability to show the image and the data of dataframe in notebook.
Usage
The tool convert dataframe to HTML, each columns in HTML is each record in dataframe
How to use
For Databricks notebook
- Install Coordinates:
io.github.fucusy:dataframe2html_2.11:0.1.5
from Maven to your cluster - Add
import io.github.fucusy.VizImplicit.VizDataFrame
to add toHTML function to DataFrame implicitly - Define your dataframe,
df
- Display the visualization,
displayHTML(df.toHTML())
How to publish to maven central
- Ask for credential from fucusy
- Update the version in build.sbt
sbt publishSigned
, it prepares the package in localsbt sonatypeBundleRelease
to publish the project, will be synchronized to the Maven central within ten minutes.- Commit the new version to master if the publish is successful, because the we won't able to publish the existing version anymore