hyb
2026-01-09 4cb426cb3ae31e772a09d4ade5b2f0242aaeefa0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
Ë
nñúh(ÇãóÊ—ddlmZddlZddlZddlmZmZmZddlZddl    Z
ddl m Z ddl mZmZmZmZddlmZmZmZmZmZmZmZmZmZddlmZddlmZdd    l m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(dd
l)m*Z*m+Z+m,Z,ed d ¬ «Z-e-duZ.da/dKdLd„Z0e0e d««Gd„d«Z1Gd„d«Z2dMd„Z3dNd„Z4    dO            dPd„Z5                                dQd„Z6            dR                                            dSd„Z7dTd„Z8dUd„Z9dVdWd„Z:dXd„Z;dYd„Z<dXd „Z=dddd!œ                                    dZd"„Z>dddd!œ                                    dZd#„Z?e1d$«e;e=ddddd%œ                                            d[d&„«««Z@                                        d\d'„ZAe2«e;dddd!œ                                    d]d(„««ZBe2«dddd!œd^d)„«ZC                        d_d*„ZDe
jŠe
jŒ«f                                            d`d+„ZGe2d,¬-«ddd,dd.œ                    dad/„«ZHe1d$d0«e2d,¬-«ddd,dd.œ                            dbd1„««ZIe1d$d0«ddd,dd.œ                                            dcd2„«ZJd3„ZKeKd4d5¬6«ZLeKd7d8¬6«ZMdddd!œ                                    ddd9„ZNdddd!œ                                    ddd:„ZOe1d$d0«e=dddd!œ                                    d]d;„««ZPe1d$d0«e=dddd!œ                                    d]d<„««ZQe1d$d0«e=ddddd%œ                                            d[d=„««ZR                                        ded>„ZSe
jŠe
jŒ«f                                    dfd?„ZT    dg                                            dhd@„ZU                                didA„ZVdB„ZWe1d$d0«dCddDœ                                    djdE„«ZX                dkdF„ZYe1d$d0«dd,dGœ                                    dldH„«ZZdI„Z[dmdJ„Z\y)né)Ú annotationsN)ÚAnyÚCallableÚcast)Ú
get_option)ÚNaTÚNaTTypeÚiNaTÚlib)    Ú    ArrayLikeÚAxisIntÚCorrelationMethodÚDtypeÚDtypeObjÚFÚScalarÚShapeÚnpt)Úimport_optional_dependency)Úfind_stack_level)Ú
is_complexÚis_floatÚis_float_dtypeÚ
is_integerÚis_numeric_dtypeÚis_object_dtypeÚneeds_i8_conversionÚ pandas_dtype)ÚisnaÚna_value_for_dtypeÚnotnaÚ
bottleneckÚwarn)ÚerrorsFTcó—tr|ayy©N)Ú_BOTTLENECK_INSTALLEDÚ_USE_BOTTLENECK)Úvs úEH:\Change_password\venv_build\Lib\site-packages\pandas/core/nanops.pyÚset_use_bottleneckr+9s€õ؉ðózcompute.use_bottleneckcó0‡—eZdZdˆfd„ Zdd„Zdd„ZˆxZS)ÚdisallowcóP•—t‰|«td„|D««|_y)Nc3óFK—|]}t|«j–—Œy­wr&)rÚtype)Ú.0Údtypes  r*ú    <genexpr>z$disallow.__init__.<locals>.<genexpr>Fsèø€ÒI¸œL¨Ó/×4Õ4ÑIùs‚!)ÚsuperÚ__init__ÚtupleÚdtypes)Úselfr8Ú    __class__s  €r*r6zdisallow.__init__Ds ø€Ü ‰ÑÔÜÑIÀ&ÔIÓIˆ r,cór—t|d«xr*t|jj|j«S)Nr3)ÚhasattrÚ
issubclassr3r1r8)r9Úobjs  r*Úcheckzdisallow.checkHs'€Üs˜GÓ$ÒP¬°C·I±I·N±NÀDÇKÁKÓ)PÐPr,cób‡‡—tj‰«ˆˆfd„«}tt|«S)Ncó4•—tj||j««}tˆfd„|D««r+‰jj dd«}t d|›d«‚    ‰|i|¤ŽS#t$r }t|d«r t |«|‚‚d}~wwxYw)Nc3ó@•K—|]}‰j|«–—Œy­wr&)r?)r2r>r9s  €r*r4z0disallow.__call__.<locals>._f.<locals>.<genexpr>Osøèø€Ò7 s4—:‘:˜c—?Ñ7ùsƒÚnanÚzreduction operation 'z' not allowed for this dtyper)    Ú    itertoolsÚchainÚvaluesÚanyÚ__name__ÚreplaceÚ    TypeErrorÚ
ValueErrorr)ÚargsÚkwargsÚobj_iterÚf_nameÚeÚfr9s     €€r*Ú_fzdisallow.__call__.<locals>._fLs™ø€ä —‘ t¨V¯]©]«_Ó=ˆHÜÓ7¨hÔ7Ô7ØŸ™×+Ñ+¨E°2Ó6ÜØ+¨F¨8Ð3OÐPóðð     Ù˜$Ð) &Ñ)Ð)øÜò ô
# 4¨¡7Ô+Ü# A›,¨AÐ-Øûð úsÁ&A.Á.    BÁ7BÂB©Ú    functoolsÚwrapsrr)r9rRrSs`` r*Ú__call__zdisallow.__call__Ks,ù€Ü    ‰˜Ó    ô    ó
ð    ô$”Ar‹{Ðr,)r8rÚreturnÚNone©rXÚbool)rRrrXr)rIÚ
__module__Ú __qualname__r6r?rWÚ __classcell__)r:s@r*r.r.Csø„õJóQ÷r,r.có—eZdZddd„Zdd„Zy)Úbottleneck_switchNc ó —||_||_yr&)ÚnamerN)r9rbrNs   r*r6zbottleneck_switch.__init__cs€ØˆŒ    Øˆ r,c󇇇‡—‰jxs ‰jŠ    tt‰«Št j‰«dddœ                    dˆˆˆˆfd„«}tt|«S#tt
f$rdŠYŒMwxYw)NT©ÚaxisÚskipnacóè•—t‰
j«dkDr,‰
jj«D]\}}||vsŒ |||<Œ|jdk(r|j    d«€ t ||«St rn|rlt|j‰    «rV|j    dd«€6|jdd«‰|fd|i|¤Ž}t|«r‰|f||dœ|¤Ž}|S‰|f||dœ|¤Ž}|S‰|f||dœ|¤Ž}|S)NrÚ    min_countÚmaskrerd) ÚlenrNÚitemsÚsizeÚgetÚ_na_for_min_countr(Ú _bn_ok_dtyper3ÚpopÚ    _has_infs) rGrerfÚkwdsÚkr)ÚresultÚaltÚbn_funcÚbn_namer9s        €€€€r*rRz%bottleneck_switch.__call__.<locals>.fosø€ô4—;‘;Ó !Ò#Ø ŸK™K×-Ñ-Ó/ò$‘DAqØ ’}Ø"#˜˜Qšð$ð{‰{˜aÒ D§H¡H¨[Ó$9Ð$Aô)¨°Ó6Ð6å¡6¬l¸6¿<¹<ÈÔ.QØ—8‘8˜F DÓ)Ð1ð—H‘H˜V TÔ*Ù$ VÑ?°$Ð?¸$Ñ?Fô! Ô(Ù!$ VÐ!N°$¸vÑ!NÈÑ!N˜ð ˆMñ    ! ÐJ¨d¸6ÑJÀTÑJFðˆMñ˜VÐF¨$°vÑFÀÑFàˆMr,)rGú
np.ndarrayreúAxisInt | Nonerfr[)
rbrIÚgetattrÚbnÚAttributeErrorÚ    NameErrorrUrVrr)r9rurRrvrws`` @@r*rWzbottleneck_switch.__call__gs’û€Ø—)‘)Ò+˜sŸ|™|ˆð    Üœb 'Ó*ˆGô
‰˜Ó    ð$(Øñ    %    Øð%    ð!ð%    ð÷    %    ó
ð%    ôN”Aq‹zÐøôW¤    Ð*ò    ØŠGð    ús A*Á*A>Á=A>r&)rXrY)rurrXr)rIr\r]r6rW©r,r*r`r`bs „ôô0r,r`có4—|tk7rt|«s|dvSy)N)ÚnansumÚnanprodÚnanmeanF)Úobjectr)r3rbs  r*rorošs"€à ”‚Ô2°5Ô9ðÐ;Ð;Ð;Ø r,có —t|tj«r2|jdvr$t    j
|j d««S    tj|«j«S#ttf$rYywxYw)N)Úf8Úf4ÚKF) Ú
isinstanceÚnpÚndarrayr3r Úhas_infsÚravelÚisinfrHrKÚNotImplementedError)rts r*rqrq®sk€Ü&œ"Ÿ*™*Ô%Ø <‰<˜<Ñ 'ô—<‘< § ¡ ¨SÓ 1Ó2Ð 2ð܏x‰x˜Ó×#Ñ#Ó%Ð%øÜ Ô*Ð +òáðúsÁ"A1Á1BÂBcóƗ||St|«r8|€tjS|dk(rtjStj S|dk(rtj
St S)z9return the correct fill value for the dtype of the valuesú+inf)Ú _na_ok_dtyper‰rCÚinfr Úi8maxr
)r3Ú
fill_valueÚfill_value_typs   r*Ú_get_fill_valuer–»sZ€ðÐØÐܐEÔØ Ð !Ü—6‘6ˆMà Ò'Ü—v‘v 䟙wà ˜VÒ #ä—9‘9Ð äˆKr,có†—|€>|jjdvry|s|jjdvr t|«}|S)aº
    Compute a mask if and only if necessary.
 
    This function will compute a mask iff it is necessary. Otherwise,
    return the provided mask (potentially None) when a mask does not need to be
    computed.
 
    A mask is never necessary if the values array is of boolean or integer
    dtypes, as these are incapable of storing NaNs. If passing a NaN-capable
    dtype that is interpretable as either boolean or integer data (eg,
    timedelta64), a mask must be provided.
 
    If the skipna parameter is False, a new mask will not be computed.
 
    The mask is computed using isna() by default. Setting invert=True selects
    notna() as the masking function.
 
    Parameters
    ----------
    values : ndarray
        input array to potentially compute mask for
    skipna : bool
        boolean for whether NaNs should be skipped
    mask : Optional[ndarray]
        nan-mask if known
 
    Returns
    -------
    Optional[np.ndarray[bool]]
    NÚbiuÚmM)r3Úkindr)rGrfris   r*Ú_maybe_get_maskr›ÑsA€ðB €|Ø <‰<× Ñ  Ñ %àá V—\‘\×&Ñ&¨$Ñ.ܘ“<ˆDà €Kr,có¤—t|||«}|j}d}|jjdvr&tj|j d««}d}|rr|pt |||¬«}|`|j«rP|s t|«r+|j«}tj|||«||fStj|||«}||fS)a 
    Utility to get the values view, mask, dtype, dtype_max, and fill_value.
 
    If both mask and fill_value/fill_value_typ are not None and skipna is True,
    the values array will be copied.
 
    For input arrays of boolean or integer dtypes, copies will only occur if a
    precomputed mask, a fill_value/fill_value_typ, and skipna=True are
    provided.
 
    Parameters
    ----------
    values : ndarray
        input array to potentially compute mask for
    skipna : bool
        boolean for whether NaNs should be skipped
    fill_value : Any
        value to fill NaNs with
    fill_value_typ : str
        Set to '+inf' or '-inf' to handle dtype-specific infinities
    mask : Optional[np.ndarray[bool]]
        nan-mask if known
 
    Returns
    -------
    values : ndarray
        Potential copy of input value array
    mask : Optional[ndarray[bool]]
        Mask for values, if deemed necessary to compute
    Fr™Úi8T)r”r•) r›r3ršr‰ÚasarrayÚviewr–rHr‘ÚcopyÚputmaskÚwhere)rGrfr”r•rir3Ú datetimelikes       r*Ú _get_valuesr¤ýs΀ôR ˜6 6¨4Ó 0€Dà L‰L€Eà€LØ ‡||×јDÑ ô—‘˜FŸK™K¨Ó-Ó.ˆØˆ á 4Ð#ô%Ø ˜j¸ô
ˆ
ð Ð !؏x‰xŒzÙ¤<°Ô#6Ø#Ÿ[™[›]FÜ—J‘J˜v t¨ZÔ8ð
4ˆ<Ðô ŸX™X t e¨V°ZÓ@Fà 4ˆ<Ðr,có<—|}|jdvr%tjtj«}|S|jdk(r%tjtj«}|S|jdk(r#tjtj
«}|S)NÚbiÚurR)ršr‰r3Úint64Úuint64Úfloat64)r3Ú    dtype_maxs  r*Ú_get_dtype_maxr¬Ds{€à€IØ ‡zzTÑÜ—H‘HœRŸX™XÓ&ˆ    ð
Ðð    
‰sÒ    Ü—H‘HœRŸY™YÓ'ˆ    ð Ðð
‰sÒ    Ü—H‘HœRŸZ™ZÓ(ˆ    Ø Ðr,cód—t|«ryt|jtj« S)NF)rr=r1r‰Úinteger©r3s r*r‘r‘Ps%€Ü˜5Ô!ØÜ˜%Ÿ*™*¤b§j¡jÓ1Ð 1Ð1r,cóŠ—|tur    |S|jdk(rÆ|€t}t|tj
«s‘t |«rJd«‚||k(rtj}t |«r&t    jdd«j|«}n$t    j|«j|«}|j|d¬«}|S|j|«}|S|jdk(rÓt|tj
«s™||k(st    j|«r&t    jd«j|«}|St    j|«tj kDr t#d«‚t    j|«j|d¬«}|S|jd    «j|«}|S)
zwrap our results if neededÚMzExpected non-null fill_valuerÚnsF©r Úmzoverflow in timedelta operationúm8[ns])rršr
rˆr‰rŠrrCÚ
datetime64Úastyper¨rŸÚisnanÚ timedelta64Úfabsr r“rL)rtr3r”s   r*Ú _wrap_resultsr»Vs„€à ”}Ø ðF €MðC
‰sÒ    Ø Ð äˆJܘ&¤"§*¡*Ô-ܘJÔ'Ð GÐ)GÓ GÐ'ؘÒ#ÜŸ™äFŒ|ÜŸ™ u¨dÓ3×:Ñ:¸5ÓA‘䟙 &Ó)×.Ñ.¨uÓ5à—]‘] 5¨u]Ó5ˆFð& €Mð!—]‘] 5Ó)ˆFð  €Mð
‰sÒ    Ü˜&¤"§*¡*Ô-ؘÒ#¤r§x¡x°Ô'7ÜŸ™¨Ó.×5Ñ5°eÓ<ð €Mô—‘˜“¤3§9¡9Ò,ä Ð!BÓCÐCôŸ™ &Ó)×0Ñ0°¸UÐ0ÓCð
€Mð—]‘] 8Ó,×1Ñ1°%Ó8ˆFà €Mr,cóx‡—tj‰«ddddœ                            dˆfd„«}tt|«S)z˜
    If we have datetime64 or timedelta64 values, ensure we have a correct
    mask before calling the wrapped function, then cast back afterwards.
    NT©rerfricóؕ—|}|jjdv}|r |€ t|«}‰|f|||dœ|¤Ž}|r0t||jt¬«}|s|€J‚t ||||«}|S)Nr™r½)r”)r3ršrr»r
Ú_mask_datetimelike_result)    rGrerfrirNÚ orig_valuesr£rtÚfuncs            €r*Únew_funcz&_datetimelike_compat.<locals>.new_func…sø€ðˆ à—|‘|×(Ñ(¨DÐ0ˆ Ù ˜D˜Lܘ“<ˆDáfÐL 4°¸TÑLÀVÑLˆá Ü" 6¨;×+<Ñ+<ÌÔNˆFÙØÐ'Ð'Ð'Ü2°6¸4ÀÀ{ÓSàˆ r,©rGrxreryrfr[riúnpt.NDArray[np.bool_] | NonerT)rÁrÂs` r*Ú_datetimelike_compatrÅs`ø€ô ‡__TÓð $ØØ-1ñ Øððððð    ð
+ô óðô0 ”8Ó Ðr,có0—|jjdvr|jd«}t|j«}|jdk(r|S|€|S|j
d||j
|dzdz}t j|||j¬«S)a
    Return the missing value for `values`.
 
    Parameters
    ----------
    values : ndarray
    axis : int or None
        axis for the reduction, required if values.ndim > 1.
 
    Returns
    -------
    result : scalar or ndarray
        For 1-D values, returns a scalar of the correct missing type.
        For 2-D values, returns a 1-D array where each element is missing.
    ÚiufcbrªéNr¯)r3ršr·r ÚndimÚshaper‰Úfull)rGrer”Ú result_shapes    r*rnrn¡sŠ€ð"‡||×јGÑ#Ø—‘˜yÓ)ˆÜ# F§L¡LÓ1€Jà ‡{{aÒØÐØ     ˆØÐà—|‘| E TÐ*¨V¯\©\¸$À¹(¸*Ð-EÑEˆ äw‰w| Z°v·|±|ÔDÐDr,cóf‡—tj‰«ddœdˆfd„«}tt|«S)z
    NumPy operations on C-contiguous ndarrays with axis=1 can be
    very slow if axis 1 >> axis 0.
    Operate row-by-row and concatenate the results.
    N©rec    ó•—|dk(rï|jdk(rà|jdrÑ|jddz |jdkDr¯|jtk7rœ|jt
k7r‰t |«}|jd«B|jd«}tt|««Dcgc]}‰||fd||i|¤Ž‘Œ}}n|Dcgc] }‰|fi|¤Ž‘Œ }}tj|«S‰|fd|i|¤ŽScc}wcc}w)NrÈéÚ C_CONTIGUOUSièrrire) rÉÚflagsrÊr3rƒr[ÚlistrmrpÚrangerjr‰Úarray)    rGrerNÚarrsriÚiÚresultsÚxrÁs            €r*Únewfuncz&maybe_operate_rowwise.<locals>.newfuncÇsø€ð AŠIØ— ‘ ˜qÒ Ø— ‘ ˜^Ò,𗑘a‘ 4Ñ'¨6¯<©<¸©?Ò:Ø— ‘ ¤Ò&Ø— ‘ ¤Ò$䘓<ˆD؏z‰z˜&Ó!Ð-Ø—z‘z &Ó)äCHÌÈTËÓCSöØ>?‘D˜˜a™Ñ9 t¨A¡wÐ9°&Ó9ðñð7;Ö;°™4 Ñ, VÓ,Ð;Ð;Ü—8‘8˜GÓ$Ð $áFÑ0 Ð0¨Ñ0Ð0ùòùò<s Â0DÃD)rGrxreryrT)rÁrÚs` r*Úmaybe_operate_rowwiserÛÀs2ø€ô‡__TÓØ>Bö1óð1ô. ”7Ó Ðr,r½cóh—|jjdvr|€|j|«S|jjdk(r$tjdt
t «¬«t||d|¬«\}}|jtk(r|jt«}|j|«S)a
    Check if any elements along an axis evaluate to True.
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : bool
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, 2])
    >>> nanops.nanany(s.values)
    True
 
    >>> from pandas.core import nanops
    >>> s = pd.Series([np.nan])
    >>> nanops.nanany(s.values)
    False
    Úiubr±zz'any' with datetime64 dtypes is deprecated and will raise in a future version. Use (obj != pd.Timestamp(0)).any() instead.©Ú
stacklevelF©r”ri) r3ršrHÚwarningsr#Ú FutureWarningrr¤rƒr·r[©rGrerfriÚ_s     r*Únananyråâsœ€ðD‡||×јEÑ! d lðz‰z˜$ÓÐà ‡||×јCÒä ‰ ð Jä Ü'Ó)õ        
ô˜F F°uÀ4ÔHI€FˆAð‡||”vÒØ—‘œtÓ$ˆð :‰:dÓ Ðr,cóh—|jjdvr|€|j|«S|jjdk(r$tjdt
t «¬«t||d|¬«\}}|jtk(r|jt«}|j|«S)a
    Check if all elements along an axis evaluate to True.
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : bool
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, 2, np.nan])
    >>> nanops.nanall(s.values)
    True
 
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, 0])
    >>> nanops.nanall(s.values)
    False
    rÝr±zz'all' with datetime64 dtypes is deprecated and will raise in a future version. Use (obj != pd.Timestamp(0)).all() instead.rÞTrà) r3ršÚallrár#rârr¤rƒr·r[rãs     r*Únanallrèsœ€ðD‡||×јEÑ! d lðz‰z˜$ÓÐà ‡||×јCÒä ‰ ð Jä Ü'Ó)õ        
ô˜F F°tÀ$ÔGI€FˆAð‡||”vÒØ—‘œtÓ$ˆð :‰:dÓ Ðr,ÚM8)rerfrhricó:—|j}t||d|¬«\}}t|«}|jdk(r|}n2|jdk(r#t    jtj
«}|j ||¬«}t||||j|¬«}|S)aÁ
    Sum the elements along an axis ignoring NaNs
 
    Parameters
    ----------
    values : ndarray[dtype]
    axis : int, optional
    skipna : bool, default True
    min_count: int, default 0
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : dtype
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, 2, np.nan])
    >>> nanops.nansum(s.values)
    3.0
    rràrRr´r¯©rh)    r3r¤r¬ršr‰rªÚsumÚ_maybe_null_outrÊ)rGrerfrhrir3Ú    dtype_sumÚthe_sums        r*r€r€\sˆ€ðD L‰L€Eܘv v¸!À$ÔGL€FˆDܘuÓ%€IØ ‡zzSÒØ‰    Ø    ‰sÒ    Ü—H‘HœRŸZ™ZÓ(ˆ    àj‰j˜ YˆjÓ/€Gܘg t¨T°6·<±<È9ÔU€Gà €Nr,cóL—t|tj«rG|jd«j    |j
«}|j |¬«}t||<|S|j «r2tjt«j    |j
«S|S)NrrÎ)    rˆr‰rŠr·rŸr3rHr
r¨)rtrerirÀÚ    axis_masks     r*r¿r¿Œsƒ€ô &œ"Ÿ*™*Ô%à—‘˜tÓ$×)Ñ)¨+×*;Ñ*;Ó<ˆØ—H‘H $HÓ'ˆ    ô!ˆˆyÑð €Mð 8‰8Œ:Ü—8‘8œD“>×&Ñ& {×'8Ñ'8Ó9Ð 9Ø €Mr,có4—|j}t||d|¬«\}}t|«}tjtj«}|j
dvr$tjtj«}nE|j
dvr$tjtj«}n|j
dk(r|}|}t |j|||¬«}|j||¬«}t|«}|ut|dd    «rhttj|«}tjd
¬ «5||z }    ddd«|dk(}
|
j«rtj    |
<    S|dkDr||z ntj}    |    S#1swYŒOxYw) a 
    Compute the mean of the element along an axis ignoring NaNs
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    float
        Unless input is a float array, in which case use the same
        precision as the input array.
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, 2, np.nan])
    >>> nanops.nanmean(s.values)
    1.5
    rràr™ÚiurRr¯NrÉFÚignore)rç)r3r¤r¬r‰rªršÚ _get_countsrÊrìÚ_ensure_numericrzrrŠÚerrstaterHrC) rGrerfrir3rîÚ dtype_countÚcountrïÚthe_meanÚct_masks            r*r‚r‚ŸsR€ðB L‰L€Eܘv v¸!À$ÔGL€FˆDܘuÓ%€IÜ—(‘(œ2Ÿ:™:Ó&€Kð ‡zzTÑÜ—H‘HœRŸZ™ZÓ(‰    Ø    ‰tÑ    Ü—H‘HœRŸZ™ZÓ(‰    Ø    ‰sÒ    Øˆ    Øˆ ä ˜Ÿ ™  d¨D¸ Ô D€E؏j‰j˜ YˆjÓ/€GܘgÓ&€Gà МG G¨V°UÔ;Ü”R—Z‘Z Ó'ˆÜ [‰[˜XÔ &ñ    'à ‘ˆH÷    'ð˜1‘*ˆØ ;‰;Œ=Ü "§¡ˆHWÑ ð €Oð',¨a¢i7˜U’?´R·V±Vˆà €O÷    'ð    'ús Ä:FÆFcót‡—|jjdk(xr|du}dˆfd„    }|j}t|‰|d¬«\}}|jjdk7rM|jtk(r(t    j
|«}|dvrt d|›d«‚    |jd«}|s;|9|jjs|j«}tj||<|j}    |j d    kDrÞ|Ü|    rÉstj"|||«}
nÛt%j&«5t%j(d
d t*«|j,d    d    k(r|d k(s|j,d d    k(r0|d    k(r+tj.tj0|«d ¬«}
ntj.||¬«}
ddd«n2t3|j,|«}
n|    r    |||«ntj}
t5
|«S#t$r}t t|««|‚d}~wwxYw#1swYŒ;xYw)aØ
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : float
        Unless input is a float array, in which case use the same
        precision as the input array.
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, np.nan, 2, 2])
    >>> nanops.nanmedian(s.values)
    2.0
    rRNcó(•—|€ t|«}n|}‰s |j«stjSt    j
«5t    j ddt«tj||«}ddd«|S#1swYSxYw)NrôúAll-NaN slice encountered)    r!rçr‰rCráÚcatch_warningsÚfilterwarningsÚRuntimeWarningÚ    nanmedian)rÙÚ_maskÚresrfs   €r*Ú
get_medianznanmedian.<locals>.get_medianýs€ø€Ø ˆ=ܘ!“H‰EàFˆEÙ˜eŸi™iœkÜ—6‘6ˆMÜ × $Ñ $Ó &ñ    )ä × #Ñ #ØÐ5´~ô ô—,‘,˜q ™xÓ(ˆC÷     )ð ˆ
÷     )ð ˆ
ús Á    4BÂB)rir”©ÚstringÚmixedzCannot convert ú  to numericr…rÈrôrþrT)ÚkeepdimsrÎr&)r3ršr¤rƒr Ú infer_dtyperKr·rLÚstrrÒÚ    writeabler r‰rCrlrÉÚapply_along_axisrárÿrrrÊrÚsqueezeÚ_get_empty_reduction_resultr») rGrerfriÚusing_nan_sentinelrr3ÚinferredÚerrÚnotemptyrs   `        r*rràs÷ø€ð6 Ÿ™×*Ñ*¨cÑ1ÒB°d¸d°lÐõ ð L‰L€Eܘv v°DÀTÔJL€FˆDØ ‡||×јCÒØ <‰<œ6Ò !ä—‘ vÓ.ˆHØÐ.Ñ.Ü /°&°¸РEÓFÐFð    /Ø—]‘] 4Ó(ˆFñ  $Ð"2؏|‰|×%Ò%Ø—[‘[“]ˆFÜ—v‘vˆˆt‰ à{‰{€Hð‡{{Q‚˜4Ð+á ÙÜ×)Ñ)¨*°d¸FÓC‘ô×,Ñ,Ó.ñ >ä×+Ñ+Ø Ð"=¼~ô🠙  Q™¨1Ò,°¸²ØŸ ™  Q™¨1Ò,°¸²ô!Ÿl™l¬2¯:©:°fÓ+=ÈÔM™ä Ÿl™l¨6¸Ô=˜÷ >ð >ô$.¨f¯l©l¸DÓA‰Cñ+3‰j˜ Ô&¼¿¹ˆÜ ˜˜eÓ $Ð$øôUò    /äœC ›HÓ%¨3Ð .ûð    /ú÷& >ð >ús%ÂHÄ5B H.È    H+ÈH&È&H+È.H7có—tj|«}tjt|««}tj|||k7tj
¬«}|j tj«|S)z¬
    The result from a reduction on an empty ndarray.
 
    Parameters
    ----------
    shape : Tuple[int, ...]
    axis : int
 
    Returns
    -------
    np.ndarray
    r¯)r‰rÕÚarangerjÚemptyrªÚfillrC)rÊreÚshpÚdimsÚrets     r*rrCsU€ô  (‰(5‹/€CÜ 9‰9”S˜“ZÓ  €DÜ
(‰(3t˜t‘|Ñ$¬B¯J©JÔ
7€C؇HHŒRV‰VÔØ €Jr,cóª—t||||¬«}||j|«z
}t|«r)||kr tj}tj}||fSt tj |«}||k}|j«rJtj||tj«tj||tj«||fS)a:
    Get the count of non-null values along an axis, accounting
    for degrees of freedom.
 
    Parameters
    ----------
    values_shape : Tuple[int, ...]
        shape tuple from values ndarray, used if mask is None
    mask : Optional[ndarray[bool]]
        locations in values that should be considered missing
    axis : Optional[int]
        axis to count along
    ddof : int
        degrees of freedom
    dtype : type, optional
        type to use for count
 
    Returns
    -------
    count : int, np.nan or np.ndarray
    d : int, np.nan or np.ndarray
    r¯)    rõr1rr‰rCrrŠrHr¡)Ú values_shaperireÚddofr3rùÚds       r*Ú_get_counts_nanvarr Zs«€ô: ˜  d¨D¸Ô >€EØ —
‘
˜4Ó Ñ €Aô„Ø DŠ=ô—F‘FˆEÜ—‘ˆAð !ˆ8€Oô ”R—Z‘Z Ó'ˆØ˜‰}ˆØ 8‰8Œ:Ü J‰Jq˜$¤§¡Ô 'Ü J‰Ju˜d¤B§F¡FÔ +Ø !ˆ8€Or,rÈ©r©rerfrric    óڗ|jdk(r|jd«}|j}t|||¬«\}}tjt |||||¬««}t ||«S)a»
    Compute the standard deviation along given axis while ignoring NaNs
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    ddof : int, default 1
        Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
        where N represents the number of elements.
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : float
        Unless input is a float array, in which case use the same
        precision as the input array.
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, np.nan, 2, 3])
    >>> nanops.nanstd(s.values)
    1.0
    zM8[ns]rµ)rir")r3rŸr¤r‰ÚsqrtÚnanvarr»)rGrerfrriÚ
orig_dtyperts       r*Únanstdr'Œsb€ðH‡||xÒØ—‘˜XÓ&ˆà—‘€Jܘv v°DÔ9L€FˆDä W‰W”V˜F¨°fÀ4ÈdÔSÓ T€FÜ ˜ Ó ,Ð,r,Úm8có—|j}t|||«}|jdvr&|jd«}|tj
||<|jjdk(r't |j||||j«\}}nt |j|||«\}}|r)|'|j«}t    j||d«t|j|tj¬««|z }|t    j||«}t||z
dz«}    |t    j|    |d«|    j|tj¬«|z }
|jdk(r|
j|d¬«}
|
S)    a±
    Compute the variance along given axis while ignoring NaNs
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    ddof : int, default 1
        Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
        where N represents the number of elements.
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : float
        Unless input is a float array, in which case use the same
        precision as the input array.
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, np.nan, 2, 3])
    >>> nanops.nanvar(s.values)
    1.0
    rór…rRr)rer3rÐFr³)r3r›ršr·r‰rCr rÊr r¡rörìrªÚ expand_dims) rGrerfrrir3rùrÚavgÚsqrrts            r*r%r%ºsU€ðJ L‰L€EÜ ˜6 6¨4Ó 0€DØ ‡zzTÑØ—‘˜tÓ$ˆØ Ð ÜŸ6™6ˆF4‰Là ‡||×јCÒÜ% f§l¡l°D¸$ÀÀfÇlÁlÓS‰ˆ‰qä% f§l¡l°D¸$ÀÓE‰ˆˆqá $Ð"Ø—‘“ˆÜ

‰
6˜4 Ô#ô ˜&Ÿ*™*¨$´b·j±j˜*ÓAÓ
BÀUÑ
J€CØ Ð܏n‰n˜S $Ó'ˆÜ
˜3 ™<¨AÑ-Ó
.€CØ ÐÜ

‰
3˜˜aÔ Ø W‰W˜$¤b§j¡jˆWÓ 1°AÑ 5€Fð
 ‡zzSÒØ—‘˜u¨5Ó1ˆØ €Mr,cóš—t|||||¬«t|||«}|jjdk7r|j    d«}|s"| |j «rt jSt|j||||j«\}}t|||||¬«}t j|«t j|«z S)aÕ
    Compute the standard error in the mean along given axis while ignoring NaNs
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    ddof : int, default 1
        Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
        where N represents the number of elements.
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : float64
        Unless input is a float array, in which case use the same
        precision as the input array.
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, np.nan, 2, 3])
    >>> nanops.nansem(s.values)
     0.5773502691896258
    r"rRr…) r%r›r3ršr·rHr‰rCr rÊr$)rGrerfrrirùräÚvars        r*Únansemr/s§€ôL ˆ6˜ V°$¸TÕBä ˜6 6¨4Ó 0€DØ ‡||×јCÒØ—‘˜tÓ$ˆá dÐ&¨4¯8©8¬:܏v‰vˆ ä! &§,¡,°°d¸DÀ&Ç,Á,ÓOH€Eˆ1Ü
˜d¨6¸À4Ô
H€Cä 7‰73‹<œ"Ÿ'™' %›.Ñ (Ð(r,cóf‡‡—td‰›¬«tddddœ                            dˆˆfd„««}|S)NrC)rbTr½có¶•—|jdk(r t||«St||‰|¬«\}}t|‰«|«}t    ||||j
«}|S)Nr©r•ri)rlrnr¤rzrírÊ)rGrerfrirtr•Úmeths     €€r*Ú    reductionz_nanminmax.<locals>.reduction;scø€ð ;‰;˜!Ò Ü$ V¨TÓ2Ð 2ä"Ø F¨>Àô
‰ ˆð'”˜ Ó& tÓ,ˆÜ  ¨¨t°V·\±\ÓBˆØˆ r,rÃ)r`rÅ)r3r•r4s`` r*Ú
_nanminmaxr5:saù€Ü˜c $ ˜LÔ)Üð $ØØ-1ñ Øððððð    ð
+õ óó*ðð" Ðr,Úminr)r•Úmaxú-infcóh—t|dd|¬«\}}|j|«}t||||«}|S)aä
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : int or ndarray[int]
        The index/indices  of max value in specified axis or -1 in the NA case
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> arr = np.array([1, 2, 3, np.nan, 4])
    >>> nanops.nanargmax(arr)
    4
 
    >>> arr = np.array(range(12), dtype=np.float64).reshape(4, 3)
    >>> arr[2:, 2] = np.nan
    >>> arr
    array([[ 0.,  1.,  2.],
           [ 3.,  4.,  5.],
           [ 6.,  7., nan],
           [ 9., 10., nan]])
    >>> nanops.nanargmax(arr, axis=1)
    array([2, 2, 1, 1])
    Tr8r2)r¤ÚargmaxÚ_maybe_arg_null_out©rGrerfrirts     r*Ú    nanargmaxr=Uó>€ôL˜v t¸FÈÔNL€FˆDØ ]‰]˜4Ó  €Fô! ¨¨t°VÓ <€FØ €Mr,cóh—t|dd|¬«\}}|j|«}t||||«}|S)aã
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : int or ndarray[int]
        The index/indices of min value in specified axis or -1 in the NA case
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> arr = np.array([1, 2, 3, np.nan, 4])
    >>> nanops.nanargmin(arr)
    0
 
    >>> arr = np.array(range(12), dtype=np.float64).reshape(4, 3)
    >>> arr[2:, 0] = np.nan
    >>> arr
    array([[ 0.,  1.,  2.],
           [ 3.,  4.,  5.],
           [nan,  7.,  8.],
           [nan, 10., 11.]])
    >>> nanops.nanargmin(arr, axis=1)
    array([0, 0, 1, 1])
    Trr2)r¤Úargminr;r<s     r*Ú    nanargminrAƒr>r,có:—t|||«}|jjdk7r)|jd«}t    |j
