This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Repository navigation
Series combine #821
Open
Rubtsowa
wants to merge
21
commits into
IntelPython:master
Choose a base branch
from
Rubtsowa:series_combine
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Series combine #821
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7ec05f3
Impl Series.combine
Rubtsowa b576e03
merge
Rubtsowa 95d233e
change comment
Rubtsowa 2b95e9d
Merge branch 'master' of https://github.com/IntelPython/hpat into ser…
Rubtsowa 2104aae
change example
Rubtsowa aeef026
use sdc_join_series_indexes
Rubtsowa f09b792
change
Rubtsowa fafcaed
Merge branch 'master' of https://github.com/IntelPython/hpat into ser…
Rubtsowa b1ed1b3
for from chunks, change dtype for result array
Rubtsowa 4fdb369
Merge branch 'master' of https://github.com/IntelPython/hpat into ser…
Rubtsowa 6d930d8
change 'if' on 'if-else'
Rubtsowa c85feff
change for
Rubtsowa 18771f2
change for
Rubtsowa 8628e31
change for
Rubtsowa 6f37f53
add comment in skip test, some change in impl
Rubtsowa f66ace3
change if-else in 1 line
Rubtsowa 9fc55a7
Merge branch 'master' of https://github.com/IntelPython/hpat into ser…
Rubtsowa e7dc1f5
change test
Rubtsowa 6c78b8e
change tests
Rubtsowa d623b89
fix problem with PEP8
Rubtsowa ecd3dba
Merge branch 'master' of https://github.com/IntelPython/hpat into ser…
Rubtsowa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add comment in skip test, some change in impl
- Loading branch information
commit 6f37f53f7ea54006e4aa0723bec063b0b1256e2d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2819,6 +2819,8 @@ def test_impl(S1, S2): | |
|
|
||
| @unittest.expectedFailure | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add comment why the test is skipped.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Rubtsowa No need to skip the test if that's how impl is intended to work. Use check_dtype=False in assert_series_equal and add a comment just before this check to refer to SDC Limitation. |
||
| def test_series_combine_integer_samelen(self): | ||
| """Result series type `int` is expected, | ||
| `float` is returned since this is the default fill_value type""" | ||
| def test_impl(S1, S2): | ||
| return S1.combine(S2, lambda a, b: 2 * a + b) | ||
| hpat_func = self.jit(test_impl) | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
self_idx (and other_idx) is position in the Series, not the index, so instead of using getitem on a Series, that performs index lookup and returns a Series, so that you have to take _data[0] from it, you can just write: