forked from unit8co/darts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix TimeSeries.pd_series not retaining original name (unit8co#2102)
* fix TimeSeries.pd_series not retaining original name * Improve access to TimeSeries's original name By directly accessing to the `components.array` attribute from the TimeSeries instance, I do not have to convert the `components` attribute to a list anymore. * Apply suggestions from code review As suggested by @dennisbader, we can directly access the items in the `components` attribute from the TimeSeries instance, no need to use the `components.array` attribute. Co-authored-by: Dennis Bader <[email protected]> * Reformat code to pass lint check * fix failing unit test --------- Co-authored-by: Dennis Bader <[email protected]>
- Loading branch information
1 parent
70752ce
commit 8897e93
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters