-
Notifications
You must be signed in to change notification settings - Fork 651
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
FIX-#4966: Fix to_timedelta
to return Series instead of TimedeltaIndex
#5028
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5028 +/- ##
===========================================
- Coverage 84.78% 74.48% -10.31%
===========================================
Files 253 254 +1
Lines 19133 19428 +295
===========================================
- Hits 16222 14470 -1752
- Misses 2911 4958 +2047
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
@Billy2551 looks like there are some documentation errors. Could you take a look at them?
@Billy2551 I recommend running locally the docstyle command from the failed CI job: python scripts/doc_checker.py --add-ignore=D101,D102,D103,D105 --disable-numpydoc \
modin/pandas/dataframe.py modin/pandas/series.py \
modin/pandas/groupby.py \
modin/pandas/series_utils.py modin/pandas/general.py \
modin/pandas/plotting.py modin/pandas/utils.py \
modin/pandas/iterator.py modin/pandas/indexing.py \ |
403dfc0
to
167948a
Compare
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.
LGTM @Billy2551 ! Thank you.
…TimedeltaIndex Signed-off-by: Bill Wang <billiam@ponder.io>
591b7b3
9b01af1
to
591b7b3
Compare
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.
@Billy2551 I have a minor comment, but LGTM once @vnlitvinov 's comments are resolved.
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.
Thanks @Billy2551
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.
LGTM, thanks @Billy2551!
8923ae3
Signed-off-by: Bill Wang billiam@ponder.io
What do these changes do?
Added implementation for
to_timedelta
instead of using pandas version. Previously returned incorrect output when using a Modin Series as input.Added tests for
to_timedelta
with Modin Series.flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
git commit -s
docs/development/architecture.rst
is up-to-date