-
-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of first and last reduction (#1093)
* implement append, create and finalize methods for first() reduction * implement append, create, finalize for last() reduction * add numba.jit() decorator * add cuda=False parameter to last finalize() method * fix missing whitespace after "," * update NotImplementedError message for _combine() method in first/last reduction * added tests for first/last reduction on pandas DF * Update datashader/reductions.py add whitespace characters Co-authored-by: Ian Thomas <ianthomas23@gmail.com> * Update datashader/tests/test_pandas.py compare directly the numpy arrays in testing Co-authored-by: Ian Thomas <ianthomas23@gmail.com> * Update datashader/reductions.py add whitespace character Co-authored-by: Ian Thomas <ianthomas23@gmail.com> * compare the numpy arrays directly for first() and last() reduction's tests Co-authored-by: Ian Thomas <ianthomas23@gmail.com>
- Loading branch information
1 parent
2557fae
commit d5b5635
Showing
2 changed files
with
47 additions
and
12 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
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