Skip to content
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

Merged
merged 6 commits into from
Feb 25, 2025

Conversation

brsnw250
Copy link
Collaborator

@brsnw250 brsnw250 commented Feb 24, 2025

Before submitting (must do checklist)

  • Did you read the contribution guide?
  • Did you update the docs? We use Numpy format for all the methods and classes.
  • Did you write any new necessary tests?
  • Did you update the CHANGELOG?

Proposed Changes

Closing issues

closes #439

@brsnw250 brsnw250 self-assigned this Feb 24, 2025
Copy link

github-actions bot commented Feb 24, 2025

🚀 Deployed on https://deploy-preview-618--etna-docs.netlify.app

@github-actions github-actions bot temporarily deployed to pull request February 24, 2025 12:58 Inactive
Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.49%. Comparing base (760a6e9) to head (e36e09b).
Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

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)
Copy link
Collaborator

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?

@github-actions github-actions bot temporarily deployed to pull request February 24, 2025 14:14 Inactive
@github-actions github-actions bot temporarily deployed to pull request February 24, 2025 15:47 Inactive
@github-actions github-actions bot temporarily deployed to pull request February 25, 2025 08:05 Inactive
@brsnw250 brsnw250 requested a review from d-a-bunin February 25, 2025 09:17
@brsnw250 brsnw250 merged commit e517416 into master Feb 25, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Method TSDataset.tsdataset_idx_slice loses hierarchical structure
2 participants