Skip to content

Commit d06b0c6

Browse files
committed
Refactor time series model API to use xarray coordinates
Removed the _convert_timeseries_data helper and refactored BayesianBasisExpansionTimeSeries and StateSpaceTimeSeries to extract datetime and exogenous variable information directly from xarray DataArray coordinates. This improves API consistency, reduces reliance on external coords dicts, and ensures proper validation of input data. Updated test to use datetime values in obs_ind coordinate for compatibility with the new API.
1 parent 5ee6651 commit d06b0c6

File tree

2 files changed

+192
-283
lines changed

2 files changed

+192
-283
lines changed

0 commit comments

Comments
 (0)