-
Notifications
You must be signed in to change notification settings - Fork 532
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
[REVIEW] Keep single-series DataFrames as DataFrames in preprocessing #3069
[REVIEW] Keep single-series DataFrames as DataFrames in preprocessing #3069
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
@viclafargue Would you mind taking a look at this one? |
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.
Thank you very much for tracking down the bug in #3059! I'm just a bit concerned about the possible case in which one preprocessor can receive a Series but has to output a Dataframe. But if all tests pass, it should be fine. Otherwise, LGTM !
Thanks for the review @viclafargue! To make sure I understand, you're thinking about a preprocessor that takes in a single Series but then blows it out into something 2D, right? That is indeed something I hadn't thought about. Let me update |
@viclafargue Mind taking a look at the update? I think this should handle the case you pointed out without requiring further specialized code in each preprocessor. |
The update and its testing look good to me. Thanks @wphicks! |
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-0.17 #3069 +/- ##
============================================
Coverage 69.38% 69.39%
============================================
Files 193 193
Lines 14704 14708 +4
============================================
+ Hits 10203 10207 +4
Misses 4501 4501
Continue to review full report at Codecov.
|
Looks like that test failure may be genuine. I'll look into it and update. |
I was not able to reproduce this locally with my existing conda env, so I'm suspicious of an upstream change. I've been trying to update my local conda env, but it keeps hanging indefinitely. I'll have to take a closer look a little bit later. |
Finally fixed the error that CI picked up. I tweaked the @viclafargue Would you mind doing a re-review on this one? |
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.
It looks good to me! Thanks for working on that @wphicks
Ensure that single-series
DataFrame
s are not converted toSeries
during preprocessingResolve #3059