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.11
Last Version

Last Version

0.1.5
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.11

How to add to project

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

Dependencies

compile (2)

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

provided (2)

Group / Artifact Type Version
org.apache.spark : spark-core_2.11 jar 2.4.3
org.apache.spark : spark-sql_2.11 jar 2.4.3

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 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.5
0.1.4
0.1.3
0.1.2
0.1.1