testing#

Testing utilities for comparing pandas objects.

Provides matcher classes for use in test assertions when comparing pandas DataFrames and Series with equality semantics.

Functions#

assert_timeseries_equal(actual, expected)

Assert that two TimeSeriesDataset objects are equal.

configure_notebook_display([renderer])

Configure pandas plotting backend and plotly renderer for notebook output.

create_synthetic_forecasting_dataset([...])

Create synthetic forecasting dataset for testing.

create_timeseries_dataset(index[, ...])

Create a TimeSeriesDataset for testing purposes.

load_liander_dataset(*[, target, repo_id, ...])

Download and combine the Liander benchmark dataset into a single TimeSeriesDataset.

prepare_tutorial_datasets(*[, ...])

Load the Liander benchmark dataset and split into training and forecast periods.

setup_notebook_logging([name, suppress])

Configure logging for tutorial notebooks and return a named logger.

Classes#

IsSamePandas(pandas_obj)

Utility class to allow comparison of pandas DataFrames in assertion / calls.