-
Notifications
You must be signed in to change notification settings - Fork 50
feat: Implement DataFrame.dot for matrix multiplication #67
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bf1d89f
feat: Implement DataFrame.dot for matrix multiplication
shobsi d9eeb0f
adjust tests for left column alignment with right rows
shobsi 8533da8
Merge remote-tracking branch 'github/main' into shobs-df-dot
shobsi 2079c2d
refactor pivot to use known unique values
shobsi 2cc9a6e
Support DataFrame.dot(Series), remove local-only tests
shobsi 5bbedd3
Merge remote-tracking branch 'github/main' into shobs-df-dot
shobsi 464efbf
add explanation for `column_unique_values` param
shobsi a519d63
Merge remote-tracking branch 'github/main' into shobs-df-dot
shobsi 55b0992
NotImplementedError for multi-index matrix multiplication
shobsi 42d888f
avoid multi-column condition check on series
shobsi 3de16e0
Add feedback link in the exception messages
shobsi 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
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "rowindex", | ||
"type": "INTEGER" | ||
}, | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "a", | ||
"type": "INTEGER" | ||
}, | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "b", | ||
"type": "INTEGER" | ||
}, | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "c", | ||
"type": "INTEGER" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"rowindex": 0, "a": 1, "b": 2, "c": 3} | ||
{"rowindex": 1, "a": 2, "b": 5, "c": 7} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "rowindex", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "w", | ||
"type": "INTEGER" | ||
}, | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "x", | ||
"type": "INTEGER" | ||
}, | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "y", | ||
"type": "INTEGER" | ||
}, | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "z", | ||
"type": "INTEGER" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"rowindex": "a", "w": 2, "x": 4, "y": 8, "z": 21} | ||
{"rowindex": "b", "w": 1, "x": 5, "y": 10, "z": -11} | ||
{"rowindex": "c", "w": 3, "x": 6, "y": 9, "z": 0} |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.