-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
NumPy ufunc and other function overloading works. So does customizations for types, demonstrated by string equality. * [WIP] Address issues #88 and #61 with more complete tests. * Rename _npufunc to _npfunctions and get started. * OptionType and ListType/RegularType properly mix. Fixes #88. * Remove var-length subarray == 1 broadcasting rule. * [skip ci] Working on left and right broadcasting. * Back to a working state before wrapping one extra level. * All the explicit broadcasting works. * Implicit-right works; need to get implicit-left working. * Left and right broadcasting both work. * Cleaned up debugging code. * Fixed Record.__str__. * Records broadcast correctly. * And scalar + scalar. * Removed debugging code. * Add stubs for the NEP18 and __array__ protocols. * Wrote but have not tested tonumpy. * Testing tonumpy. * Testing tonumpy; done through unions and options. * Array.__array__ has been implemented. * Implemented __array_function__ (it works) and added a stub for ak.where. * Start on ak.where. * awkward1.where(condition, x, y) works (and is aliased to numpy.where in NumPy 1.17 and above). * Fix two Python 2.7 errors. * Framework for ufunc overrides. * Cheezy implementation for string_equal, just to make the point.
- Loading branch information
Showing
36 changed files
with
723 additions
and
99 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1 +1 @@ | ||
0.1.87 | ||
0.1.89 |
This file contains 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 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 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 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.