Skip to content

Commit

Permalink
fix: add todo about quantiles and components in TSDataset.make_future
Browse files Browse the repository at this point in the history
  • Loading branch information
d.a.bunin committed Apr 28, 2023
1 parent 938e723 commit e9c8880
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etna/datasets/tsdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ def make_future(

# remove components and quantiles
# it should be done if we have quantiles and components in raw_df
# TODO: fix this after making quantiles to work like components, with special methods
if len(self.target_components_names) > 0:
df = df.drop(columns=list(self.target_components_names), level="feature")
if len(self.target_quantiles_names) > 0:
Expand Down

0 comments on commit e9c8880

Please sign in to comment.