Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Fixing issue with named series handling in fillna #95

Merged
merged 2 commits into from
Jul 19, 2019

Conversation

kozlov-alexey
Copy link
Contributor

No description provided.

@@ -361,7 +361,7 @@ def generic(self, args, kws):
class FillNaStrType(AbstractTemplate):
def generic(self, args, kws):
assert not kws
assert len(args) == 2
assert len(args) == 3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is necessary to correct the comment under this line.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do so.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's done.

'expecting {{i64, i64, i32*, i8*, i8*, i8*}, i8*, '
'{i8*, i64, i32, i32, i64, i8*, i8*}} \n'
'but got {{i64, i64, i32*, i8*, i8*, i8*}, i8*, i8*}\n')
def test_series_fillna_inplace1(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment what this function is testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some comment (there are no comments for other tests though).
This new test just adds missed check for attempting to jit inplace fillna on series with numeric data. There was a test for string series, but not numeric one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine. We want to improve code style and docu. So anything new should be well documented.

@shssf shssf merged commit 790aef1 into IntelPython:master Jul 19, 2019
kozlov-alexey added a commit to kozlov-alexey/sdc that referenced this pull request Jul 19, 2019
Fixing issue with named series handling in fillna (IntelPython#95)
@kozlov-alexey kozlov-alexey deleted the feature/fix_series_fillna branch August 8, 2019 10:36
kozlov-alexey added a commit to kozlov-alexey/sdc that referenced this pull request Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants