holoviz / datashader

Quickly and accurately render even the largest data.
http://datashader.org
BSD 3-Clause "New" or "Revised" License
3.24k stars 363 forks source link

Separate where combine_cpu functions by ndim #1265

Closed ianthomas23 closed 11 months ago

ianthomas23 commented 11 months ago

This separates out the where reduction combine_cpu functions by number of array dimensions, which may be 2, 3 or 4 depending on whether they contain categorical and/or a *_n selector reductions. This is the same as already done for the combine_cuda functions.

codecov[bot] commented 11 months ago

Codecov Report

Merging #1265 (3edd83a) into main (7e3b8c3) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1265      +/-   ##
==========================================
+ Coverage   83.44%   83.47%   +0.03%     
==========================================
  Files          35       35              
  Lines        9071     9089      +18     
==========================================
+ Hits         7569     7587      +18     
  Misses       1502     1502              
Files Changed Coverage Δ
datashader/reductions.py 80.34% <100.00%> (+0.24%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more