dataframe2html

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

License

License

Categories

Categories

Data
GroupId

GroupId

io.github.fucusy
ArtifactId

ArtifactId

dataframe2html_2.12
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

https://github.com/fucusy/dataframe2html
Project Organization

Project Organization

Fucusy
Source Code Management

Source Code Management

https://github.com/fucusy/dataframe2html

Download dataframe2html_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.fucusy/dataframe2html_2.12/ -->
<dependency>
    <groupId>io.github.fucusy</groupId>
    <artifactId>dataframe2html_2.12</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.fucusy/dataframe2html_2.12/
implementation 'io.github.fucusy:dataframe2html_2.12:0.1.0'
// https://jarcasting.com/artifacts/io.github.fucusy/dataframe2html_2.12/
implementation ("io.github.fucusy:dataframe2html_2.12:0.1.0")
'io.github.fucusy:dataframe2html_2.12:jar:0.1.0'
<dependency org="io.github.fucusy" name="dataframe2html_2.12" rev="0.1.0">
  <artifact name="dataframe2html_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.fucusy', module='dataframe2html_2.12', version='0.1.0')
)
libraryDependencies += "io.github.fucusy" % "dataframe2html_2.12" % "0.1.0"
[io.github.fucusy/dataframe2html_2.12 "0.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.10
org.scalactic : scalactic_2.12 jar 3.1.1

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.1.1

Project Modules

There are no modules declared in this project.

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

Versions

Version
0.1.0