||«}n#t    |j
|||j¬«}|r*|(|j «}tj||d«n$|s"| |j«rtjStjdd¬«5|j|tj¬«|z }ddd«|tj|«}|z
}|r|tj||d«|dz}||z}|j|tj¬«}    |j|tj¬«}
t|    «}    t|
«}
tjdd¬«5||d    z
d
zz|dz
z |
|    d zz z} ddd«|j} | jdk(r j| d ¬ «} t! tj"«r2tj$|    dk(d| «} tj| |dk<| S|    dk(r| j'd«n| } |dkrtjS| S#1swYŒ‡xYw#1swYŒ¿xYw)aÐ
    Compute the sample skewness.
 
    The statistic computed here is the adjusted Fisher-Pearson standardized
    moment coefficient G1. The algorithm computes this coefficient directly
    from the second and third central moment.
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : float64
        Unless input is a float array, in which case use the same
        precision as the input array.
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, np.nan, 1, 2])
    >>> nanops.nanskew(s.values)
    1.7320508075688787
    rRr…r¯Nrrô©ÚinvalidÚdividerÐrÈgà?gø?Fr³é)r›r3ršr·rõrÊr r‰r¡rHrCr÷rìrªr*Ú_zero_out_fperrrˆrŠr¢r1) rGrerfrirùÚmeanÚadjustedÚ    adjusted2Ú    adjusted3Úm2Úm3rtr3s              r*ÚnanskewrN±sF€ôJ ˜6 6¨4Ó 0€DØ ‡||×јCÒØ—‘˜tÓ$ˆÜ˜FŸL™L¨$°Ó5‰ä˜FŸL™L¨$°¸F¿L¹LÔIˆá $Ð"Ø—‘“ˆÜ

‰
6˜4 Õ#Ù ˜Ð(¨T¯X©X¬Z܏v‰vˆ ä     ‰˜X¨hÔ    7ñ:؏z‰z˜$¤b§j¡jˆzÓ1°EÑ9ˆ÷:à Ð܏~‰~˜d DÓ)ˆà˜‰}€HÙ $Ð"Ü

‰
8˜T 1Ô%ؘ!‘ €IؘHÑ$€IØ    ‰t¤2§:¡:ˆÓ    .€BØ    ‰t¤2§:¡:ˆÓ    .€Bô
˜Ó    €BÜ    ˜Ó    €Bä     ‰˜X¨hÔ    7ñMؘ5 1™9¨Ñ,Ñ,°¸±    Ñ:¸rÀBÈÁG¹|ÑLˆ÷Mð L‰L€EØ ‡zzSÒØ—‘˜u¨5Ó1ˆä&œ"Ÿ*™*Ô%Ü—‘˜" ™' 1 fÓ-ˆÜŸF™Fˆˆuq‰yÑð €Mð    #%¨¢'—‘˜A”¨vˆØ 1Š9Ü—6‘6ˆMà €M÷G:ñ:ú÷(MðMúsÃ%JÆ8JÊJÊJcó"—t|||«}|jjdk7r)|jd«}t    |j
||«}n#t    |j
|||j¬«}|r*|(|j «}tj||d«n$|s"| |j«rtjStjdd¬«5|j|tj¬«|z }ddd«|tj|«}|z
}|r|tj||d«|dz}|dz}|j|tj¬«}    |j|tj¬«}
tjdd¬«5d    |d
z
dzz|dz
|d    z
zz } ||d
zz|d
z
z|
z} |dz
|d    z
z|    dzz} ddd«t «} t «} t!| tj"«s5|d krtjS| dk(r|jj%d«Stjdd¬«5| | z  z
}ddd«|j}|jdk(rj|d ¬ «}t!tj"«r0tj&| dk(d|«}tj||d k<|S#1swYŒîxYw#1swYŒxYw#1swYŒxYw)a¼
    Compute the sample excess kurtosis
 
    The statistic computed here is the adjusted Fisher-Pearson standardized
    moment coefficient G2, computed directly from the second and fourth
    central moment.
 
    Parameters
    ----------
    values : ndarray
    axis : int, optional
    skipna : bool, default True
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    result : float64
        Unless input is a float array, in which case use the same
        precision as the input array.
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, np.nan, 1, 3, 2])
    >>> nanops.nankurt(s.values)
    -1.2892561983471076
    rRr…r¯NrrôrCrÐrFrÈéFr³)r›r3ršr·rõrÊr r‰r¡rHrCr÷rìrªr*rGrˆrŠr1r¢)rGrerfrirùrHrIrJÚ    adjusted4rLÚm4ÚadjÚ    numeratorÚ denominatorrtr3s                r*ÚnankurtrV    s¶€ôJ ˜6 6¨4Ó 0€DØ ‡||×јCÒØ—‘˜tÓ$ˆÜ˜FŸL™L¨$°Ó5‰ä˜FŸL™L¨$°¸F¿L¹LÔIˆá $Ð"Ø—‘“ˆÜ

