Usage

To use our package, create a python script the following way. First, import all the modules (features) you would like to add to you dashboard.

from idmd import (
    ColumnManipulatorUI,
    DataApp,
    DataExporterUI,
    DataPreview,
    DataStats,
    DataVisualizerUI,
    FileUploaderUI,
    ReplaceUI,
    ReportUI,
)

Once imported, these modules can be used as components for your dashboard. Create a ‘DataApp’ class and add the desired components, like this:

app = DataApp()
(
    app.set_column_name(0, "Description | Manipulation")
    .add_component(FileUploaderUI())
    .add_component(DataPreview())
    .add_component(DataStats())
    .add_component(ReplaceUI())
    .add_component(ColumnManipulatorUI())
    .add_component(DataExporterUI())
    .add_component(ReportUI())
    .set_column_name(1, "Visualization | Export | Report")
    .add_component(DataVisualizerUI(position=1))
)

After this class has been created, call our run function on the class:

app.run()

Finally, run this python script with streamlit in your command line:

streamlit run file_name.py

Your dashboard will be ready to use in seconds, and you will be able to upload your data (or generate data). Multiple features are available to manipulate and visualize your data, such as swithcing or dropping columns, replacing values, creating plots and histograms. Download your data as an Excel file, or create a pdf report including statistics and plots.

Example google colab notebook: https://colab.research.google.com/github/CsongorLaczko/idmd/blob/main/example_app.ipynb