-
Notifications
You must be signed in to change notification settings - Fork 9
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
Rename TSDataset.index
-> TSDataset.timestamps
, TSDataset.add_columns_from_pandas
-> TSDataset.add_features_from_pandas
, TSDataset.update_columns_from_pandas
-> TSDataset.update_features_from_pandas
#593
Conversation
* Rename `TSDataset.index` to `TSDataset.timestamps` * Make it return `self.df.index.copy()` (make read-only) * Fix all places where `ts.index` was used and replace them with `ts.timestamps`
…_from_pandas` * Rename `TSDataset.add_columns_from_pandas` to `TSDataset.add_features_from_pandas` * Replace all usage of old name * Fix tests
…atures_from_pandas` * Rename `TSDataset.update_columns_from_pandas` to `TSDataset.update_features_from_pandas` * Replace all usage of old name * Fix tests and fixtures
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Hi! I have reproduced failed test
but according to the type annotation |
Thanks! I found the reason. Error was in typing annotation of I fixed annotation and renamed |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #593 +/- ##
=======================================
Coverage 90.59% 90.59%
=======================================
Files 261 261
Lines 18061 18061
=======================================
Hits 16363 16363
Misses 1698 1698 ☔ View full report in Codecov by Sentry. |
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.
Looks good!
Before submitting (must do checklist)
Proposed Changes
Rename
TSDataset.index
toTSDataset.timestamps
and make it read-only:TSDataset.index
toTSDataset.timestamps
self.df.index.copy()
(make read-only)ts.index
was used and replace them withts.timestamps
Rename
TSDataset.add_columns_from_pandas
toTSDataset.add_features_from_pandas
:TSDataset.add_columns_from_pandas
toTSDataset.add_features_from_pandas
Rename
TSDataset.update_columns_from_pandas
toTSDataset.update_features_from_pandas
:TSDataset.update_columns_from_pandas
toTSDataset.update_features_from_pandas
Closing issues
Closes #564 #567