No project description provided
Project description
Search Data Explorer
Visualize dataframes via plotly in a streamlit dashboard
Installation
Coming soon
Examples
Visualize the iris dataset:
import plotly.express as px
from search_data_explorer import SearchDataExplorer
iris_dataset = px.data.iris()
iris_dataset.to_csv("iris_dataset.csv", index=False)
sde = SearchDataExplorer()
sde.open("iris_dataset.csv")
Or create your own test data and visualize it:
import pandas as pd
from search_data_explorer import SearchDataExplorer
# 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")
sde = SearchDataExplorer()
# the dashboard must read the dataframe from a file
sde.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 | ... |
... | ... | ... | ... |
... | ... | ... | ... |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for search_data_explorer-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6abb9f2259053ab594f8c010045c4badbb9d8c52f50c19d7077f298be79cd9bf |
|
MD5 | fe78d95a8e745f0633b65b85231eff1b |
|
BLAKE2b-256 | 7d264f5471c659fd254f94532f809d5121a040fa9e02d5c2cad4f2d79f35adde |