View Source Kino.Explorer (KinoExplorer v0.1.23)
A kino for interactively viewing Explorer.DataFrame
.
Examples
df = Explorer.Datasets.fossil_fuels()
Kino.Explorer.new(df)
Summary
Functions
Creates a new kino displaying a given data frame or series as a rich table.
Updates the table to display a new data frame.
Types
@type t() :: Kino.JS.Live.t()
Functions
@spec new( Explorer.DataFrame.t() | Explorer.Series.t(), keyword() ) :: t()
Creates a new kino displaying a given data frame or series as a rich table.
Options
:name
- The displayed name of the table. Defaults to"DataFrame"
or"Series"
, depending on the given data
Updates the table to display a new data frame.
Examples
df = Explorer.Datasets.iris()
kino = Kino.Explorer.new(data)
Once created, you can update the table to display new data:
new_df = Explorer.Datasets.fossil_fuels()
Kino.Explorer.update(kino, new_df)