Changable TSDataset
attributes
#422
d-a-bunin
started this conversation in
Improvements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Currently, in
TSDataset
we store public attributes:df
raw_df
df_exog
known_future
freq
hierarchical_structure
current_df_level
current_df_exog_level
It make these attributes look available for writing after the init, but in most cases changing them after init could break the consistency of the class.
We should somehow prohibit changing them in most cases and make them changable only in cases when we are sure about the consistency.
Thoughts
We could wrap these attributes into
property
.Related
Beta Was this translation helpful? Give feedback.
All reactions