From 7877dd6e986faaaf7121be6d40285cd8137416bb Mon Sep 17 00:00:00 2001 From: Jules Authier <55801833+authierj@users.noreply.github.com> Date: Fri, 21 Feb 2025 20:00:32 +0100 Subject: [PATCH] Update darts/timeseries.py Co-authored-by: Dennis Bader --- darts/timeseries.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/darts/timeseries.py b/darts/timeseries.py index 5d2c9a0946..8d2c8601c6 100644 --- a/darts/timeseries.py +++ b/darts/timeseries.py @@ -994,7 +994,10 @@ def from_series( Parameters ---------- pd_series - A Series instance. + The Series, or anything which can be converted to a narwhals Series (e.g. pandas.Series, ...) + polars.DataFrame, ...). See the `narwhals documentation + `_ for more + information. fill_missing_dates Optionally, a boolean value indicating whether to fill missing dates (or indices in case of integer index) with NaN values. This requires either a provided `freq` or the possibility to infer the frequency from the