‰
6˜4 Õ#Ù ˜Ð(¨T¯X©X¬Z܏v‰vˆ ä     ‰˜X¨hÔ    7ñ:؏z‰z˜$¤b§j¡jˆzÓ1°EÑ9ˆ÷:à Ð܏~‰~˜d DÓ)ˆà˜‰}€HÙ $Ð"Ü

‰
8˜T 1Ô%ؘ!‘ €Iؘ1‘ €IØ    ‰t¤2§:¡:ˆÓ    .€BØ    ‰t¤2§:¡:ˆÓ    .€Bä     ‰˜X¨hÔ    7ñ8ؐ5˜1‘9 Ñ"Ñ" u¨q¡y°U¸Q±YÑ&?Ñ@ˆØ˜U Q™YÑ'¨5°1©9Ñ5¸Ñ:ˆ    Ø˜q‘y U¨Q¡YÑ/°"°a±%Ñ7ˆ ÷8ô      Ó*€IÜ! +Ó.€Kä k¤2§:¡:Ô .ð 1Š9Ü—6‘6ˆMØ ˜!Ò Ø—<‘<×$Ñ$ QÓ'Ð 'ä     ‰˜X¨hÔ    7ñ/ؘ[Ñ(¨3Ñ.ˆ÷/ð L‰L€EØ ‡zzSÒØ—‘˜u¨5Ó1ˆä&œ"Ÿ*™*Ô%Ü—‘˜+¨Ñ*¨A¨vÓ6ˆÜŸF™Fˆˆuq‰yÑà €M÷Y:ñ:ú÷8ñ8ú÷(/ð/ús$Ã%K+Æ":K8É     LË+K5Ë8LÌLcó¤—t|||«}|r||j«}d||<|j|«}t||||j|¬«S)aØ
    Parameters
    ----------
    values : ndarray[dtype]
    axis : int, optional
    skipna : bool, default True
    min_count: int, default 0
    mask : ndarray[bool], optional
        nan-mask if known
 
    Returns
    -------
    Dtype
        The product of all elements on a given axis. ( NaNs are treated as 1)
 
    Examples
    --------
    >>> from pandas.core import nanops
    >>> s = pd.Series([1, 2, 3, np.nan])
    >>> nanops.nanprod(s.values)
    6.0
    rÈrë)r›r ÚprodrírÊ)rGrerfrhrirts      r*rrjs[€ô@ ˜6 6¨4Ó 0€Dá $Ð"Ø—‘“ˆØˆˆt‰ Ø [‰[˜Ó €Fô ؐd˜FŸL™L°Iô ðr,cóì—|€|S| t|dd«s&|r|j«ry|j«ry|S|r|j|«}n|j|«}|j«rd||<|S)NrÉFéÿÿÿÿ)rzrçrH)rtrerirfÚna_masks     r*r;r;—sv€ð €|؈ à €|œ7 6¨6°5Ô9٠؏x‰xŒzØàx‰xŒzØð €Mñ Ø—h‘h˜t“n‰Gà—h‘h˜t“nˆGØ ;‰;Œ=Ø ˆF7‰OØ €Mr,cóB—|€F||j|j«z
}ntj|«}|j    |«S|"|j
||j|«z
}n||}t |«r|j    |«S|j|d¬«S)a¹
    Get the count of non-null values along an axis
 
    Parameters
    ----------
    values_shape : tuple of int
        shape tuple from values ndarray, used if mask is None
    mask : Optional[ndarray[bool]]
        locations in values that should be considered missing
    axis : Optional[int]
        axis to count along
    dtype : type, optional
        type to use for count
 
    Returns
    -------
    count : scalar or array
    Fr³)rlrìr‰rXr1rÊrr·)rrirer3Únrùs      r*rõrõ²s”€ð0 €|Ø Ð Ø—    ‘    ˜DŸH™H›JÑ&‰Aä—‘˜ Ó%ˆA؏z‰z˜!‹}Ðà ÐØ—
‘
˜4Ñ  4§8¡8¨D£>Ñ1‰à˜TÑ"ˆä%ÔØz‰z˜%Ó Ð Ø <‰<˜ Eˆ<Ó *Ð*r,có¤—|€|dk(r|S|ôt|tj«rÚ|(|j||j    |«z
|z
dk}n/|||z
dk}|d|||dzdz}tj
||«}tj |«rjt|«rZtj|«r|jd«}nt|«s|jdd¬«}tj||<|Sd||<|S|turHt|||«r;t|dd«}t|«r|jd    «}|Stj}|S)
zu
    Returns
    -------
    Dtype
        The product of all elements on a given axis. ( NaNs are treated as 1)
    NrrÈÚc16r…Fr³r3rC)rˆr‰rŠrÊrìÚ broadcast_torHrÚ iscomplexobjr·rrCrÚcheck_below_min_countrzr1)    rtrerirÊrhÚ    null_maskÚ below_countÚ    new_shapeÚ result_dtypes             r*ríríÛsU€ð €|˜     Qšàˆ à МJ v¬r¯z©zÔ:Ø Ð ØŸ™ DÑ)¨D¯H©H°T«NÑ:¸YÑFÈ!ÑK‰Ið  ™+¨    Ñ1°AÑ5ˆKؘe˜t˜  u¨T°A©X¨ZÐ'8Ñ8ˆIÜŸ™¨ °YÓ?ˆIä 6‰6)Ô Ü Ô'Ü—?‘? 6Ô*Ø#Ÿ]™]¨5Ó1‘FÜ'¨Ô/Ø#Ÿ]™]¨4°e˜]Ó<FÜ$&§F¡FyÑ!ð €Mð%)yÑ!ð €Mð
”sÑ    Ü   ¨¨iÔ 8Ü" 6¨7°DÓ9ˆLܘlÔ+à%×*Ñ*¨5Ó1ð €MôŸ™à €Mr,có„—|dkDr;|€tj|«}n|j|j«z
}||kryy)aÅ
    Check for the `min_count` keyword. Returns True if below `min_count` (when
    missing value should be returned from the reduction).
 
    Parameters
    ----------
    shape : tuple
        The shape of the values (`values.shape`).
    mask : ndarray[bool] or None
        Boolean numpy array (typically of same shape as `shape`) or None.
    min_count : int
        Keyword passed through from sum/prod call.
 
    Returns
    -------
    bool
    rTF)r‰rXrlrì)rÊrirhÚ    non_nullss    r*rbrb s?€ð(1‚}Ø ˆ<䟙 ›‰IàŸ    ™     D§H¡H£JÑ.ˆIØ yÒ  ØØ r,cóú—t|tj«r-tjtj|«dkd|«Stj|«dkr|j
j d«S|S)Ng›+¡†›„=r)rˆr‰rŠr¢Úabsr3r1)Úargs r*rGrG*sW€ä#”r—z‘zÔ"܏x‰xœŸ™˜s›  eÑ+¨Q°Ó4Ð4ä$&§F¡F¨3£K°%Ò$7ˆsy‰y~‰~˜aÓ Ð@¸SÐ@r,Úpearson)ÚmethodÚ min_periodscó@—t|«t|«k7r td«‚|€d}t|«t|«z}|j«s
||}||}t|«|krtj
St |«}t |«}t|«}|||«S)z
    a, b: ndarrays
    z'Operands to nancorr must have same sizerÈ)rjÚAssertionErrorr!rçr‰rCröÚ get_corr_func)ÚaÚbrmrnÚvalidrRs      r*Únancorrru2s–€ô ˆ1ƒv”Q“ÒÜÐFÓGÐGàÐØˆ ä !‹H”u˜Q“xÑ €EØ 9‰9Œ;Ø ˆe‰HˆØ ˆe‰Hˆä
ˆ1ƒv Ò܏v‰vˆ ä˜Ó€AܘӀAäfÓ€AÙ ˆQ‹7€Nr,c󚇇—|dk(r ddlmŠˆfd„}|S|dk(r ddlmŠˆfd„}|S|dk(rd    „}|St|«r|St    d
|›d «‚) NÚkendallr)Ú
kendalltaucó•—‰||«dS©Nrr~)rrrsrxs  €r*rÁzget_corr_func.<locals>.funcXsø€Ù˜a Ó# AÑ&Ð &r,Úspearman)Ú    spearmanrcó•—‰||«dSrzr~)rrrsr|s  €r*rÁzget_corr_func.<locals>.func_sø€Ù˜Q “? 1Ñ%Ð %r,rlcó4—tj||«dS)N©rrÈ)r‰Úcorrcoef)rrrss  r*rÁzget_corr_func.<locals>.funces€Ü—;‘;˜q !Ó$ TÑ*Ð *r,zUnknown method 'z@', expected one of 'kendall', 'spearman', 'pearson', or callable)Ú scipy.statsrxr|ÚcallablerL)rmrÁrxr|s  @@r*rqrqRsrù€ðÒÝ*ô    'ðˆ Ø    :Ò    Ý)ô    &ðˆ Ø    9Ò    ò    +ðˆ Ü    &Ô    Øˆ ä
˜6˜(ð#8ð    8ó ðr,)rnrcóN—t|«t|«k7r td«‚|€d}t|«t|«z}|j«s
||}||}t|«|krtj
St |«}t |«}t    j|||¬«dS)Nz&Operands to nancov must have same sizerÈr!r)rjrpr!rçr‰rCröÚcov)rrrsrnrrts     r*Únancovr…rs™€ô ˆ1ƒv”Q“ÒÜÐEÓFÐFàÐØˆ ä !‹H”u˜Q“xÑ €EØ 9‰9Œ;Ø ˆe‰HˆØ ˆe‰Hˆä
ˆ1ƒv Ò܏v‰vˆ ä˜Ó€AܘӀAä 6‰6!Q˜TÔ " 4Ñ (Ð(r,có¤—t|tj«rÌ|jjdvr!|j tj «}|S|jtk(r~tj|«}|dvrtd|›d«‚    |j tj«}tjtj|««s|j}|S|St!|«sCt#|«s8t%|«s-t|t&«rtd|›d«‚    t)|«}|S|S#ttf$rF    |j tj «}n!#t$r}td|›d«|‚d}~wwxYwY|SwxYw#ttf$r1    t+|«}Y|S#t$r}td|›d«|‚d}~wwxYwwxYw)Nr˜rzCould not convert r    zCould not convert string 'z ' to numeric)rˆr‰rŠr3ršr·rªrƒr r rKÚ
complex128rHÚimagÚrealrLrrrr ÚfloatÚcomplex)rÙrrs   r*röröŽs¿€Ü!”R—Z‘ZÔ Ø 7‰7<‰<˜5Ñ  Ø—‘œŸ™Ó$ˆAð< €Hð;W‰WœÒ Ü—‘ qÓ)ˆHØÐ.Ñ.äÐ"4°Q°C°{РCÓDÐDð
Ø—H‘HœRŸ]™]Ó+ô—v‘vœbŸg™g a›jÔ)ØŸ™Að €Hˆ1€HôqŒkœZ¨œ]¬j¸¬mÜ aœÔ äÐ8¸¸¸<ÐHÓIÐ Ið    Nܐa“ˆAð €Hˆ1€Høô-œzÐ*ò RðRØŸ™¤§¡Ó,‘AøÜ!òRä#Ð&8¸¸¸;Ð$GÓHÈcÐQûðRúðð( €Hð- Rûôœ:Ð&ò    Nð NܘA“J‘ð €Høôò NäÐ"4°Q°C°{РCÓDÈ#ÐMûð Núð        Nús`ÂD7Ä( FÄ7F ÅE'Å&F Å'    FÅ0FÆFÆF Æ F ÆGÆ F-Æ-    G Æ6GÇG Ç Gc    ó¢—tjdtjftjjtj
tjftj dtjftjjtj
tjfi|\}}|jjdvsJ‚|rot|jjtjtjf«s1|j«}t|«}|||<||d¬«}|||<|S||d¬«}|S)a
    Cumulative function with skipna support.
 
    Parameters
    ----------
    values : np.ndarray or ExtensionArray
    accum_func : {np.cumprod, np.maximum.accumulate, np.cumsum, np.minimum.accumulate}
    skipna : bool
 
    Returns
    -------
    np.ndarray or ExtensionArray
    gð?gr™rrÎ)r‰ÚcumprodrCÚmaximumÚ
