Skip to content

Make the ability to show the image and the data of dataframe in notebook.

License

Notifications You must be signed in to change notification settings

fucusy/dataframe2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • All image url become tag

How to use

For Databricks notebook

  1. Install Coordinates: io.github.fucusy:dataframe2html_2.11:0.1.5 from Maven to your cluster
  2. Add import io.github.fucusy.VizImplicit.VizDataFrame to add toHTML function to DataFrame implicitly
  3. Define your dataframe, df
  4. 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 local
  • sbt 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

About

Make the ability to show the image and the data of dataframe in notebook.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages