dashi documentation
dashi is a flexible and powerful Python toolkit for dataset shift analysis and characterization, providing supervised and unsupervised evaluation of temporal and multi-source data shifts, visualization tools, and statistical insights for data integrity and model performance monitoring.
Note
Install dashi with: pip install dashi
Getting Started
import pandas as pd
import dashi as ds
df = pd.read_csv('my_data.csv')
# Format your data
df = ds.format_data(
df,
date_column_name='date',
date_format='%Y/%m/%d',
numerical_column_names=['age', 'weight'],
categorical_column_names=['gender', 'diagnosis']
)
# Estimate a univariate Data Temporal Map
dtm = ds.estimate_univariate_data_temporal_map(
data=df,
date_column_name='date',
period='month'
)
# Plot the results
plot = ds.plot_univariate_data_temporal_map(dtm, variable_name='weight')
API Reference
About