accumulater’ÚcumsumÚminimumr3ršr=r1r®Úbool_r r)rGÚ
accum_funcrfÚmask_aÚmask_bÚvalsrirts        r*Ú na_accum_funcr—²s€ô     
‰
Sœ"Ÿ&™&MÜ

‰
×Ѥ§¡ ¬¯©Ð0Ü
    ‰    CœŸ™=Ü

‰
×Ѥ§¡¬¯©Ð/ð    ð
ñ N€FˆFð <‰<× Ñ  DÑ (Ð(Ð (ñ”j §¡×!2Ñ!2´R·Z±ZÄÇÁÐ4JÔK؏{‰{‹}ˆÜD‹zˆØˆˆT‰
Ù˜D qÔ)ˆØˆˆt‰ ð €Mñ˜F¨Ô+ˆà €Mr,)T)r)r[rXrY)r3rrbr rXr[rZ)NN)r3rr”z Scalar | None)rGrxrfr[rirÄrXrÄ)NNN) rGrxrfr[r”rr•z
str | NonerirÄrXz/tuple[np.ndarray, npt.NDArray[np.bool_] | None])r3únp.dtyperXr˜)r3rrXr[r&)r3r˜)rÁrrXr)rGrxreryrXzScalar | np.ndarray)
rGrxreryrfr[rirÄrXr[) rGrxreryrfr[rhÚintrirÄrXrŠ)
rtz+np.ndarray | np.datetime64 | np.timedelta64reryriznpt.NDArray[np.bool_]rÀrxrXz5np.ndarray | np.datetime64 | np.timedelta64 | NaTType)
rGrxreryrfr[rirÄrXrŠ)reryrfr[)rÊrrer rXrx) rrrirÄreryrr™r3r˜rXz-tuple[float | np.ndarray, float | np.ndarray])reryrfr[rr™)rGrxreryrfr[rr™) rGrxreryrfr[rr™rirÄrXrŠ)
rGrxreryrfr[rirÄrXzint | np.ndarray)
rtrxreryrirÄrfr[rXznp.ndarray | int)
rrrirÄreryr3znp.dtype[np.floating]rXz&np.floating | npt.NDArray[np.floating])rÈ) rtúnp.ndarray | float | NaTTypereryrirÄrÊútuple[int, ...]rhr™rXrš)rÊr›rirÄrhr™rXr[)
rrrxrsrxrmrrnú
int | NonerXrŠ)rmrrXz)Callable[[np.ndarray, np.ndarray], float])
rrrxrsrxrnrœrrœrXrŠ)rGr rfr[rXr )]Ú
__future__rrUrEÚtypingrrrráÚnumpyr‰Úpandas._configrÚ pandas._libsrr    r
r Úpandas._typingr r rrrrrrrÚpandas.compat._optionalrÚpandas.util._exceptionsrÚpandas.core.dtypes.commonrrrrrrrrÚpandas.core.dtypes.missingrr r!r{r'r(r+r.r`rorqr–r›r¤r¬r‘r»rÅrnrÛrårèr€r¿r‚rrr3rªr r'r%r/r5ÚnanminÚnanmaxr=rArNrVrr;rõrírbrGrurqr…rör—r~r,r*ú<module>r©sðÝ"ãÛ÷ñó
ãå%÷ó÷
÷
õ
õ?Ý4÷    ÷    ó    ÷ññ    °VÔ<€Ø $˜ÐØ€ôñ‘:Ð6Ó7Ô8÷ñ÷>5ñ5ópó(
ðGKðØ ðØ!.óð,)Ø ð)Ø $ð)Ø,Hð)à!ó)ð^Ø!%Ø)-ð DØ ðDà ðDððDðð    Dð
'ð Dð 5ó DóN    ó2ô &óRóDEó>ðJ ØØ)-ñ :Ø ð:ð ð:ð ð    :ð
'ð :ð 
ó :ð@ ØØ)-ñ :Ø ð:ð ð:ð ð    :ð
'ð :ð 
ó :ñz
ˆ$ƒØØð ØØØ)-ñ *Ø ð*ð ð*ð ð    *ð
ð *ð 'ð *ð ò*óóóð*ðZØ 7ðà
ðð  ððð    ð
;ó ñ&ÓØð ØØ)-ñ <Ø ð<ð ð<ð ð    <ð
'ð <ð  ò <óóð<ñ~ÓØ04ÀTÐPTô_%óð_%ðDØ ðà
ððóð8b—h‘h˜rŸz™zÓ*ð /Øð/à
&ð/ð ð/ð ð    /ð
ð /ð 3ó /ñd˜Ôð ØØØ     ñ *-ð ð*-ð ð    *-ð
ò *-óð*-ñZ
ˆ$ÓÙ˜Ôð ØØØ     ñ FØ ðFð ðFð ð    Fð
ò FóóðFñR
ˆ$Óð ØØØ)-ñ 1)Ø ð1)ð ð1)ð ð    1)ð
ð 1)ð 'ð 1)ð ò1)óð1)òhñ.
E¨&Ô    1€Ù    E¨&Ô    1€ð  ØØ)-ñ +Ø ð+ð ð+ð ð    +ð
'ð +ð ó +ðb ØØ)-ñ +Ø ð+ð ð+ð ð    +ð
'ð +ð ó +ñ\
ˆ$ÓØð ØØ)-ñ SØ ðSð ðSð ð    Sð
'ð Sð  ò SóóðSñl
ˆ$ÓØð ØØ)-ñ \Ø ð\ð ð\ð ð    \ð
'ð \ð  ò \óóð\ñ~
ˆ$ÓØð ØØØ)-ñ (Ø ð(ð ð(ð ð    (ð
ð (ð 'ð (ð ò(óóð(ðVØ ðà
ðð 'ðð ð    ð
ó ð>$, 2§8¡8¨B¯J©JÓ#7ð    &+Øð&+à
&ð&+ð ð&+ð !ð    &+ð
,ó &+ð\ð -Ø (ð-à
ð-ð 'ð-ð ð    -ð
ð -ð "ó -ð`Ø ðØ">ðØKNðà    óò>Añ
ˆ$Óð
!*Ø"ñ Øðàðð ð    ð
ð ð  ò óðð>Ø ðà.óñ@
ˆ$Óð
#Øñ )Øð)àð)ðð    )ð
ð )ð  ò )óð)ò6! ôH"r,