@@ -6596,8 +6596,8 @@ def diff_2d_int64(ndarray[int64_t, ndim=2] arr,
6596
6596
for j in range (start, stop):
6597
6597
out[i, j] = arr[i, j] - arr[i, j - periods]
6598
6598
6599
- @ cython.boundscheck (False )
6600
6599
@ cython.wraparound (False )
6600
+ @ cython.boundscheck (False )
6601
6601
def group_add_float64 (ndarray[float64_t , ndim = 2 ] out,
6602
6602
ndarray[int64_t] counts ,
6603
6603
ndarray[float64_t , ndim = 2 ] values,
@@ -6658,8 +6658,8 @@ def group_add_float64(ndarray[float64_t, ndim=2] out,
6658
6658
out[i, j] = NAN
6659
6659
else :
6660
6660
out[i, j] = sumx[i, j]
6661
- @ cython.boundscheck (False )
6662
6661
@ cython.wraparound (False )
6662
+ @ cython.boundscheck (False )
6663
6663
def group_add_float32 (ndarray[float32_t , ndim = 2 ] out,
6664
6664
ndarray[int64_t] counts ,
6665
6665
ndarray[float32_t , ndim = 2 ] values,
@@ -6721,8 +6721,8 @@ def group_add_float32(ndarray[float32_t, ndim=2] out,
6721
6721
else :
6722
6722
out[i, j] = sumx[i, j]
6723
6723
6724
- @ cython.boundscheck (False )
6725
6724
@ cython.wraparound (False )
6725
+ @ cython.boundscheck (False )
6726
6726
def group_add_bin_float64 (ndarray[float64_t , ndim = 2 ] out,
6727
6727
ndarray[int64_t] counts ,
6728
6728
ndarray[float64_t , ndim = 2 ] values,
@@ -6780,8 +6780,8 @@ def group_add_bin_float64(ndarray[float64_t, ndim=2] out,
6780
6780
out[i, j] = NAN
6781
6781
else :
6782
6782
out[i, j] = sumx[i, j]
6783
- @ cython.boundscheck (False )
6784
6783
@ cython.wraparound (False )
6784
+ @ cython.boundscheck (False )
6785
6785
def group_add_bin_float32 (ndarray[float32_t , ndim = 2 ] out,
6786
6786
ndarray[int64_t] counts ,
6787
6787
ndarray[float32_t , ndim = 2 ] values,
@@ -6840,8 +6840,8 @@ def group_add_bin_float32(ndarray[float32_t, ndim=2] out,
6840
6840
else :
6841
6841
out[i, j] = sumx[i, j]
6842
6842
6843
- @ cython.boundscheck (False )
6844
6843
@ cython.wraparound (False )
6844
+ @ cython.boundscheck (False )
6845
6845
def group_prod_float64 (ndarray[float64_t , ndim = 2 ] out,
6846
6846
ndarray[int64_t] counts ,
6847
6847
ndarray[float64_t , ndim = 2 ] values,
@@ -6897,8 +6897,8 @@ def group_prod_float64(ndarray[float64_t, ndim=2] out,
6897
6897
out[i, j] = NAN
6898
6898
else :
6899
6899
out[i, j] = prodx[i, j]
6900
- @ cython.boundscheck (False )
6901
6900
@ cython.wraparound (False )
6901
+ @ cython.boundscheck (False )
6902
6902
def group_prod_float32 (ndarray[float32_t , ndim = 2 ] out,
6903
6903
ndarray[int64_t] counts ,
6904
6904
ndarray[float32_t , ndim = 2 ] values,
@@ -6955,8 +6955,8 @@ def group_prod_float32(ndarray[float32_t, ndim=2] out,
6955
6955
else :
6956
6956
out[i, j] = prodx[i, j]
6957
6957
6958
- @ cython.boundscheck (False )
6959
6958
@ cython.wraparound (False )
6959
+ @ cython.boundscheck (False )
6960
6960
def group_prod_bin_float64 (ndarray[float64_t , ndim = 2 ] out,
6961
6961
ndarray[int64_t] counts ,
6962
6962
ndarray[float64_t , ndim = 2 ] values,
@@ -7013,8 +7013,8 @@ def group_prod_bin_float64(ndarray[float64_t, ndim=2] out,
7013
7013
out[i, j] = NAN
7014
7014
else :
7015
7015
out[i, j] = prodx[i, j]
7016
- @ cython.boundscheck (False )
7017
7016
@ cython.wraparound (False )
7017
+ @ cython.boundscheck (False )
7018
7018
def group_prod_bin_float32 (ndarray[float32_t , ndim = 2 ] out,
7019
7019
ndarray[int64_t] counts ,
7020
7020
ndarray[float32_t , ndim = 2 ] values,
@@ -7432,6 +7432,7 @@ def group_mean_float32(ndarray[float32_t, ndim=2] out,
7432
7432
out[i, j] = sumx[i, j] / count
7433
7433
7434
7434
7435
+ @ cython.boundscheck (False )
7435
7436
def group_mean_bin_float64 (ndarray[float64_t , ndim = 2 ] out,
7436
7437
ndarray[int64_t] counts ,
7437
7438
ndarray[float64_t , ndim = 2 ] values,
@@ -7486,6 +7487,7 @@ def group_mean_bin_float64(ndarray[float64_t, ndim=2] out,
7486
7487
else :
7487
7488
out[i, j] = sumx[i, j] / count
7488
7489
7490
+ @ cython.boundscheck (False )
7489
7491
def group_mean_bin_float32 (ndarray[float32_t , ndim = 2 ] out,
7490
7492
ndarray[int64_t] counts ,
7491
7493
ndarray[float32_t , ndim = 2 ] values,
@@ -7686,7 +7688,7 @@ def group_ohlc_float32(ndarray[float32_t, ndim=2] out,
7686
7688
out[b, 3 ] = vclose
7687
7689
7688
7690
@ cython.wraparound (False )
7689
- @ cython.wraparound (False )
7691
+ @ cython.boundscheck (False )
7690
7692
def group_last_float64 (ndarray[float64_t , ndim = 2 ] out,
7691
7693
ndarray[int64_t] counts ,
7692
7694
ndarray[float64_t , ndim = 2 ] values,
@@ -7729,7 +7731,7 @@ def group_last_float64(ndarray[float64_t, ndim=2] out,
7729
7731
else :
7730
7732
out[i, j] = resx[i, j]
7731
7733
@ cython.wraparound (False )
7732
- @ cython.wraparound (False )
7734
+ @ cython.boundscheck (False )
7733
7735
def group_last_float32 (ndarray[float32_t , ndim = 2 ] out,
7734
7736
ndarray[int64_t] counts ,
7735
7737
ndarray[float32_t , ndim = 2 ] values,
@@ -7772,7 +7774,7 @@ def group_last_float32(ndarray[float32_t, ndim=2] out,
7772
7774
else :
7773
7775
out[i, j] = resx[i, j]
7774
7776
@ cython.wraparound (False )
7775
- @ cython.wraparound (False )
7777
+ @ cython.boundscheck (False )
7776
7778
def group_last_int64 (ndarray[int64_t , ndim = 2 ] out,
7777
7779
ndarray[int64_t] counts ,
7778
7780
ndarray[int64_t , ndim = 2 ] values,
@@ -7816,7 +7818,7 @@ def group_last_int64(ndarray[int64_t, ndim=2] out,
7816
7818
out[i, j] = resx[i, j]
7817
7819
7818
7820
@ cython.wraparound (False )
7819
- @ cython.wraparound (False )
7821
+ @ cython.boundscheck (False )
7820
7822
def group_last_bin_float64 (ndarray[float64_t , ndim = 2 ] out,
7821
7823
ndarray[int64_t] counts ,
7822
7824
ndarray[float64_t , ndim = 2 ] values,
@@ -7860,7 +7862,7 @@ def group_last_bin_float64(ndarray[float64_t, ndim=2] out,
7860
7862
else :
7861
7863
out[i, j] = resx[i, j]
7862
7864
@ cython.wraparound (False )
7863
- @ cython.wraparound (False )
7865
+ @ cython.boundscheck (False )
7864
7866
def group_last_bin_float32 (ndarray[float32_t , ndim = 2 ] out,
7865
7867
ndarray[int64_t] counts ,
7866
7868
ndarray[float32_t , ndim = 2 ] values,
@@ -7904,7 +7906,7 @@ def group_last_bin_float32(ndarray[float32_t, ndim=2] out,
7904
7906
else :
7905
7907
out[i, j] = resx[i, j]
7906
7908
@ cython.wraparound (False )
7907
- @ cython.wraparound (False )
7909
+ @ cython.boundscheck (False )
7908
7910
def group_last_bin_int64 (ndarray[int64_t , ndim = 2 ] out,
7909
7911
ndarray[int64_t] counts ,
7910
7912
ndarray[int64_t , ndim = 2 ] values,
@@ -7948,8 +7950,8 @@ def group_last_bin_int64(ndarray[int64_t, ndim=2] out,
7948
7950
else :
7949
7951
out[i, j] = resx[i, j]
7950
7952
7951
- @ cython.boundscheck (False )
7952
7953
@ cython.wraparound (False )
7954
+ @ cython.boundscheck (False )
7953
7955
def group_nth_float64 (ndarray[float64_t , ndim = 2 ] out,
7954
7956
ndarray[int64_t] counts ,
7955
7957
ndarray[float64_t , ndim = 2 ] values,
@@ -7992,8 +7994,8 @@ def group_nth_float64(ndarray[float64_t, ndim=2] out,
7992
7994
out[i, j] = NAN
7993
7995
else :
7994
7996
out[i, j] = resx[i, j]
7995
- @ cython.boundscheck (False )
7996
7997
@ cython.wraparound (False )
7998
+ @ cython.boundscheck (False )
7997
7999
def group_nth_float32 (ndarray[float32_t , ndim = 2 ] out,
7998
8000
ndarray[int64_t] counts ,
7999
8001
ndarray[float32_t , ndim = 2 ] values,
@@ -8036,8 +8038,8 @@ def group_nth_float32(ndarray[float32_t, ndim=2] out,
8036
8038
out[i, j] = NAN
8037
8039
else :
8038
8040
out[i, j] = resx[i, j]
8039
- @ cython.boundscheck (False )
8040
8041
@ cython.wraparound (False )
8042
+ @ cython.boundscheck (False )
8041
8043
def group_nth_int64 (ndarray[int64_t , ndim = 2 ] out,
8042
8044
ndarray[int64_t] counts ,
8043
8045
ndarray[int64_t , ndim = 2 ] values,
@@ -8081,8 +8083,8 @@ def group_nth_int64(ndarray[int64_t, ndim=2] out,
8081
8083
else :
8082
8084
out[i, j] = resx[i, j]
8083
8085
8084
- @ cython.boundscheck (False )
8085
8086
@ cython.wraparound (False )
8087
+ @ cython.boundscheck (False )
8086
8088
def group_nth_bin_float64 (ndarray[float64_t , ndim = 2 ] out,
8087
8089
ndarray[int64_t] counts ,
8088
8090
ndarray[float64_t , ndim = 2 ] values,
@@ -8126,8 +8128,8 @@ def group_nth_bin_float64(ndarray[float64_t, ndim=2] out,
8126
8128
out[i, j] = NAN
8127
8129
else :
8128
8130
out[i, j] = resx[i, j]
8129
- @ cython.boundscheck (False )
8130
8131
@ cython.wraparound (False )
8132
+ @ cython.boundscheck (False )
8131
8133
def group_nth_bin_float32 (ndarray[float32_t , ndim = 2 ] out,
8132
8134
ndarray[int64_t] counts ,
8133
8135
ndarray[float32_t , ndim = 2 ] values,
@@ -8171,8 +8173,8 @@ def group_nth_bin_float32(ndarray[float32_t, ndim=2] out,
8171
8173
out[i, j] = NAN
8172
8174
else :
8173
8175
out[i, j] = resx[i, j]
8174
- @ cython.boundscheck (False )
8175
8176
@ cython.wraparound (False )
8177
+ @ cython.boundscheck (False )
8176
8178
def group_nth_bin_int64 (ndarray[int64_t , ndim = 2 ] out,
8177
8179
ndarray[int64_t] counts ,
8178
8180
ndarray[int64_t , ndim = 2 ] values,
@@ -9130,8 +9132,8 @@ def group_count_int64(ndarray[int64_t, ndim=2] out,
9130
9132
9131
9133
9132
9134
9133
- @ cython.boundscheck (False )
9134
9135
@ cython.wraparound (False )
9136
+ @ cython.boundscheck (False )
9135
9137
def group_count_bin_float64 (ndarray[float64_t , ndim = 2 ] out,
9136
9138
ndarray[int64_t] counts ,
9137
9139
ndarray[float64_t , ndim = 2 ] values,
@@ -9164,8 +9166,8 @@ def group_count_bin_float64(ndarray[float64_t, ndim=2] out,
9164
9166
out[i, j] = nobs[i, j]
9165
9167
9166
9168
9167
- @ cython.boundscheck (False )
9168
9169
@ cython.wraparound (False )
9170
+ @ cython.boundscheck (False )
9169
9171
def group_count_bin_float32 (ndarray[float32_t , ndim = 2 ] out,
9170
9172
ndarray[int64_t] counts ,
9171
9173
ndarray[float32_t , ndim = 2 ] values,
@@ -9198,8 +9200,8 @@ def group_count_bin_float32(ndarray[float32_t, ndim=2] out,
9198
9200
out[i, j] = nobs[i, j]
9199
9201
9200
9202
9201
- @ cython.boundscheck (False )
9202
9203
@ cython.wraparound (False )
9204
+ @ cython.boundscheck (False )
9203
9205
def group_count_bin_int64 (ndarray[int64_t , ndim = 2 ] out,
9204
9206
ndarray[int64_t] counts ,
9205
9207
ndarray[int64_t , ndim = 2 ] values,
@@ -9232,8 +9234,8 @@ def group_count_bin_int64(ndarray[int64_t, ndim=2] out,
9232
9234
out[i, j] = nobs[i, j]
9233
9235
9234
9236
9235
- @ cython.boundscheck (False )
9236
9237
@ cython.wraparound (False )
9238
+ @ cython.boundscheck (False )
9237
9239
def group_count_bin_object (ndarray[object , ndim = 2 ] out,
9238
9240
ndarray[int64_t] counts ,
9239
9241
ndarray[object , ndim = 2 ] values,
@@ -9266,8 +9268,8 @@ def group_count_bin_object(ndarray[object, ndim=2] out,
9266
9268
out[i, j] = nobs[i, j]
9267
9269
9268
9270
9269
- @ cython.boundscheck (False )
9270
9271
@ cython.wraparound (False )
9272
+ @ cython.boundscheck (False )
9271
9273
def group_count_bin_int64 (ndarray[int64_t , ndim = 2 ] out,
9272
9274
ndarray[int64_t] counts ,
9273
9275
ndarray[int64_t , ndim = 2 ] values,
0 commit comments