-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Method TSDataset.tsdataset_idx_slice
loses hierarchical structure
#618
Conversation
🚀 Deployed on https://deploy-preview-618--etna-docs.netlify.app |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #618 +/- ##
==========================================
+ Coverage 90.47% 90.49% +0.02%
==========================================
Files 259 259
Lines 18041 18038 -3
==========================================
+ Hits 16323 16324 +1
+ Misses 1718 1714 -4 ☔ View full report in Codecov by Sentry. |
etna/datasets/tsdataset.py
Outdated
tsdataset_slice._target_components_names = deepcopy(self._target_components_names) | ||
tsdataset_slice._prediction_intervals_names = deepcopy(self._prediction_intervals_names) | ||
return tsdataset_slice | ||
ts_slice = deepcopy(self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want to make it in a more optimized way like in train_test_split
?
Before submitting (must do checklist)
Proposed Changes
Closing issues
closes #439