Skip to content

Commit

Permalink
Update darts/timeseries.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis Bader <[email protected]>
  • Loading branch information
authierj and dennisbader authored Feb 21, 2025
1 parent 5afc721 commit 7877dd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion darts/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://narwhals-dev.github.io/narwhals/api-reference/narwhals/#narwhals.from_native>`_ 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
Expand Down

0 comments on commit 7877dd6

Please sign in to comment.