0 purchases
tabulardataexplorer 0.1.0
Tabular Data Explorer
Visualize dataframes via plotly in a streamlit dashboard
Installation
Coming soon
Examples
Visualize the iris dataset:
import plotly.express as px
from tabular_data_explorer import TabularDataExplorer
iris_dataset = px.data.iris()
iris_dataset.to_csv("iris_dataset.csv", index=False)
board = TabularDataExplorer()
board.open("iris_dataset.csv")
Or create your own test data and visualize it:
import pandas as pd
from tabular_data_explorer import TabularDataExplorer
# create so test dataset for this example
df_array = [[0.5, 6, 50, 0.6], [0.9, 7, 40, 0.7], [0.2, 9, 70, 0.8]]
columns = ["x1", "x2", "x3", "score"]
search_data = pd.DataFrame(df_array, columns=columns)
# save the dataframe to file
search_data.to_csv("./search_data.csv")
data_explorer = TabularDataExplorer()
# the dashboard must read the dataframe from a file
data_explorer.open("./search_data.csv")
The search data that is loaded from file must follow the pattern below. The columns can have any name and some plots can handle data other than numerical.
first column name
another column name
bla bla bla
...
0.756
0.1
0.2
...
0.823
0.3
0.1
...
...
...
...
...
...
...
...
...
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.