zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
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
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
U
¬ý°dîã @sdZddlmZddlZddlmZddlmZmZm    Z    m
Z
m Z m Z m Z mZmZmZmZmZddlZddlZddlZddlmZmZddlmZmZmZddlmZdd    l m!Z!dd
l"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAdd lBmCZCdd lDmEZFdd lGmHZHmIZImJZJddlKmLZLmMZMmNZNddlOmPZPddlQmRZRmSZSmTZTddlUmVZVddlWmXZXmYZYmZZZm[Z[ddl\m]Z]m^Z^m_Z_m`Z`maZambZbmcZcmdZdmeZemfZfmgZgddlhmiZiddljmkZkddllmmZmmnZnmoZompZpddlqmrZrmsZsmtZumvZvmwZwmxZxddlymzZzddl{m|Z|ddl}m~Z~ddlm€Z€ddlm‚Z‚ddlƒm„Z„m…Z…ddl†m‡Z‡ddlˆm‰Z‰mŠZŠdd l‹mŒZŒdd!lmŽZŽmZmZm‘Z‘m’Z’m“Z“ddl”m•m–msZ—dd"l˜m™Z™dd#lšm›Z›mœZœdd$lmžZžmŸZŸdd%l m¡Z¡dd&l¢m£Z£dd'l¤m¥Z¥m¦Z¦dd(l§m¨Z¨dd)l©mªZªddl«m¬m­m®Z¯dd*l°m±Z±m²Z²m³Z³ddl´ZµerÆdd+l"m¶Z¶m·Z·m¸Z¸dd,l¹mºZºdd-l»m¼Z¼dd.l½m¾Z¾d/gZ¿d0d/d1d2d3d4d/d5d5d6d7d8œ ZÀd9d:„ZÁGd;d/„d/esjÂe‡ƒZÃeàġex ÅeádS)<zG
Data structure for 1-dimensional cross-sectional and time series data
é)Ú annotationsN)Údedent) ÚIOÚ TYPE_CHECKINGÚAnyÚCallableÚHashableÚIterableÚLiteralÚMappingÚSequenceÚUnionÚcastÚoverload)Ú
get_optionÚusing_copy_on_write)ÚlibÚ
propertiesÚreshape)ÚBlockValuesRefs)Úis_range_indexer)Ú AggFuncTypeÚ    AlignJoinÚAnyAllÚ AnyArrayLikeÚ    ArrayLikeÚAxisÚAxisIntÚCorrelationMethodÚDropKeepÚDtypeÚ DtypeBackendÚDtypeObjÚFilePathÚ FillnaOptionsÚ    FrequencyÚ IgnoreRaiseÚ IndexKeyFuncÚ
IndexLabelÚLevelÚ
NaPositionÚQuantileInterpolationÚRenamerÚScalarÚ SingleManagerÚSortKindÚStorageOptionsÚTimedeltaConvertibleTypesÚTimestampConvertibleTypesÚ ValueKeyFuncÚ WriteBufferÚnpt)ÚPYPY)Úfunction)ÚChainedAssignmentErrorÚInvalidIndexErrorÚ_chained_assignment_msg)ÚAppenderÚ SubstitutionÚdoc)Úfind_stack_level)Úvalidate_ascendingÚvalidate_bool_kwargÚvalidate_percentile)Úastype_is_view)ÚLossySetitemErrorÚconvert_dtypesÚmaybe_box_nativeÚmaybe_cast_pointwise_result) Úensure_platform_intÚ is_dict_likeÚis_extension_array_dtypeÚ
is_integerÚ is_iteratorÚ is_list_likeÚis_numeric_dtypeÚis_object_dtypeÚ    is_scalarÚ pandas_dtypeÚvalidate_all_hashable)Ú ABCDataFrame)Ú is_hashable)ÚisnaÚna_value_for_dtypeÚnotnaÚremove_na_arraylike)Ú
algorithmsÚbaseÚcommonÚmissingÚnanopsÚops)ÚCachedAccessor)Ú SeriesApply)ÚExtensionArray)ÚCategoricalAccessor)ÚSparseAccessor)Ú extract_arrayÚsanitize_array)ÚNDFrame)Údisallow_ndim_indexingÚ unpack_1tuple)ÚCombinedDatetimelikeProperties)Ú DatetimeIndexÚIndexÚ
MultiIndexÚ PeriodIndexÚ default_indexÚ ensure_index)Úmaybe_droplevels)Úcheck_bool_indexerÚcheck_dict_or_set_indexers)ÚSingleArrayManagerÚSingleBlockManager)Úselectn)Ú _shared_docs)Úensure_key_mappedÚnargsort)Ú StringMethods)Ú to_datetime)ÚINFO_DOCSTRINGÚ
SeriesInfoÚseries_sub_kwargs)Ú NumpySorterÚNumpyValueArrayLikeÚSuffixes©Ú    DataFrame©Ú SeriesGroupBy)Ú    ResamplerÚSeriesÚindexz{0 or 'index'}zXaxis : {0 or 'index'}
        Unused. Parameter needed for compatibility with DataFrame.z[inplace : bool, default False
        If True, performs operation inplace and returns None.ú
np.ndarrayÚz
index : array-like, optional
    New labels for the index. Preferably an Index object to avoid
    duplicating data.
axis : int or str, optional
    Unused.z‚
    This differs from updating with ``.loc`` or ``.iloc``, which require
    you to specify a location to update with some value.) ÚaxesÚklassÚaxes_single_argÚaxisÚinplaceÚuniqueÚ
duplicatedZ optional_byZoptional_mapperÚoptional_reindexÚ replace_iloccs ‡fdd„}dˆj›d|_|S)z.
    Install the scalar coercion methods.
    csPt|ƒdkr>tjdˆj›dˆj›dttƒdˆ|jdƒStdˆ›ƒ‚dS)NézCalling zX on a single element Series is deprecated and will raise a TypeError in the future. Use z(ser.iloc[0]) instead©Ú
stacklevelrzcannot convert the series to )ÚlenÚwarningsÚwarnÚ__name__Ú FutureWarningr>ÚilocÚ    TypeError©Úself©Ú    converter©úId:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/core/series.pyÚwrapperÜs ûz_coerce_method.<locals>.wrapperÚ__)r˜)rŸr¢r ržr¡Ú_coerce_method×s r¤csœeZdZUdZdZeeejfZ    de
d<dgZ de
d<dhe j BZ d    d
d d hZejje jBegƒBZeejjjejjjd Zde
d<de
d<de
d<dOdddddœdd„ZdPdddœdd „Zed!d"œd#d$„ƒZed%d"œd&d'„ƒZedd"œd(d)„ƒZed*d"œd+d,„ƒZed*d"œd-d.„ƒZedd"œd/d0„ƒZejddd1œd2d0„ƒZed3d4„ƒZed5d6„ƒZ ed7d"œd8d9„ƒZ!e"ejj#jƒed:d"œd;d<„ƒƒZ#dQd d>d?œd@dA„Z$dBd"œdCdD„Z%dRdddEœdFdG„Z&eeejfZ    dSdHdIdEœdJdK„Z'e(e)ƒZ*e(e+ƒZ,edLd"œdMdN„ƒZ-e"e j.jƒdTdPddQœdRdS„ƒZ.dUdPddQœdTdU„Z/dVdBdVdWdXœdYdZ„Z0dWd[dPdd\œd]d^„Z1d_d`„Z2dadb„Z3dcddœdedf„Z4dgddhœdidj„Z5dXddkœdldm„Z6dd"œdndo„Z7dd"œdpdq„Z8dd"œdrds„Z9dd"œdtdu„Z:dd"œdvdw„Z;dYdddxœdydz„Z<edd"œd{d|„ƒZ=d}d~„Z>dd"œdd€„Z?dd"œdd‚„Z@dd"œdƒd„„ZAdd"œ‡fd…d†„ ZBdZdddddˆœ‡fd‰dŠ„ ZCedd"œd‹dŒ„ƒZDd[ddddŽœdd„ZEeFd\d‘d‘d‘d‘d’œd“d”d•d”dd–d—œd˜d™„ƒZGeFd]d‘d‘d‘dšœd“d›d•d”ddd—œdœd™„ƒZGeFd^d‘d‘d‘dœd“dd•d›ddd—œdžd™„ƒZGd_deHjIddd’œd“dd•dddŸd—œd d™„ZGd d"œd¡d¢„ZJeFd`dd d£ddd¤d¤d d¥œd¦d§„ƒZKeFdad¨d d£ddd¤d¤dd¥œd©d§„ƒZKdbd«d d£dddddd¤d¤d£d¬œ d­d§„ZKeLeMd®eNd¯eOd°ƒd±dcd³d dd´d£dµœd¶d·„ƒZPd¸d"œd¹dº„ZQd»d"œd¼d½„ZReSfd¾d¿dÀœdÁd„ZTeHjIfdd–dÜdÄdńZUdddddƜdÇdȄZVe"dɃe"eNdÊeMƒdedPd“ddddddËd̜dÍd΄ƒƒZWdÏdЄZXdfdddќdÒdӄZYd>d"œ‡fdÔdՄ ZZeFd‘d‘d‘d֜d×d”ddd؜dÙdڄƒZ[eFd‘d‘dۜd×d›ddd؜dÜdڄƒZ[eFd‘d‘d‘d֜d×dddÝd؜dÞdڄƒZ[dßddd֜d×dddÝd؜‡fdàdڄZ[dgd×ddáœdâdã„Z\dhdPdddäœdådæ„Z]didPdddäœdçdè„Z^djdBddéœdêdë„Z_eFdkdìdídìdîœdïdð„ƒZ`eFdldñdíddîœdòdð„ƒZ`eFdmdódídôdîœdõdð„ƒZ`dndódídôdîœdødð„Z`doddúd¤dìdûœdüdý„Zadpdd¤d¤dìdÿœdd„ZbeLddd–eOdƒddqdBddœdd„ƒZcdrdBdìdœd    d
„Zdd d d œdd„Zedd„Zfdd„ZgeLejjhdddsdddddœdd„ƒZhdtdddœdd„Zidudd œd!d"„Zjd#dd$d%œd&d'„ZkeLeNd(d)eMd®ddvddPddd+d,d-œ‡fd.d/„ ƒZldwd0d1ddd2œd3d4„Zmdd"œd5d6„Znd7dd œd8d9„ZoeFd‘d‘d‘d‘d‘d‘d‘d:œdPd;d”d d dd<dd=œd>d?„ƒZpeFd‘d‘d‘d‘d‘d‘d@œdPd;d›d d dd<dd=œdAd?„ƒZpdOd‡ddBdCddd:œdPd;dd d dd<dݐd=œdDd?„ZpeFd‘d‘d‘d‘d‘d‘d‘d‘dEœdPd“dFd›dGdHdddIddJœ
dKdL„ƒZqeFd‘d‘d‘d‘d‘d‘d‘d‘d‘dMœ    dPd“dFd”dGdHdddIddJœ
dNdL„ƒZqeFd‘d‘d‘d‘d‘d‘d‘d‘d‘dMœ    dPd“dFddGdHdddIdݐdJœ
dOdL„ƒZqdOdd‡ddBdCd‡dddMœ    dPd“dFddGdHdddIdݐdJœ
‡fdPdL„ZqdxdPdGdddQœdRdS„ZrdydBdUddVœdWdX„ZsdzdBd ddVœdYdZ„ZteLeMd®eOd[ƒeOd\ƒd]d{d•d•ddd`œdadb„ƒZudcdd?œddde„Zvd|dddfœdgdh„Zwd}d“dd–diœdjdk„Zxd~dldmddnœdodp„Zyddd"œdqdr„ZzeOdsƒZ{eOdtƒZ|eLeNdueMd®eMdve{e|dwd€dPdxœdydz„ƒZ}e}Z~eFd‘d‘d‘d‘d{œdPddddd|œd}d~„ƒZeFd‘d‘d‘dœdPddd•d€d|œdd~„ƒZeLe jfeMސddPddd‚d€d|œdƒd~„ƒZeLeNd„eMd®eMdvd…d‚d†dPd,d‡œdˆd‰„ƒZ€dƒd†dd‹d,dŒœddŽ„ZdOd‡dddœd dPdddœd‘d’„Z‚dd“ddd”œd•d–„Zƒdd"œd—d˜„Z„eLe j…eMd®eMd™dšd„ddœdd•dddžd¤dPdddŸœ ‡fd d¡„ ƒZ…eFd…d‘d‘d‘d‘d¢œd£ddd›d‚d¤dd¥œd¦d§„ƒZ†eFd†d‘d‘d‘d‘d‘d¨œd£ddd”d‚d¤dd¥œd©d§„ƒZ†eFd‡d‘d‘d‘d‘d‘d¨œd£dddd‚d¤dݐd¥œdªd§„ƒZ†dˆdd‡ddd«d¨œd£dddd‚d¤dݐd¥œ‡fd¬d§„Z†e"d­ƒe‡feMdddd®œ—Že"e jˆjƒdOdd¯œdPddd°œ‡fd±d²„ƒƒƒZˆeLe j‰eMd®eMd³d´d‰ddddddddµœdd£dd‚d¶d¤dd·œ‡fd¸d¹„ƒZ‰eLe jŠƒeHjIfeHjIdOd‡ddºœdd»dPdddݐd¼œ‡fd½d¾„ƒZŠeFdŠd‘d‘d‘d‘d‘d¿œd“dPd“d“d‚d›d¤ddÀœdÁd„ƒZ‹eFd‹d‘d‘d‘d‘d‘d‘dÜd“dPd“d“d‚d”d¤ddÀœdĐd„ƒZ‹eFdŒd‘d‘d‘d‘d‘d‘dÜd“dPd“d“d‚dd¤dݐdÀœdŐd„ƒZ‹ddOdddddƐdÜd“dPd“d“d‚dd¤dݐdÀœ‡fdǐd„Z‹eFdŽd‘d‘d‘d‘d‘dȜdɐdždd”d¤dÊdd˜d̐d̈́ƒZŒeFdd‘d‘d‘d‘d̐dɐdždd›d¤dÊdd˜dϐd̈́ƒZŒeFdd‘d‘d‘d‘d‘dȜdɐdžddd¤dÊdݐd˜dАd̈́ƒZŒeLe jŒfeMސd‘ddddddȜdɐdžddd¤dÊdݐd˜‡fdѐd̈́ƒZŒddWdҜ‡fdӐdԄ ZeFd’d‘d‘d‘d‘d՜d”d¤ddÖddלdؐdلƒZŽeFd“d‘d‘d‘dڜd›d¤ddÖddלdېdلƒZŽeLe jŽeMd®eMdÜeMdݐdލdeHjIfdddeHjId՜dd¤ddÖdݐdל‡fdߐdلƒZŽeLefeŽd”dd³d¤dàdddᜐdâd㄃Z‘d dd䜐dådæ„Z’eLe j“eMd®dd•dBdPddd眇fdèdé„ ƒZ“d–dddBd꜐dëdì„Z”dd"œdídî„Z•d—dðddñœdòdó„Z–d˜ddddddõddöœd÷dø„Z—eLe j˜eMd®ddd"œdùdú„ƒZ˜eLe j˜eMd®ddd"œ‡fdûdü„ ƒZ™eLe jšeMd®ddd"œ‡fdýdþ„ ƒZšeLe jšeMd®ddd"œ‡fdÿd„ ƒZ›eFd‘d‘d‘d‘dœdPd”ddddœdd„ƒZœeFd‘d‘d‘dœdPd›ddddœdd„ƒZœdOddddœdPddddݐdœdd„ZœeLe jfeMސd™d    džd£dddd
œ‡fd d „ ƒZeLe jžfeMސdšdPd£d£d d£d•d•dddddœ ‡fdd„ ƒZžd›ddddœdd„ZŸdœd£dddœdd„Z eFd‘d‘d‘d‘dœdd”ddÊddœd d!„ƒZ¡eFd‘d‘d‘d"œdd›ddÊddœd#d!„ƒZ¡eFd‘d‘d‘d‘dœddddÊdݐdœd$d!„ƒZ¡dddddœddddÊdݐdœ‡fd%d!„Z¡eFd‘d‘d‘d‘dœdd”ddÊddœd&d'„ƒZ¢eFd‘d‘d‘d"œdd›ddÊddœd(d'„ƒZ¢eFd‘d‘d‘d‘dœddddÊdݐdœd)d'„ƒZ¢dddddœddddÊdݐdœ‡fd*d'„Z¢dddd+œddddݐd,œ‡fd-d.„Z£dždOdddddd/œdd dPd¤dd£d£d£dݐd0œ    ‡fd1d2„Z¤eFdŸd‘d‘d‘d3œd”dd•dd4œd5d6„ƒZ¥eFd d‘d‘d7œd›dd•dd4œd8d6„ƒZ¥eFd¡d‘d‘d‘d3œddd•dݐd4œd9d6„ƒZ¥eHjIfdddd3œddd•dݐd4œ‡fd:d6„Z¥eFd¢d‘d‘d‘d3œd”dd•dd4œd;d<„ƒZ¦eFd£d‘d‘d7œd›dd•dd4œd=d<„ƒZ¦eFd¤d‘d‘d‘d3œddd•dݐd4œd>d<„ƒZ¦eHjIfdddd3œddd•dݐd4œ‡fd?d<„Z¦dgZ§d@e
dA<e¨e§ƒZ©dOZªdBe
dC<dZ«dDe
dE<e¬j­dOdFdGZ®e¯d e°ƒZ±e¯d    e²ƒZ³e¯d
e´ƒZµe¯dHe¶j·j¸ƒZ¹e¯d eºƒZ»e¶j·j¼Z½dIdJ„Z¾dKdL„Z¿dMdN„ZÀ‡ZÁS(¥r…a4
    One-dimensional ndarray with axis labels (including time series).
 
    Labels need not be unique but must be a hashable type. The object
    supports both integer- and label-based indexing and provides a host of
    methods for performing operations involving the index. Statistical
    methods from ndarray have been overridden to automatically exclude
    missing data (currently represented as NaN).
 
    Operations between Series (+, -, /, \*, \*\*) align values based on their
    associated index values-- they need not be the same length. The result
    index will be the sorted union of the two indexes.
 
    Parameters
    ----------
    data : array-like, Iterable, dict, or scalar value
        Contains data stored in Series. If data is a dict, argument order is
        maintained.
    index : array-like or Index (1d)
        Values must be hashable and have the same length as `data`.
        Non-unique index values are allowed. Will default to
        RangeIndex (0, 1, 2, ..., n) if not provided. If data is dict-like
        and index is None, then the keys in the data are used as the index. If the
        index is not None, the resulting Series is reindexed with the index values.
    dtype : str, numpy.dtype, or ExtensionDtype, optional
        Data type for the output Series. If not specified, this will be
        inferred from `data`.
        See the :ref:`user guide <basics.dtypes>` for more usages.
    name : Hashable, default None
        The name to give to the Series.
    copy : bool, default False
        Copy input data. Only affects Series or 1d ndarray input. See examples.
 
    Notes
    -----
    Please reference the :ref:`User Guide <basics.series>` for more information.
 
    Examples
    --------
    Constructing Series from a dictionary with an Index specified
 
    >>> d = {'a': 1, 'b': 2, 'c': 3}
    >>> ser = pd.Series(data=d, index=['a', 'b', 'c'])
    >>> ser
    a   1
    b   2
    c   3
    dtype: int64
 
    The keys of the dictionary match with the Index values, hence the Index
    values have no effect.
 
    >>> d = {'a': 1, 'b': 2, 'c': 3}
    >>> ser = pd.Series(data=d, index=['x', 'y', 'z'])
    >>> ser
    x   NaN
    y   NaN
    z   NaN
    dtype: float64
 
    Note that the Index is first build with the keys from the dictionary.
    After this the Series is reindexed with the given Index values, hence we
    get all NaN as a result.
 
    Constructing Series from a list with `copy=False`.
 
    >>> r = [1, 2]
    >>> ser = pd.Series(r, copy=False)
    >>> ser.iloc[0] = 999
    >>> r
    [1, 2]
    >>> ser
    0    999
    1      2
    dtype: int64
 
    Due to input data type the Series has a `copy` of
    the original data even though `copy=False`, so
    the data is unchanged.
 
    Constructing Series from a 1d ndarray with `copy=False`.
 
    >>> r = np.array([1, 2])
    >>> ser = pd.Series(r, copy=False)
    >>> ser.iloc[0] = 999
    >>> r
    array([999,   2])
    >>> ser
    0    999
    1      2
    dtype: int64
 
    Due to input data type the Series has a `view` on
    the original data, so
    the data is changed as well.
    ZseriesrÚ_nameÚnamez    list[str]Ú    _metadatar†ÚdtÚcatÚstrÚsparse)r=r.Ú_mgrzCallable[[Series, Any], Series]ÚdivZrdivNFz Dtype | Nonez bool | NoneÚboolÚNone)ÚdtypeÚcopyÚfastpathÚreturnc    CsBt|ttfƒrj|dkrj|dkrj|dks.|dkrjtƒr@|jdd}t ||¡|r`t |d|¡n||_    dSt|t
t j fƒr¨|dk    r¨tƒr¨|dks t |jt|ƒƒr¨| ¡}|dkr´d}|rBt|ttfƒsütdƒ}|dkræt ||¡}n|dkrút ||¡}ntƒr|s|jdd}|r$| ¡}t |d|¡t ||¡dSt|tƒrhtƒrh|sh|jdd}t ||t|ƒ¡}|dk    rŒt|ƒ}|dk    r | |¡}|dkrê|dk    r¸|ntdƒ}t|ƒsÔ|dk    rætt|ƒdd}ng}t|tƒrþtd    ƒ‚d}t|tƒrN|dk    r&|j|dd
}tƒr<|j}|j}n
|j ¡}d}nt|t j ƒrrt|jƒr^t d ƒ‚nìt|t!ƒr¸|dkrž|j"}|j#jdd}n|j$||d
}d}|j#}n¦t%|ƒrÞ| &|||¡\}}d}d}n€t|ttfƒr|dkr|j"}n|j" '|¡r|r^t(d ƒ‚n@t|t
ƒr,n2t) *|¡}t+|ƒr^t|ƒs^|dkr^t  t¡}|dkr†t+|ƒsx|g}tt|ƒƒ}nt+|ƒrœt) ,||¡t|ttfƒrØ|dk    rÈ|j|d |d}n|r | ¡}nHt-||||ƒ}tdƒ}|dkr
tj|||d}n|dkr t ||¡}t ||¡||_    | .d|¡dS)NF©Údeepr¥zmode.data_managerÚblockÚarrayr©Úcompatz8initializing a Series from a MultiIndex is not supported©r±zVCannot construct a Series from an ndarray with compound dtype.  Use DataFrame instead.zkCannot pass both SingleBlockManager `data` argument and a different `index` argument. `copy` must be False.Úignore)r°Úerrorsr±)Úrefs)/Ú
isinstancersrrrr±reÚ__init__ÚobjectÚ __setattr__r¦r`ÚnpÚndarrayrBr°rPrZ
from_arrayÚibaseZmaybe_extract_nameÚtypernZ_validate_dtypermr•rUrkÚNotImplementedErrorrjÚastypeÚ _referencesÚ_valuesÚ
ValueErrorr…r†r¬ÚreindexrHÚ
_init_dictÚequalsÚAssertionErrorÚcomZmaybe_iterable_to_listrLZrequire_length_matchrdZ    _set_axis)    rÚdatar†r°r¦r±r²Úmanagerr½r r r¡r¿psÜ
ÿþýüü     
 
 
 
 ÿ 
 
 ÿ 
 
 
ÿ 
 
 
 
 
 
 
 
 
  zSeries.__init__z Index | NonezDtypeObj | None©r†r°cCs”|rt| ¡ƒ}t| ¡ƒ}nB|dk    rRt|ƒs6|dk    rHtt|ƒdd}ng}|}ntdƒg}}t|||d}|rˆ|dk    rˆ|j    |dd}|j
|j fS)aM
        Derive the "_mgr" and "index" attributes of a new Series from a
        dictionary input.
 
        Parameters
        ----------
        data : dict or dict-like
            Data used to populate the new Series.
        index : Index or None, default None
            Index for the new Series: if None, use dict keys.
        dtype : np.dtype, ExtensionDtype, or None, default None
            The dtype for the new Series: if None, infer from data.
 
        Returns
        -------
        _data : BlockManager for the new Series
        index : index for the new Series
        NFr¸rrÒrº) ÚtupleÚkeysÚlistÚvaluesr•rUrPrmr…rËr¬r†)rrÐr†r°rÔrÖÚsr r r¡rÌ    s  zSeries._init_dictzCallable[..., Series])r³cCstS©N)r…rœr r r¡Ú _constructor>szSeries._constructorzCallable[..., DataFrame]cCsddlm}|S)z}
        Used when a manipulation result has one higher dimension as the
        original, such as Series.to_frame()
        rr€)Úpandas.core.framer)rrr r r¡Ú_constructor_expanddimBs zSeries._constructor_expanddimcCs|jjSrØ)r¬Ú _can_hold_narœr r r¡rÜMszSeries._can_hold_nar"cCs|jjS)z´
        Return the dtype object of the underlying data.
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3])
        >>> s.dtype
        dtype('int64')
        )r¬r°rœr r r¡r°Rs z Series.dtypecCs|jS)zµ
        Return the dtype object of the underlying data.
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3])
        >>> s.dtypes
        dtype('int64')
        ©r°rœr r r¡Údtypes_s z Series.dtypescCs|jS)aN
        Return the name of the Series.
 
        The name of a Series becomes its index or column name if it is used
        to form a DataFrame. It is also used whenever displaying the Series
        using the interpreter.
 
        Returns
        -------
        label (hashable object)
            The name of the Series, also the column name if part of a DataFrame.
 
        See Also
        --------
        Series.rename : Sets the Series name when given a scalar input.
        Index.name : Corresponding Index property.
 
        Examples
        --------
        The Series name can be set initially when calling the constructor.
 
        >>> s = pd.Series([1, 2, 3], dtype=np.int64, name='Numbers')
        >>> s
        0    1
        1    2
        2    3
        Name: Numbers, dtype: int64
        >>> s.name = "Integers"
        >>> s
        0    1
        1    2
        2    3
        Name: Integers, dtype: int64
 
        The name of a Series within a DataFrame is its column name.
 
        >>> df = pd.DataFrame([[1, 2], [3, 4], [5, 6]],
        ...                   columns=["Odd Numbers", "Even Numbers"])
        >>> df
           Odd Numbers  Even Numbers
        0            1             2
        1            3             4
        2            5             6
        >>> df["Even Numbers"].name
        'Even Numbers'
        )r¥rœr r r¡r¦ms0z Series.name)Úvaluer³cCs*t|t|ƒj›ddt |d|¡dS)Nz.name)Z
error_namer¥)rQrÅr˜rÀrÁ)rrßr r r¡r¦ŸscCs
|j ¡S)a¹
        Return Series as ndarray or ndarray-like depending on the dtype.
 
        .. warning::
 
           We recommend using :attr:`Series.array` or
           :meth:`Series.to_numpy`, depending on whether you need
           a reference to the underlying data or a NumPy array.
 
        Returns
        -------
        numpy.ndarray or ndarray-like
 
        See Also
        --------
        Series.array : Reference to the underlying data.
        Series.to_numpy : A NumPy array representing the underlying data.
 
        Examples
        --------
        >>> pd.Series([1, 2, 3]).values
        array([1, 2, 3])
 
        >>> pd.Series(list('aabc')).values
        array(['a', 'a', 'b', 'c'], dtype=object)
 
        >>> pd.Series(list('aabc')).astype('category').values
        ['a', 'a', 'b', 'c']
        Categories (3, object): ['a', 'b', 'c']
 
        Timezone aware datetime data is converted to UTC:
 
        >>> pd.Series(pd.date_range('20130101', periods=3,
        ...                         tz='US/Eastern')).values
        array(['2013-01-01T05:00:00.000000000',
               '2013-01-02T05:00:00.000000000',
               '2013-01-03T05:00:00.000000000'], dtype='datetime64[ns]')
        )r¬Zexternal_valuesrœr r r¡rÖ¤s(z Series.valuescCs
|j ¡S)a 
        Return the internal repr of this data (defined by Block.interval_values).
        This are the values as stored in the Block (ndarray or ExtensionArray
        depending on the Block class), with datetime64[ns] and timedelta64[ns]
        wrapped in ExtensionArrays to match Index._values behavior.
 
        Differs from the public ``.values`` for certain data types, because of
        historical backwards compatibility of the public attribute (e.g. period
        returns object ndarray and datetimetz a datetime64[ns] ndarray for
        ``.values`` while it returns an ExtensionArray for ``._values`` in those
        cases).
 
        Differs from ``.array`` in that this still returns the numpy array if
        the Block is backed by a numpy array (except for datetime64 and
        timedelta64 dtypes), while ``.array`` ensures to always return an
        ExtensionArray.
 
        Overview:
 
        dtype       | values        | _values       | array         |
        ----------- | ------------- | ------------- | ------------- |
        Numeric     | ndarray       | ndarray       | PandasArray   |
        Category    | Categorical   | Categorical   | Categorical   |
        dt64[ns]    | ndarray[M8ns] | DatetimeArray | DatetimeArray |
        dt64[ns tz] | ndarray[M8ns] | DatetimeArray | DatetimeArray |
        td64[ns]    | ndarray[m8ns] | TimedeltaArray| ndarray[m8ns] |
        Period      | ndarray[obj]  | PeriodArray   | PeriodArray   |
        Nullable    | EA            | EA            | EA            |
 
        )r¬Zinternal_valuesrœr r r¡rÉÎs zSeries._valueszBlockValuesRefs | NonecCst|jtƒrdS|jjjSrØ)r¾r¬rrÚ_blockr½rœr r r¡rÈðs zSeries._referencesr`cCs
|j ¡SrØ)r¬Z array_valuesrœr r r¡r·÷sz Series.arrayÚCr)Úorderr³cCs,|jj|d}t|tjƒr(tƒr(d|j_|S)a%
        Return the flattened underlying data as an ndarray or ExtensionArray.
 
        Returns
        -------
        numpy.ndarray or ExtensionArray
            Flattened data of the Series.
 
        See Also
        --------
        numpy.ndarray.ravel : Return a flattened array.
        )râF)rÉÚravelr¾rÂrÃrÚflagsÚ    writeable)rrâÚarrr r r¡rãýs z Series.ravelÚintcCs
t|jƒS)z2
        Return the length of the Series.
        )r•r¬rœr r r¡Ú__len__szSeries.__len__)r°r³cCs`|j |¡}|j||jdd}t|jtƒrRtƒrR|jj}t    d|j
ƒ|_ |j   |¡|j |ddS)aþ
        Create a new view of the Series.
 
        This function will return a new Series with a view of the same
        underlying values in memory, optionally reinterpreted with a new data
        type. The new data type must preserve the same size in bytes as to not
        cause index misalignment.
 
        Parameters
        ----------
        dtype : data type
            Data type object or one of their string representations.
 
        Returns
        -------
        Series
            A new Series object as a view of the same data in memory.
 
        See Also
        --------
        numpy.ndarray.view : Equivalent numpy function to create a new view of
            the same data in memory.
 
        Notes
        -----
        Series are instantiated with ``dtype=float64`` by default. While
        ``numpy.ndarray.view()`` will return a view with the same data type as
        the original array, ``Series.view()`` (without specified dtype)
        will try using ``float64`` and may fail if the original data type size
        in bytes is not the same.
 
        Examples
        --------
        >>> s = pd.Series([-2, -1, 0, 1, 2], dtype='int8')
        >>> s
        0   -2
        1   -1
        2    0
        3    1
        4    2
        dtype: int8
 
        The 8 bit signed integer representation of `-1` is `0b11111111`, but
        the same bytes represent 255 if read as an 8 bit unsigned integer:
 
        >>> us = s.view('uint8')
        >>> us
        0    254
        1    255
        2      0
        3      1
        4      2
        dtype: uint8
 
        The views share the same underlying values:
 
        >>> us[0] = 128
        >>> s
        0   -128
        1     -1
        2      0
        3      1
        4      2
        dtype: int8
        F©r†r±rÚview©Úmethod)r·rêrÙr†r¾r¬rsrràrrÈr½Z add_referenceÚ __finalize__)rr°Ú
res_valuesZres_serZblkr r r¡rêsD  z Series.viewznpt.DTypeLike | Noner‡cCs<|j}tj||d}tƒr8t|j|jƒr8| ¡}d|j_|S)a
        Return the values as a NumPy array.
 
        Users should not call this directly. Rather, it is invoked by
        :func:`numpy.array` and :func:`numpy.asarray`.
 
        Parameters
        ----------
        dtype : str or numpy.dtype, optional
            The dtype to use for the resulting NumPy array. By default,
            the dtype is inferred from the data.
 
        Returns
        -------
        numpy.ndarray
            The values in the series converted to a :class:`numpy.ndarray`
            with the specified `dtype`.
 
        See Also
        --------
        array : Create a new array from data.
        Series.array : Zero-copy view to the array backing the Series.
        Series.to_numpy : Series method for similar behavior.
 
        Examples
        --------
        >>> ser = pd.Series([1, 2, 3])
        >>> np.asarray(ser)
        array([1, 2, 3])
 
        For timezone-aware data, the timezones may be retained with
        ``dtype='object'``
 
        >>> tzser = pd.Series(pd.date_range('2000', periods=2, tz="CET"))
        >>> np.asarray(tzser, dtype="object")
        array([Timestamp('2000-01-01 00:00:00+0100', tz='CET'),
               Timestamp('2000-01-02 00:00:00+0100', tz='CET')],
              dtype=object)
 
        Or the values may be localized to UTC and the tzinfo discarded with
        ``dtype='datetime64[ns]'``
 
        >>> np.asarray(tzser, dtype="datetime64[ns]")  # doctest: +ELLIPSIS
        array(['1999-12-31T23:00:00.000000000', ...],
              dtype='datetime64[ns]')
        rÝF)    rÉrÂÚasarrayrrBr°rêrärå)rr°rÖrær r r¡Ú    __array__es /zSeries.__array__z list[Index]cCs|jgS)z7
        Return a list of the row axis labels.
        ©r†rœr r r¡r‰¥sz Series.axesrr)rŒr³cKstt d|¡t|ƒ}|jdkr>tƒr>t|t|ƒƒr>|jddS|j     |¡}|j
     |¡}|j ||dd}|j |ddS)Nr r’r´T)r†r²Útakerë) ÚnvZ validate_takerGÚndimrrr•r±r†ròrÉrÙrí)rÚindicesrŒÚkwargsÚ    new_indexÚ
new_valuesÚresultr r r¡rò¯s ÿþ ý   z Series.takecCs|j||dS)af
        Internal version of the `take` method that sets the `_is_copy`
        attribute to keep track of the parent dataframe (using in indexing
        for the SettingWithCopyWarning). For Series this does the same
        as the public take (it never sets `_is_copy`).
 
        See the docstring of `take` for full explanation of the parameters.
        )rõrŒ)rò)rrõrŒr r r¡Ú_take_with_is_copyÂs    zSeries._take_with_is_copyrr)ÚirŒr³cCs
|j|S)zÕ
        Return the i-th value or values in the Series by location.
 
        Parameters
        ----------
        i : int
 
        Returns
        -------
        scalar (int) or Series (slice, sequence)
        )rÉ)rrûrŒr r r¡Ú_ixsÍs z Series._ixszslice | np.ndarray)ÚslobjrŒr³cCs
| |¡SrØ)Ú _get_values)rrýrŒr r r¡Ú_sliceÛsz Series._slicec
Cst|ƒt ||¡}|tkr |St|ƒ}t|ttfƒr>t|ƒ}t    |ƒrX|j
j rX|j |S|rf|  |¡St|ƒr¾z|  |¡}|WStttfk
r¼t|tƒr¸t|j
tƒr¸| |¡YSYnXt|ƒrÎt|ƒ}t |¡rþt|j
|ƒ}tj|td}| |¡S| |¡S)NrÝ)rqrÏÚapply_if_callableÚEllipsisrOr¾rÕrÓrgrJr†Ú_should_fallback_to_positionalrÉÚ
_get_valuerSÚKeyErrorr›r9rkÚ_get_values_tuplerKÚis_bool_indexerrprÂrïr®rþÚ    _get_with)rÚkeyZ key_is_scalarrùr r r¡Ú __getitem__às2 
 
 
 
zSeries.__getitem__cCsÊt|tƒr$|jj|dd}| |¡St|tƒr8tdƒ‚n&t|tƒrL| |¡St    |ƒs^|j
|St|t t j tttfƒs|t |ƒ}t|tƒrŽ|j}ntj|dd}|dkrÀ|jjs¶|j
|S|j|S|j
|S)NÚgetitem©ÚkindzWIndexing a Series with DataFrame is not supported, use the appropriate DataFrame columnF©ÚskipnaÚinteger)r¾Úslicer†Ú_convert_slice_indexerrÿrRr›rÓrrLÚlocrÕrÂrÃr`r…rjZ inferred_typerÚ infer_dtyperrš)rrrýÚkey_typer r r¡r s*
 
 
ÿ
 
 
 
 
 
zSeries._get_withrÓ)rcCsˆtj|Žr&t |j|¡}t|ƒ|St|jtƒs:t    dƒ‚|j 
|¡\}}|j |j||dd}t ƒr~t|t ƒr~|j |j¡| |¡S)Nú0key of type tuple not found and not a MultiIndexFré)rÏZany_nonerÂrïrÉrfr¾r†rkrZ get_loc_levelrÙrrr¬Úadd_referencesrí)rrrùÚindexerr÷Únew_serr r r¡r3s
 zSeries._get_values_tuplezslice | npt.NDArray[np.bool_])rr³cCs|j |¡}| |¡ |¡SrØ)r¬Z getitem_mgrrÙrí)rrZnew_mgrr r r¡rþGs zSeries._get_values)ÚtakeablecCsÂ|r|j|S|j |¡}t|ƒr,|j|St|jtƒr´|j}|j|}t|ƒdkrf|jdkrf|dS||}t||ƒ}|j    |||j
dd}t ƒrªt|t ƒrª|j  |j ¡| |¡S|j|SdS)zü
        Quickly retrieve single value at passed index label.
 
        Parameters
        ----------
        label : object
        takeable : interpret the index as indexers, default False
 
        Returns
        -------
        scalar value
        r’rF©r†r¦r±N)rÉr†Úget_locrJr¾rkr•ÚnlevelsrorÙr¦rrr¬rrírš)rÚlabelrrÚmirør÷rr r r¡rKs, 
 
 
 
ÿ
zSeries._get_valuec Cs2ts(tƒr(t |¡dkr(tjttddt|ƒt     
||¡}|  ¡}|t krTt dƒ}t|t ƒrz|jj|dd}| ||¡Sz| ||¡WnŽtk
rÖt|ƒrÆ|jjs¸||j|<qÐ| ||¡n
||j|<YnFtttfk
r
|j |¡}| ||¡Yntk
r}zòt|tƒr@t|jtƒs@tdƒ|‚t     |¡rþt|j|ƒ}t j!|t"d}t#|ƒr¼t$|ƒt$|ƒkr¼t|t%ƒs¼t&|j'ƒs¼| (¡d}| ||¡WY¢VdSz|j)||d    d
Wn tk
rò||j*|<YnXWY¢dS| +||¡W5d}~XYnX|r.|j,d    d
dS) Néér“r
r rrÝrT©r)-r6rÚsysÚ getrefcountr–r—r:r8rqrÏrÚ%_check_is_chained_assignment_possiblerrr¾r†rÚ _set_valuesÚ_set_with_enginerrJrrr›rÊrCrr9rÓrkrrprÂrïr®rLr•r…rNr°ZnonzeroZ_whereršÚ    _set_withÚ_maybe_update_cacher)rrrßZcacher_needs_updatingrÚerrr r r¡Ú __setitem__tsn
ÿ 
   ÿþ  ÿþýü      
 
zSeries.__setitem__cCs|j |¡}|j ||¡dSrØ)r†rr¬Zsetitem_inplace)rrrßrr r r¡r&Ås zSeries._set_with_enginecCsht|tƒrt‚t|ƒrt|ƒ}|jjs4| ||¡n0tj    |dd}|dkrX| 
||¡n | ||¡dS)NFr r) r¾rÓrÎrKrÕr†rÚ _set_labelsrrr%)rrrßrr r r¡r'ËszSeries._set_withcCsHt |¡}|j |¡}|dk}| ¡r8t||›dƒ‚| ||¡dS)Néÿÿÿÿz  not in index)rÏZasarray_tuplesafer†Z get_indexerÚanyrr%)rrrßrÚmaskr r r¡r+âs 
 zSeries._set_labelscCs2t|ttfƒr|j}|jj||d|_| ¡dS)N)rrß)r¾rjr…rÉr¬Úsetitemr()rrrßr r r¡r%êszSeries._set_values)rr³cCsL|s8z|j |¡}Wq<tk
r4||j|<YdSXn|}| ||¡dS)a 
        Quickly set single value at passed label.
 
        If label is not contained, a new object is created with the label
        placed at the end of the result index.
 
        Parameters
        ----------
        label : object
            Partial indexing with MultiIndex not allowed.
        value : object
            Scalar value.
        takeable : interpret the index as indexers, default False
        N)r†rrrr%)rrrßrrr r r¡Ú
_set_valueñs
 
zSeries._set_valuecCst|ddƒdk    S)z3Return boolean indicating if self is cached or not.Ú_cacherN©Úgetattrrœr r r¡Ú
_is_cachedszSeries._is_cachedcCs"t|ddƒ}|dk    r|dƒ}|S)zreturn my cacher or Noner1Nr’r2)rÚcacherr r r¡Ú _get_cachers 
zSeries._get_cachercCst|dƒr|`dS)z#
        Reset the cacher.
        r1N)Úhasattrr1rœr r r¡Ú _reset_cachers
zSeries._reset_cachercCstƒr
dS|t |¡f|_dS)zc
        Set the _cacher attribute on the calling object with a weakref to
        cacher.
        N)rÚweakrefÚrefr1)rÚitemr5r r r¡Ú_set_as_cached"szSeries._set_as_cachedcCsdSrØr rœr r r¡Ú_clear_item_cache+szSeries._clear_item_cachecs>|jr4|jr4| ¡}|dk    r0|jr0|jddddStƒ ¡S)zK
        See NDFrame._check_is_chained_assignment_possible.__doc__
        NZreferentT)ÚtÚforce)Z_is_viewr4r6Ú_is_mixed_typeZ_check_setitem_copyÚsuperr$)rr:©Ú    __class__r r¡r$/s  z,Series._check_is_chained_assignment_possibleT)ÚclearÚverify_is_copyrr³csžtƒr
dSt|ddƒ}|dk    rˆ|jdks,t‚|dƒ}|dkrD|`nDt|ƒt|ƒkrv|j|jkrv|j|d||dn|j     
|dd¡t ƒj |||ddS)z:
        See NDFrame._maybe_update_cacher.__doc__
        Nr1r’rr!)rDrEr) rr3rôrÎr1r•r¦ÚcolumnsZ_maybe_cache_changedZ _item_cacheÚpoprAr()rrDrErr5r:rBr r¡r(:s  
ÿzSeries._maybe_update_cachercCsdS)NFr rœr r r¡r@^szSeries._is_mixed_typezint | Sequence[int])ÚrepeatsrŒr³cCsBt dd|i¡|j |¡}|j |¡}|j||ddj|ddS)aº
        Repeat elements of a Series.
 
        Returns a new Series where each element of the current Series
        is repeated consecutively a given number of times.
 
        Parameters
        ----------
        repeats : int or array of ints
            The number of repetitions for each element. This should be a
            non-negative integer. Repeating 0 times will return an empty
            Series.
        axis : None
            Unused. Parameter needed for compatibility with DataFrame.
 
        Returns
        -------
        Series
            Newly created Series with repeated elements.
 
        See Also
        --------
        Index.repeat : Equivalent function for Index.
        numpy.repeat : Similar method for :class:`numpy.ndarray`.
 
        Examples
        --------
        >>> s = pd.Series(['a', 'b', 'c'])
        >>> s
        0    a
        1    b
        2    c
        dtype: object
        >>> s.repeat(2)
        0    a
        0    a
        1    b
        1    b
        2    c
        2    c
        dtype: object
        >>> s.repeat([1, 2, 3])
        0    a
        1    b
        1    b
        2    c
        2    c
        2    c
        dtype: object
        r rŒFréÚrepeatrë)róZvalidate_repeatr†rIrÉrÙrí)rrHrŒr÷rør r r¡rIbs3  ÿz Series.repeat.)Údropr¦rÚallow_duplicatesr(zLiteral[False]r)r)ÚlevelrJr¦rrKr³cCsdSrØr ©rrLrJr¦rrKr r r¡Ú reset_indexœs
zSeries.reset_index)r¦rrKz Literal[True]cCsdSrØr rMr r r¡rN¨s
)rJr¦rKcCsdSrØr rMr r r¡rN´s
zDataFrame | Series | Nonec
s
t|dƒ}|r¾ttˆƒƒ}|dk    rjt|ttfƒs8|g}n|}‡fdd„|Dƒ}t|ƒˆjjkrjˆj |¡}|rv|ˆ_nFt    ƒrœˆj
dd}||_|j ˆddSˆj ˆj  
¡|dd    j ˆddSnH|rÌtd
ƒ‚n:|tjkrìˆjdkræd }nˆj}ˆ |¡}    |    j|||d SdS) au
        Generate a new DataFrame or Series with the index reset.
 
        This is useful when the index needs to be treated as a column, or
        when the index is meaningless and needs to be reset to the default
        before another operation.
 
        Parameters
        ----------
        level : int, str, tuple, or list, default optional
            For a Series with a MultiIndex, only remove the specified levels
            from the index. Removes all levels by default.
        drop : bool, default False
            Just reset the index, without inserting it as a column in
            the new DataFrame.
        name : object, optional
            The name to use for the column containing the original Series
            values. Uses ``self.name`` by default. This argument is ignored
            when `drop` is True.
        inplace : bool, default False
            Modify the Series in place (do not create a new object).
        allow_duplicates : bool, default False
            Allow duplicate column labels to be created.
 
            .. versionadded:: 1.5.0
 
        Returns
        -------
        Series or DataFrame or None
            When `drop` is False (the default), a DataFrame is returned.
            The newly created columns will come first in the DataFrame,
            followed by the original Series values.
            When `drop` is True, a `Series` is returned.
            In either case, if ``inplace=True``, no value is returned.
 
        See Also
        --------
        DataFrame.reset_index: Analogous function for DataFrame.
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3, 4], name='foo',
        ...               index=pd.Index(['a', 'b', 'c', 'd'], name='idx'))
 
        Generate a DataFrame with default index.
 
        >>> s.reset_index()
          idx  foo
        0   a    1
        1   b    2
        2   c    3
        3   d    4
 
        To specify the name of the new column use `name`.
 
        >>> s.reset_index(name='values')
          idx  values
        0   a       1
        1   b       2
        2   c       3
        3   d       4
 
        To generate a new Series with the default set `drop` to True.
 
        >>> s.reset_index(drop=True)
        0    1
        1    2
        2    3
        3    4
        Name: foo, dtype: int64
 
        The `level` parameter is interesting for Series with a multi-level
        index.
 
        >>> arrays = [np.array(['bar', 'bar', 'baz', 'baz']),
        ...           np.array(['one', 'two', 'one', 'two'])]
        >>> s2 = pd.Series(
        ...     range(4), name='foo',
        ...     index=pd.MultiIndex.from_arrays(arrays,
        ...                                     names=['a', 'b']))
 
        To remove a specific level from the Index, use `level`.
 
        >>> s2.reset_index(level='a')
               a  foo
        b
        one  bar    0
        two  bar    1
        one  baz    2
        two  baz    3
 
        If `level` is not set, all levels are removed from the Index.
 
        >>> s2.reset_index()
             a    b  foo
        0  bar  one    0
        1  bar  two    1
        2  baz  one    2
        3  baz  two    3
        rNcsg|]}ˆj |¡‘qSr )r†Z_get_level_number)Ú.0Zlevrœr r¡Ú
<listcomp>6sz&Series.reset_index.<locals>.<listcomp>Fr´rNrëréz<Cannot reset_index inplace on a Series to create a DataFramer)rLrJrK)r@rmr•r¾rÓrÕr†rZ    droplevelrr±rírÙrÉr›rÚ
no_defaultr¦Úto_framerN)
rrLrJr¦rrKr÷Z
level_listrÚdfr rœr¡rNÀsNm
   ÿþÿ
 
 
ÿcCst ¡}|jf|ŽS)zI
        Return a string representation for a particular Series.
        )ÚfmtZget_series_repr_paramsÚ    to_string)rZ repr_paramsr r r¡Ú__repr__ZszSeries.__repr__z
str | Nonez
int | None)ÚbufÚna_repÚ float_formatÚheaderr†Úmax_rowsÚmin_rowsr³c CsdSrØr © rrWrXrYrZr†Úlengthr°r¦r[r\r r r¡rUbszSeries.to_stringzFilePath | WriteBuffer[str]c CsdSrØr r]r r r¡rUrsÚNaNz"FilePath | WriteBuffer[str] | None) rWrXrYrZr†r^r°r¦r[r\r³c  CsŽtj|||||||||
|    d
} |  ¡} t| tƒsHtdtt| ƒjƒ›ƒ‚|dkrT| St    |dƒrj| 
| ¡n t |dƒ} |  
| ¡W5QRXdS)aÇ
        Render a string representation of the Series.
 
        Parameters
        ----------
        buf : StringIO-like, optional
            Buffer to write to.
        na_rep : str, optional
            String representation of NaN to use, default 'NaN'.
        float_format : one-parameter function, optional
            Formatter function to apply to columns' elements if they are
            floats, default None.
        header : bool, default True
            Add the Series header (index name).
        index : bool, optional
            Add index (row) labels, default True.
        length : bool, default False
            Add the Series length.
        dtype : bool, default False
            Add the Series dtype.
        name : bool, default False
            Add the Series name if not None.
        max_rows : int, optional
            Maximum number of rows to show before truncating. If None, show
            all.
        min_rows : int, optional
            The number of rows to display in a truncated repr (when number
            of rows is above `max_rows`).
 
        Returns
        -------
        str or None
            String representation of Series if ``buf=None``, otherwise None.
        )    r¦r^rZr†r°rXrYr\r[z.result must be of type str, type of result is NÚwriteÚw) rTZSeriesFormatterrUr¾rªrÎÚreprrÅr˜r7r`Úopen)rrWrXrYrZr†r^r°r¦r[r\Ú    formatterrùÚfr r r¡rU‚s0/ö 
ÿ
  rŠÚstorage_optionsaýExamples
            --------
            >>> s = pd.Series(["elk", "pig", "dog", "quetzal"], name="animal")
            >>> print(s.to_markdown())
            |    | animal   |
            |---:|:---------|
            |  0 | elk      |
            |  1 | pig      |
            |  2 | dog      |
            |  3 | quetzal  |
 
            Output markdown with a tabulate option.
 
            >>> print(s.to_markdown(tablefmt="grid"))
            +----+----------+
            |    | animal   |
            +====+==========+
            |  0 | elk      |
            +----+----------+
            |  1 | pig      |
            +----+----------+
            |  2 | dog      |
            +----+----------+
            |  3 | quetzal  |
            +----+----------+)rŠrfÚexamplesÚwtzIO[str] | Noner0)rWÚmoder†rfr³cKs| ¡j|||fd|i|—ŽS)a]
        Print {klass} in Markdown-friendly format.
 
        Parameters
        ----------
        buf : str, Path or StringIO-like, optional, default None
            Buffer to write to. If None, the output is returned as a string.
        mode : str, optional
            Mode in which file is opened, "wt" by default.
        index : bool, optional, default True
            Add index (row) labels.
 
            .. versionadded:: 1.1.0
        {storage_options}
 
            .. versionadded:: 1.2.0
 
        **kwargs
            These parameters will be passed to `tabulate                 <https://pypi.org/project/tabulate>`_.
 
        Returns
        -------
        str
            {klass} in Markdown-friendly format.
 
        Notes
        -----
        Requires the `tabulate <https://pypi.org/project/tabulate>`_ package.
 
        {examples}
        rf)rRÚ to_markdown)rrWrir†rfrör r r¡rjÐsGÿÿÿzSeries.to_markdownzIterable[tuple[Hashable, Any]]cCstt|jƒt|ƒƒS)a
        Lazily iterate over (index, value) tuples.
 
        This method returns an iterable tuple (index, value). This is
        convenient if you want to create a lazy iterator.
 
        Returns
        -------
        iterable
            Iterable of tuples containing the (index, value) pairs from a
            Series.
 
        See Also
        --------
        DataFrame.items : Iterate over (column name, Series) pairs.
        DataFrame.iterrows : Iterate over DataFrame rows as (index, Series) pairs.
 
        Examples
        --------
        >>> s = pd.Series(['A', 'B', 'C'])
        >>> for index, value in s.items():
        ...     print(f"Index : {index}, Value : {value}")
        Index : 0, Value : A
        Index : 1, Value : B
        Index : 2, Value : C
        )ÚzipÚiterr†rœr r r¡Úitemssz Series.itemsrjcCs|jS)zy
        Return alias for index.
 
        Returns
        -------
        Index
            Index of the Series.
        rñrœr r r¡rÔ=s    z Series.keysz
type[dict]Údict)Úintor³cCs@t |¡}t|ƒst|ƒr0|dd„| ¡DƒƒS|| ¡ƒSdS)a¡
        Convert Series to {label -> value} dict or dict-like object.
 
        Parameters
        ----------
        into : class, default dict
            The collections.abc.Mapping subclass to use as the return
            object. Can be the actual class or an empty
            instance of the mapping type you want.  If you want a
            collections.defaultdict, you must pass it initialized.
 
        Returns
        -------
        collections.abc.Mapping
            Key-value representation of Series.
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3, 4])
        >>> s.to_dict()
        {0: 1, 1: 2, 2: 3, 3: 4}
        >>> from collections import OrderedDict, defaultdict
        >>> s.to_dict(OrderedDict)
        OrderedDict([(0, 1), (1, 2), (2, 3), (3, 4)])
        >>> dd = defaultdict(list)
        >>> s.to_dict(dd)
        defaultdict(<class 'list'>, {0: 1, 1: 2, 2: 3, 3: 4})
        css|]\}}|t|ƒfVqdSrØ)rE)rOÚkÚvr r r¡Ú    <genexpr>isz!Series.to_dict.<locals>.<genexpr>N)rÏZstandardize_mappingrNrIrm)rroZinto_cr r r¡Úto_dictHs
zSeries.to_dict)r¦r³cCs\|tjkr.|j}|dkr"tdƒ}q8t|gƒ}n
t|gƒ}|j |¡}| |¡}|j|ddS)a
        Convert Series to DataFrame.
 
        Parameters
        ----------
        name : object, optional
            The passed name should substitute for the series name (if it has
            one).
 
        Returns
        -------
        DataFrame
            DataFrame representation of Series.
 
        Examples
        --------
        >>> s = pd.Series(["a", "b", "c"],
        ...               name="vals")
        >>> s.to_frame()
          vals
        0    a
        1    b
        2    c
        Nr’rRrë)    rrQr¦rmrjr¬Z    to_2d_mgrrÛrí)rr¦rFZmgrrSr r r¡rRos
 
 
 
zSeries.to_frame)rr³cCs$t|dƒ}|r|n| ¡}||_|S)z·
        Set the Series name.
 
        Parameters
        ----------
        name : str
        inplace : bool
            Whether to modify `self` directly or return a copy.
        r)r@r±r¦)rr¦rZserr r r¡Ú    _set_name—s
 
zSeries._set_namea´
Examples
--------
>>> ser = pd.Series([390., 350., 30., 20.],
...                 index=['Falcon', 'Falcon', 'Parrot', 'Parrot'], name="Max Speed")
>>> ser
Falcon    390.0
Falcon    350.0
Parrot     30.0
Parrot     20.0
Name: Max Speed, dtype: float64
>>> ser.groupby(["a", "b", "a", "b"]).mean()
a    210.0
b    185.0
Name: Max Speed, dtype: float64
>>> ser.groupby(level=0).mean()
Falcon    370.0
Parrot     25.0
Name: Max Speed, dtype: float64
>>> ser.groupby(ser > 100).mean()
Max Speed
False     25.0
True     370.0
Name: Max Speed, dtype: float64
 
**Grouping by Indexes**
 
We can groupby different levels of a hierarchical index
using the `level` parameter:
 
>>> arrays = [['Falcon', 'Falcon', 'Parrot', 'Parrot'],
...           ['Captive', 'Wild', 'Captive', 'Wild']]
>>> index = pd.MultiIndex.from_arrays(arrays, names=('Animal', 'Type'))
>>> ser = pd.Series([390., 350., 30., 20.], index=index, name="Max Speed")
>>> ser
Animal  Type
Falcon  Captive    390.0
        Wild       350.0
Parrot  Captive     30.0
        Wild        20.0
Name: Max Speed, dtype: float64
>>> ser.groupby(level=0).mean()
Animal
Falcon    370.0
Parrot     25.0
Name: Max Speed, dtype: float64
>>> ser.groupby(level="Type").mean()
Type
Captive    210.0
Wild       185.0
Name: Max Speed, dtype: float64
 
We can also choose to include `NA` in group keys or not by defining
`dropna` parameter, the default setting is `True`.
 
>>> ser = pd.Series([1, 2, 3, 3], index=["a", 'a', 'b', np.nan])
>>> ser.groupby(level=0).sum()
a    3
b    3
dtype: int64
 
>>> ser.groupby(level=0, dropna=False).sum()
a    3
b    3
NaN  3
dtype: int64
 
>>> arrays = ['Falcon', 'Falcon', 'Parrot', 'Parrot']
>>> ser = pd.Series([390., 350., 30., 20.], index=arrays, name="Max Speed")
>>> ser.groupby(["a", "b", "a", np.nan]).mean()
a    210.0
b    350.0
Name: Max Speed, dtype: float64
 
>>> ser.groupby(["a", "b", "a", np.nan], dropna=False).mean()
a    210.0
b    350.0
NaN   20.0
Name: Max Speed, dtype: float64
Úgroupbyrƒ)rŒrLÚas_indexÚsortÚ
group_keysÚobservedÚdropnar³c    
CsTddlm}    |dkr$|dkr$tdƒ‚|s0tdƒ‚| |¡}|    |||||||||d    S)Nrr‚z*You have to supply one of 'by' and 'level'z(as_index=False only valid with DataFrame)    ÚobjrÔrŒrLrvrwrxryrz)Úpandas.core.groupby.genericrƒr›Ú_get_axis_number)
rZbyrŒrLrvrwrxryrzrƒr r r¡ru¦s"^ 
÷zSeries.groupbycCst|jƒ ¡ d¡S)a¤
        Return number of non-NA/null observations in the Series.
 
        Returns
        -------
        int or Series (if level specified)
            Number of non-null values in the Series.
 
        See Also
        --------
        DataFrame.count : Count non-NA cells for each column or row.
 
        Examples
        --------
        >>> s = pd.Series([0.0, 1.0, np.nan])
        >>> s.count()
        2
        Úint64)rVrÉÚsumrÇrœr r r¡Úcountsz Series.count)rzr³cCsJ|j}t|tjƒr"tj||d}n |j|d}|j|tt    |ƒƒ|j
ddS)a¥
        Return the mode(s) of the Series.
 
        The mode is the value that appears most often. There can be multiple modes.
 
        Always returns Series even if only one value is returned.
 
        Parameters
        ----------
        dropna : bool, default True
            Don't consider counts of NaN/NaT.
 
        Returns
        -------
        Series
            Modes of the Series in sorted order.
        )rzFr) rÉr¾rÂrÃrXriÚ_moderÙÚranger•r¦)rrzrÖrîr r r¡ri1s  
ÿz Series.modecs
tƒ ¡S)a    
        Return unique values of Series object.
 
        Uniques are returned in order of appearance. Hash table-based unique,
        therefore does NOT sort.
 
        Returns
        -------
        ndarray or ExtensionArray
            The unique values returned as a NumPy array. See Notes.
 
        See Also
        --------
        Series.drop_duplicates : Return Series with duplicate values removed.
        unique : Top-level unique method for any 1-d array-like object.
        Index.unique : Return Index with unique values from an Index object.
 
        Notes
        -----
        Returns the unique values as a NumPy array. In case of an
        extension-array backed Series, a new
        :class:`~api.extensions.ExtensionArray` of that type with just
        the unique values is returned. This includes
 
            * Categorical
            * Period
            * Datetime with Timezone
            * Datetime without Timezone
            * Timedelta
            * Interval
            * Sparse
            * IntegerNA
 
        See Examples section.
 
        Examples
        --------
        >>> pd.Series([2, 1, 3, 3], name='A').unique()
        array([2, 1, 3])
 
        >>> pd.Series([pd.Timestamp('2016-01-01') for _ in range(3)]).unique()
        <DatetimeArray>
        ['2016-01-01 00:00:00']
        Length: 1, dtype: datetime64[ns]
 
        >>> pd.Series([pd.Timestamp('2016-01-01', tz='US/Eastern')
        ...            for _ in range(3)]).unique()
        <DatetimeArray>
        ['2016-01-01 00:00:00-05:00']
        Length: 1, dtype: datetime64[ns, US/Eastern]
 
        An Categorical will return categories in the order of
        appearance and with the same dtype.
 
        >>> pd.Series(pd.Categorical(list('baabc'))).unique()
        ['b', 'a', 'c']
        Categories (3, object): ['a', 'b', 'c']
        >>> pd.Series(pd.Categorical(list('baabc'), categories=list('abc'),
        ...                          ordered=True)).unique()
        ['b', 'a', 'c']
        Categories (3, object): ['a' < 'b' < 'c']
        )rArŽrœrBr r¡rŽOs?z Series.unique)ÚkeeprÚ ignore_indexr)rƒrr„r³cCsdSrØr ©rrƒrr„r r r¡Údrop_duplicatesszSeries.drop_duplicates)rƒr„cCsdSrØr r…r r r¡r†šsz Series | NonecCsdSrØr r…r r r¡r† sÚfirstcsDt|dƒ}tƒj|d}|r*tt|ƒƒ|_|r<| |¡dS|SdS)uc    
        Return Series with duplicate values removed.
 
        Parameters
        ----------
        keep : {'first', 'last', ``False``}, default 'first'
            Method to handle dropping duplicates:
 
            - 'first' : Drop duplicates except for the first occurrence.
            - 'last' : Drop duplicates except for the last occurrence.
            - ``False`` : Drop all duplicates.
 
        inplace : bool, default ``False``
            If ``True``, performs operation inplace and returns None.
 
        ignore_index : bool, default ``False``
            If ``True``, the resulting axis will be labeled 0, 1, â€¦, n - 1.
 
            .. versionadded:: 2.0.0
 
        Returns
        -------
        Series or None
            Series with duplicates dropped or None if ``inplace=True``.
 
        See Also
        --------
        Index.drop_duplicates : Equivalent method on Index.
        DataFrame.drop_duplicates : Equivalent method on DataFrame.
        Series.duplicated : Related method on Series, indicating duplicate
            Series values.
        Series.unique : Return unique values as an array.
 
        Examples
        --------
        Generate a Series with duplicated entries.
 
        >>> s = pd.Series(['lama', 'cow', 'lama', 'beetle', 'lama', 'hippo'],
        ...               name='animal')
        >>> s
        0      lama
        1       cow
        2      lama
        3    beetle
        4      lama
        5     hippo
        Name: animal, dtype: object
 
        With the 'keep' parameter, the selection behaviour of duplicated values
        can be changed. The value 'first' keeps the first occurrence for each
        set of duplicated entries. The default value of keep is 'first'.
 
        >>> s.drop_duplicates()
        0      lama
        1       cow
        3    beetle
        5     hippo
        Name: animal, dtype: object
 
        The value 'last' for parameter 'keep' keeps the last occurrence for
        each set of duplicated entries.
 
        >>> s.drop_duplicates(keep='last')
        1       cow
        3    beetle
        4      lama
        5     hippo
        Name: animal, dtype: object
 
        The value ``False`` for parameter 'keep' discards all sets of
        duplicated entries.
 
        >>> s.drop_duplicates(keep=False)
        1       cow
        3    beetle
        5     hippo
        Name: animal, dtype: object
        r©rƒN)r@rAr†rmr•r†Ú_update_inplace)rrƒrr„rùrBr r¡r†¦sU
 
)rƒr³cCs,|j|d}|j||jdd}|j|ddS)a\
        Indicate duplicate Series values.
 
        Duplicated values are indicated as ``True`` values in the resulting
        Series. Either all duplicates, all except the first or all except the
        last occurrence of duplicates can be indicated.
 
        Parameters
        ----------
        keep : {'first', 'last', False}, default 'first'
            Method to handle dropping duplicates:
 
            - 'first' : Mark duplicates as ``True`` except for the first
              occurrence.
            - 'last' : Mark duplicates as ``True`` except for the last
              occurrence.
            - ``False`` : Mark all duplicates as ``True``.
 
        Returns
        -------
        Series[bool]
            Series indicating whether each value has occurred in the
            preceding values.
 
        See Also
        --------
        Index.duplicated : Equivalent method on pandas.Index.
        DataFrame.duplicated : Equivalent method on pandas.DataFrame.
        Series.drop_duplicates : Remove duplicate values from Series.
 
        Examples
        --------
        By default, for each set of duplicated values, the first occurrence is
        set on False and all others on True:
 
        >>> animals = pd.Series(['lama', 'cow', 'lama', 'beetle', 'lama'])
        >>> animals.duplicated()
        0    False
        1    False
        2     True
        3    False
        4     True
        dtype: bool
 
        which is equivalent to
 
        >>> animals.duplicated(keep='first')
        0    False
        1    False
        2     True
        3    False
        4     True
        dtype: bool
 
        By using 'last', the last occurrence of each set of duplicated values
        is set on False and all others on True:
 
        >>> animals.duplicated(keep='last')
        0     True
        1    False
        2     True
        3    False
        4    False
        dtype: bool
 
        By setting keep on ``False``, all duplicates are True:
 
        >>> animals.duplicated(keep=False)
        0     True
        1    False
        2     True
        3    False
        4     True
        dtype: bool
        rˆFrérrë)Z _duplicatedrÙr†rí)rrƒÚresrùr r r¡r    sL zSeries.duplicated)rŒrr³cOs,|j||f|ž|Ž}|dkr"tjS|j|S)aù
        Return the row label of the minimum value.
 
        If multiple values equal the minimum, the first row label with that
        value is returned.
 
        Parameters
        ----------
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        skipna : bool, default True
            Exclude NA/null values. If the entire Series is NA, the result
            will be NA.
        *args, **kwargs
            Additional arguments and keywords have no effect but might be
            accepted for compatibility with NumPy.
 
        Returns
        -------
        Index
            Label of the minimum value.
 
        Raises
        ------
        ValueError
            If the Series is empty.
 
        See Also
        --------
        numpy.argmin : Return indices of the minimum values
            along the given axis.
        DataFrame.idxmin : Return index of first occurrence of minimum
            over requested axis.
        Series.idxmax : Return index *label* of the first occurrence
            of maximum of values.
 
        Notes
        -----
        This method is the Series version of ``ndarray.argmin``. This method
        returns the label of the minimum, while ``ndarray.argmin`` returns
        the position. To get the position, use ``series.values.argmin()``.
 
        Examples
        --------
        >>> s = pd.Series(data=[1, None, 4, 1],
        ...               index=['A', 'B', 'C', 'D'])
        >>> s
        A    1.0
        B    NaN
        C    4.0
        D    1.0
        dtype: float64
 
        >>> s.idxmin()
        'A'
 
        If `skipna` is False and there is an NA value in the data,
        the function returns ``nan``.
 
        >>> s.idxmin(skipna=False)
        nan
        r,)ZargminrÂÚnanr†©rrŒrÚargsrörûr r r¡ÚidxminW    sAz Series.idxmincOs,|j||f|ž|Ž}|dkr"tjS|j|S)a
        Return the row label of the maximum value.
 
        If multiple values equal the maximum, the first row label with that
        value is returned.
 
        Parameters
        ----------
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        skipna : bool, default True
            Exclude NA/null values. If the entire Series is NA, the result
            will be NA.
        *args, **kwargs
            Additional arguments and keywords have no effect but might be
            accepted for compatibility with NumPy.
 
        Returns
        -------
        Index
            Label of the maximum value.
 
        Raises
        ------
        ValueError
            If the Series is empty.
 
        See Also
        --------
        numpy.argmax : Return indices of the maximum values
            along the given axis.
        DataFrame.idxmax : Return index of first occurrence of maximum
            over requested axis.
        Series.idxmin : Return index *label* of the first occurrence
            of minimum of values.
 
        Notes
        -----
        This method is the Series version of ``ndarray.argmax``. This method
        returns the label of the maximum, while ``ndarray.argmax`` returns
        the position. To get the position, use ``series.values.argmax()``.
 
        Examples
        --------
        >>> s = pd.Series(data=[1, None, 4, 3, 4],
        ...               index=['A', 'B', 'C', 'D', 'E'])
        >>> s
        A    1.0
        B    NaN
        C    4.0
        D    3.0
        E    4.0
        dtype: float64
 
        >>> s.idxmax()
        'C'
 
        If `skipna` is False and there is an NA value in the data,
        the function returns ``nan``.
 
        >>> s.idxmax(skipna=False)
        nan
        r,)ZargmaxrÂr‹r†rŒr r r¡Úidxmax    sBz Series.idxmax)Údecimalsr³cOs8t ||¡|j |¡}|j||jddj|dd}|S)aa
        Round each value in a Series to the given number of decimals.
 
        Parameters
        ----------
        decimals : int, default 0
            Number of decimal places to round to. If decimals is negative,
            it specifies the number of positions to the left of the decimal point.
        *args, **kwargs
            Additional arguments and keywords have no effect but might be
            accepted for compatibility with NumPy.
 
        Returns
        -------
        Series
            Rounded values of the Series.
 
        See Also
        --------
        numpy.around : Round values of an np.array.
        DataFrame.round : Round values of a DataFrame.
 
        Examples
        --------
        >>> s = pd.Series([0.1, 1.3, 2.7])
        >>> s.round()
        0    0.0
        1    1.0
        2    3.0
        dtype: float64
        FréÚroundrë)róZvalidate_roundrÉr‘rÙr†rí)rrrrörùr r r¡r‘ä    s   ÿz Series.roundÚfloatr+)ÚqÚ interpolationr³cCsdSrØr ©rr“r”r r r¡Úquantile
szSeries.quantilezSequence[float] | AnyArrayLikecCsdSrØr r•r r r¡r–
sz&float | Sequence[float] | AnyArrayLikezfloat | SeriescCsdSrØr r•r r r¡r–
sçà?ÚlinearcCszt|ƒ| ¡}|j||dd}|jdkr<|jdd…df}t|ƒrl|j|_t|tj    d}|j
|||jdS|jdSdS)a¤
        Return value at the given quantile.
 
        Parameters
        ----------
        q : float or array-like, default 0.5 (50% quantile)
            The quantile(s) to compute, which can lie in range: 0 <= q <= 1.
        interpolation : {'linear', 'lower', 'higher', 'midpoint', 'nearest'}
            This optional parameter specifies the interpolation method to use,
            when the desired quantile lies between two data points `i` and `j`:
 
                * linear: `i + (j - i) * fraction`, where `fraction` is the
                  fractional part of the index surrounded by `i` and `j`.
                * lower: `i`.
                * higher: `j`.
                * nearest: `i` or `j` whichever is nearest.
                * midpoint: (`i` + `j`) / 2.
 
        Returns
        -------
        float or Series
            If ``q`` is an array, a Series will be returned where the
            index is ``q`` and the values are the quantiles, otherwise
            a float will be returned.
 
        See Also
        --------
        core.window.Rolling.quantile : Calculate the rolling quantile.
        numpy.percentile : Returns the q-th percentile(s) of the array elements.
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3, 4])
        >>> s.quantile(.5)
        2.5
        >>> s.quantile([.25, .5, .75])
        0.25    1.75
        0.50    2.50
        0.75    3.25
        dtype: float64
        F)r“r”Ú numeric_onlyr NrrÝ)r†r¦) rArRr–rôršrLr¦rjrÂÚfloat64rÙ)rr“r”rSrùÚidxr r r¡r–"
s.
Úpearsonr)ÚotherrìÚ min_periodsr³cCs`|j|ddd\}}t|ƒdkr&tjS|dks6t|ƒrLtj|j|j||dStd|›dƒ‚d    S)
aj
        Compute correlation with `other` Series, excluding missing values.
 
        The two `Series` objects are not required to be the same length and will be
        aligned internally before the correlation function is applied.
 
        Parameters
        ----------
        other : Series
            Series with which to compute the correlation.
        method : {'pearson', 'kendall', 'spearman'} or callable
            Method used to compute correlation:
 
            - pearson : Standard correlation coefficient
            - kendall : Kendall Tau correlation coefficient
            - spearman : Spearman rank correlation
            - callable: Callable with input two 1d ndarrays and returning a float.
 
            .. warning::
                Note that the returned matrix from corr will have 1 along the
                diagonals and will be symmetric regardless of the callable's
                behavior.
        min_periods : int, optional
            Minimum number of observations needed to have a valid result.
 
        Returns
        -------
        float
            Correlation with other.
 
        See Also
        --------
        DataFrame.corr : Compute pairwise correlation between columns.
        DataFrame.corrwith : Compute pairwise correlation with another
            DataFrame or Series.
 
        Notes
        -----
        Pearson, Kendall and Spearman correlation are currently computed using pairwise complete observations.
 
        * `Pearson correlation coefficient <https://en.wikipedia.org/wiki/Pearson_correlation_coefficient>`_
        * `Kendall rank correlation coefficient <https://en.wikipedia.org/wiki/Kendall_rank_correlation_coefficient>`_
        * `Spearman's rank correlation coefficient <https://en.wikipedia.org/wiki/Spearman%27s_rank_correlation_coefficient>`_
 
        Examples
        --------
        >>> def histogram_intersection(a, b):
        ...     v = np.minimum(a, b).sum().round(decimals=1)
        ...     return v
        >>> s1 = pd.Series([.2, .0, .6, .2])
        >>> s2 = pd.Series([.3, .6, .0, .1])
        >>> s1.corr(s2, method=histogram_intersection)
        0.3
        ÚinnerF©Újoinr±r)rœZspearmanZkendall)rìržzHmethod must be either 'pearson', 'spearman', 'kendall', or a callable, 'z' was suppliedN)    Úalignr•rÂr‹Úcallabler\ZnancorrrÖrÊ)rrrìržÚthisr r r¡Úcorrb
s< ÿ
ÿz Series.corrr’)rržÚddofr³cCs<|j|ddd\}}t|ƒdkr&tjStj|j|j||dS)ak
        Compute covariance with Series, excluding missing values.
 
        The two `Series` objects are not required to be the same length and
        will be aligned internally before the covariance is calculated.
 
        Parameters
        ----------
        other : Series
            Series with which to compute the covariance.
        min_periods : int, optional
            Minimum number of observations needed to have a valid result.
        ddof : int, default 1
            Delta degrees of freedom.  The divisor used in calculations
            is ``N - ddof``, where ``N`` represents the number of elements.
 
            .. versionadded:: 1.1.0
 
        Returns
        -------
        float
            Covariance between Series and other normalized by N-1
            (unbiased estimator).
 
        See Also
        --------
        DataFrame.cov : Compute pairwise covariance of columns.
 
        Examples
        --------
        >>> s1 = pd.Series([0.90010907, 0.13484424, 0.62036035])
        >>> s2 = pd.Series([0.12528585, 0.26962463, 0.51111198])
        >>> s1.cov(s2)
        -0.01685762652715874
        rŸFr r)ržr¦)r¢r•rÂr‹r\ZnancovrÖ)rrržr¦r¤r r r¡Úcov­
s) ÿz
Series.covrˆa
        Difference with previous row
 
        >>> s = pd.Series([1, 1, 2, 3, 5, 8])
        >>> s.diff()
        0    NaN
        1    0.0
        2    1.0
        3    1.0
        4    2.0
        5    3.0
        dtype: float64
 
        Difference with 3rd previous row
 
        >>> s.diff(periods=3)
        0    NaN
        1    NaN
        2    NaN
        3    2.0
        4    4.0
        5    6.0
        dtype: float64
 
        Difference with following row
 
        >>> s.diff(periods=-1)
        0    0.0
        1   -1.0
        2   -1.0
        3   -2.0
        4   -3.0
        5    NaN
        dtype: float64
 
        Overflow in input dtype
 
        >>> s = pd.Series([1, 0], dtype=np.uint8)
        >>> s.diff()
        0      NaN
        1    255.0
        dtype: float64)rŠÚ extra_paramsZ other_klassrg)Úperiodsr³cCs*t |j|¡}|j||jddj|ddS)a0
        First discrete difference of element.
 
        Calculates the difference of a {klass} element compared with another
        element in the {klass} (default is element in previous row).
 
        Parameters
        ----------
        periods : int, default 1
            Periods to shift for calculating difference, accepts negative
            values.
        {extra_params}
        Returns
        -------
        {klass}
            First differences of the Series.
 
        See Also
        --------
        {klass}.pct_change: Percent change over given number of periods.
        {klass}.shift: Shift index by desired number of periods with an
            optional time freq.
        {other_klass}.diff: First discrete difference of object.
 
        Notes
        -----
        For boolean dtypes, this uses :meth:`operator.xor` rather than
        :meth:`operator.sub`.
        The result is calculated according to current dtype in {klass},
        however dtype of the result is always float64.
 
        Examples
        --------
        {examples}
        FréÚdiffrë)rXrªrÉrÙr†rí)rr©rùr r r¡rªÝ
s
Uÿz Series.diff)Úlagr³cCs| | |¡¡S)aÜ
        Compute the lag-N autocorrelation.
 
        This method computes the Pearson correlation between
        the Series and its shifted self.
 
        Parameters
        ----------
        lag : int, default 1
            Number of lags to apply before performing autocorrelation.
 
        Returns
        -------
        float
            The Pearson correlation between self and self.shift(lag).
 
        See Also
        --------
        Series.corr : Compute the correlation between two Series.
        Series.shift : Shift index by desired number of periods.
        DataFrame.corr : Compute pairwise correlation of columns.
        DataFrame.corrwith : Compute pairwise correlation between rows or
            columns of two DataFrame objects.
 
        Notes
        -----
        If the Pearson correlation is not well defined return 'NaN'.
 
        Examples
        --------
        >>> s = pd.Series([0.25, 0.5, 0.2, -0.05])
        >>> s.autocorr()  # doctest: +ELLIPSIS
        0.10355...
        >>> s.autocorr(lag=2)  # doctest: +ELLIPSIS
        -0.99999...
 
        If the Pearson correlation is not well defined, then 'NaN' is returned.
 
        >>> s = pd.Series([1, 0, 0, 0])
        >>> s.autocorr()
        nan
        )r¥Úshift)rr«r r r¡Úautocorr7 s+zSeries.autocorrrzSeries | np.ndarray)rr³cCs"t|ttfƒrr|j |j¡}t|ƒt|jƒks@t|ƒt|jƒkrHtdƒ‚|j|dd}|j|dd}|j}|j}n<|j}t     
|¡}|j d|j dkr®t d|j ›d|j ›ƒ‚t|tƒrÜ|j t     ||¡|jddj|ddSt|tƒròt     ||¡St|t    jƒr t     ||¡Std    t|ƒ›ƒ‚d
S) aC
        Compute the dot product between the Series and the columns of other.
 
        This method computes the dot product between the Series and another
        one, or the Series and each columns of a DataFrame, or the Series and
        each columns of an array.
 
        It can also be called using `self @ other` in Python >= 3.5.
 
        Parameters
        ----------
        other : Series, DataFrame or array-like
            The other object to compute the dot product with its columns.
 
        Returns
        -------
        scalar, Series or numpy.ndarray
            Return the dot product of the Series and other if other is a
            Series, the Series of the dot product of Series and each rows of
            other if other is a DataFrame or a numpy.ndarray between the Series
            and each columns of the numpy array.
 
        See Also
        --------
        DataFrame.dot: Compute the matrix product with the DataFrame.
        Series.mul: Multiplication of series and other, element-wise.
 
        Notes
        -----
        The Series and other has to share the same index if other is a Series
        or a DataFrame.
 
        Examples
        --------
        >>> s = pd.Series([0, 1, 2, 3])
        >>> other = pd.Series([-1, 2, -3, 4])
        >>> s.dot(other)
        8
        >>> s @ other
        8
        >>> df = pd.DataFrame([[0, 1], [-2, 3], [4, -5], [6, 7]])
        >>> s.dot(df)
        0    24
        1    14
        dtype: int64
        >>> arr = np.array([[0, 1], [-2, 3], [4, -5], [6, 7]])
        >>> s.dot(arr)
        array([24, 14])
        zmatrices are not alignedFrérzDot product shape mismatch, z vs Údotrëzunsupported type: N)r¾r…rRr†Úunionr•rÊrËrÖrÂrïÚshapeÚ    ExceptionrÙr®rFrírÃr›rÅ)rrrZÚleftÚrightZlvalsZrvalsr r r¡r®d s82$
ÿ
 
ÿþ
  z
Series.dotcCs
| |¡S©zQ
        Matrix multiplication using binary `@` operator in Python>=3.5.
        )r®©rrr r r¡Ú
__matmul__² szSeries.__matmul__cCs| t |¡¡Sr´)r®rÂZ    transposerµr r r¡Ú __rmatmul__¸ szSeries.__rmatmul__)rŠr²z$NumpyValueArrayLike | ExtensionArrayzLiteral[('left', 'right')]r}znpt.NDArray[np.intp] | np.intp)rßÚsideÚsorterr³cCstjj||||dS)N)r¸r¹)rYÚ IndexOpsMixinÚ searchsorted)rrßr¸r¹r r r¡r»¾ szSeries.searchsorted©r„Úverify_integritycCshddlm}t|ttfƒr,|g}| |¡n||g}tdd„|dd…DƒƒrZd}t|ƒ‚||||dS)Nr)Úconcatcss|]}t|tfƒVqdSrØ)r¾rR)rOÚxr r r¡rrÕ sz!Series._append.<locals>.<genexpr>r’zCto_append should be a Series or list/tuple of Series, got DataFramer¼)Zpandas.core.reshape.concatr¾r¾rÕrÓÚextendr-r›)rZ    to_appendr„r½r¾Z    to_concatÚmsgr r r¡Ú_appendË s  ÿzSeries._append)rc
    CsŠt|tƒstdƒ‚|}|j |j¡s:|j||ddd\}}t |j|j|¡\}}t    j
dd|||ƒ}W5QRXt  ||¡}    |  ||    ¡S)a6
        Perform generic binary operation with optional fill value.
 
        Parameters
        ----------
        other : Series
        func : binary operator
        fill_value : float or object
            Value to substitute for NA/null values. If both Series are NA in a
            location, the result will be NA regardless of the passed fill value.
        level : int or level name, default None
            Broadcast across a level, matching Index values on the
            passed MultiIndex level.
 
        Returns
        -------
        Series
        zOther operand must be SeriesÚouterF)rLr¡r±r»©Úall) r¾r…rÎr†rÍr¢r]Z
fill_binoprÉrÂÚerrstateÚget_op_result_nameÚ_construct_result)
rrÚfuncrLÚ
fill_valuer¤Z    this_valsZ
other_valsrùr¦r r r¡Ú_binopÜ s
 z Series._binopz'ArrayLike | tuple[ArrayLike, ArrayLike]zSeries | tuple[Series, Series])rùr¦r³cCs„t|tƒrR|j|d|d}|j|d|d}t|tƒs<t‚t|tƒsJt‚||fSt|ddƒ}|j||j|d}| |¡}||_    |S)a8
        Construct an appropriately-labelled Series from the result of an op.
 
        Parameters
        ----------
        result : ndarray or ExtensionArray
        name : Label
 
        Returns
        -------
        Series
            In the case of __divmod__ or __rdivmod__, a 2-tuple of Series.
        r©r¦r’r°NrÒ)
r¾rÓrÈr…rÎr3rÙr†rír¦)rrùr¦Zres1Zres2r°Úoutr r r¡rÈÿ s
 
zSeries._construct_resultÚcompareax
Returns
-------
Series or DataFrame
    If axis is 0 or 'index' the result will be a Series.
    The resulting index will be a MultiIndex with 'self' and 'other'
    stacked alternately at the inner level.
 
    If axis is 1 or 'columns' the result will be a DataFrame.
    It will have two columns namely 'self' and 'other'.
 
See Also
--------
DataFrame.compare : Compare with another DataFrame and show differences.
 
Notes
-----
Matching NaNs will not appear as a difference.
 
Examples
--------
>>> s1 = pd.Series(["a", "b", "c", "d", "e"])
>>> s2 = pd.Series(["a", "a", "c", "b", "e"])
 
Align the differences on columns
 
>>> s1.compare(s2)
  self other
1    b     a
3    d     b
 
Stack the differences on indices
 
>>> s1.compare(s2, align_axis=0)
1  self     b
   other    a
3  self     d
   other    b
dtype: object
 
Keep all original rows
 
>>> s1.compare(s2, keep_shape=True)
  self other
0  NaN   NaN
1    b     a
2  NaN   NaN
3    d     b
4  NaN   NaN
 
Keep all original rows and also all original values
 
>>> s1.compare(s2, keep_shape=True, keep_equal=True)
  self other
0    a     a
1    b     a
2    c     c
3    d     b
4    e     e
rµrzDataFrame | Series)rÚ
align_axisÚ
keep_shapeÚ
keep_equalÚ result_namesr³cstƒj|||||dS)N)rrÏrÐrÑrÒ)rArÎ)rrrÏrÐrÑrÒrBr r¡rÎ% sHûzSeries.comparezSeries | Hashablez(Callable[[Hashable, Hashable], Hashable])rrÉrÊr³c
s"|dkrt|jdd}tˆtƒrž|j ˆj¡}t |ˆ¡}tj    t
|ƒt d}t |ƒD]F\}}|  ||¡}    ˆ  ||¡}
tjddˆ|    |
ƒ||<W5QRXqTnT|j}tj    t
|ƒt d}tjdd$‡‡fdd„|jDƒ|dd…<W5QRX|j}tj|dd    } t| |jdd
} |j| ||dd S) a„
        Combine the Series with a Series or scalar according to `func`.
 
        Combine the Series and `other` using `func` to perform elementwise
        selection for combined Series.
        `fill_value` is assumed when value is missing at some index
        from one of the two objects being combined.
 
        Parameters
        ----------
        other : Series or scalar
            The value(s) to be combined with the `Series`.
        func : function
            Function that takes two scalars as inputs and returns an element.
        fill_value : scalar, optional
            The value to assume when an index is missing from
            one Series or the other. The default specifies to use the
            appropriate NaN value for the underlying dtype of the Series.
 
        Returns
        -------
        Series
            The result of combining the Series with the other object.
 
        See Also
        --------
        Series.combine_first : Combine Series values, choosing the calling
            Series' values first.
 
        Examples
        --------
        Consider 2 Datasets ``s1`` and ``s2`` containing
        highest clocked speeds of different birds.
 
        >>> s1 = pd.Series({'falcon': 330.0, 'eagle': 160.0})
        >>> s1
        falcon    330.0
        eagle     160.0
        dtype: float64
        >>> s2 = pd.Series({'falcon': 345.0, 'eagle': 200.0, 'duck': 30.0})
        >>> s2
        falcon    345.0
        eagle     200.0
        duck       30.0
        dtype: float64
 
        Now, to combine the two datasets and view the highest speeds
        of the birds across the two datasets
 
        >>> s1.combine(s2, max)
        duck        NaN
        eagle     200.0
        falcon    345.0
        dtype: float64
 
        In the previous example, the resulting value for duck is missing,
        because the maximum of a NaN and a float is a NaN.
        So, in the example, we set ``fill_value=0``,
        so the maximum value returned will be the value from some dataset.
 
        >>> s1.combine(s2, max, fill_value=0)
        duck       30.0
        eagle     200.0
        falcon    345.0
        dtype: float64
        NFr¸rÝr»rÄcsg|]}ˆ|ˆƒ‘qSr r )rOÚlv©rÉrr r¡rPÑ sz"Series.combine.<locals>.<listcomp>)Z    try_float)Z
same_dtyper)rUr°r¾r…r†r¯r]rÇrÂÚemptyr•rÀÚ    enumerateÚgetrÆrÉr¦rZmaybe_convert_objectsrFrÙ) rrrÉrÊr÷Únew_namerørûr›rÓÚrvZnpvaluesrîr rÔr¡Úcombineu s&H
   (zSeries.combinecCsZ|j |j¡}|j|dd}|j|dd}|jjdkrJ|jjdkrJt|ƒ}| t|ƒ|¡S)aÐ
        Update null elements with value in the same location in 'other'.
 
        Combine two Series objects by filling null values in one Series with
        non-null values from the other Series. Result index will be the union
        of the two indexes.
 
        Parameters
        ----------
        other : Series
            The value(s) to be used for filling null values.
 
        Returns
        -------
        Series
            The result of combining the provided Series with the other object.
 
        See Also
        --------
        Series.combine : Perform element-wise operation on two Series
            using a given function.
 
        Examples
        --------
        >>> s1 = pd.Series([1, np.nan])
        >>> s2 = pd.Series([3, 4, 5])
        >>> s1.combine_first(s2)
        0    1.0
        1    4.0
        2    5.0
        dtype: float64
 
        Null values still persist if the location of that null value
        does not exist in `other`
 
        >>> s1 = pd.Series({'falcon': np.nan, 'eagle': 160.0})
        >>> s2 = pd.Series({'eagle': 200.0, 'duck': 30.0})
        >>> s1.combine_first(s2)
        duck       30.0
        eagle     160.0
        falcon      NaN
        dtype: float64
        FrºÚM)r†r¯rËr°r ryÚwhererV)rrr÷r¤r r r¡Ú combine_firstÙ s ,zSeries.combine_firstzSeries | Sequence | MappingcCsBt|tƒst|ƒ}| |¡}t|ƒ}|jj||d|_| ¡dS)aÃ
        Modify Series in place using values from passed Series.
 
        Uses non-NA values from passed Series to make updates. Aligns
        on index.
 
        Parameters
        ----------
        other : Series, or object coercible into Series
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3])
        >>> s.update(pd.Series([4, 5, 6]))
        >>> s
        0    4
        1    5
        2    6
        dtype: int64
 
        >>> s = pd.Series(['a', 'b', 'c'])
        >>> s.update(pd.Series(['d', 'e'], index=[0, 2]))
        >>> s
        0    d
        1    b
        2    e
        dtype: object
 
        >>> s = pd.Series([1, 2, 3])
        >>> s.update(pd.Series([4, 5, 6, 7, 8]))
        >>> s
        0    4
        1    5
        2    6
        dtype: int64
 
        If ``other`` contains NaNs the corresponding values are not updated
        in the original Series.
 
        >>> s = pd.Series([1, 2, 3])
        >>> s.update(pd.Series([4, np.nan, 6]))
        >>> s
        0    4
        1    2
        2    6
        dtype: int64
 
        ``other`` can also be a non-Series object type
        that is coercible into a Series
 
        >>> s = pd.Series([1, 2, 3])
        >>> s.update([4, np.nan, 6])
        >>> s
        0    4
        1    2
        2    6
        dtype: int64
 
        >>> s = pd.Series([1, 2, 3])
        >>> s.update({1: 9})
        >>> s
        0    1
        1    9
        2    3
        dtype: int64
        )r.ÚnewN)r¾r…Z reindex_likerVr¬Zputmaskr()rrr.r r r¡Úupdate s D
 
z Series.update)rŒÚ    ascendingrr Ú na_positionr„rz+bool | int | Sequence[bool] | Sequence[int]r3)rŒràrr rár„rr³cCsdSrØr ©rrŒràrr rár„rr r r¡Ú sort_values] s zSeries.sort_values)rŒràr rár„rcCsdSrØr râr r r¡rãk s Ú    quicksortÚlastc Cs,t|dƒ}| |¡|r&|jr&tdƒ‚t|ƒrlttttt    f|ƒ}t
|ƒdkrdtdt
|ƒ›dƒ‚|d}t |ƒ}|dkrŠtd|›ƒ‚|ršt ||ƒj n|j }t||t|ƒ|ƒ}    t|    t
|    ƒƒrÚ|rÎ| |¡S|jd    d
S|j|j |    |j|    d d }
|r
tt
|    ƒƒ|
_|s|
j|d dS| |
¡d    S)uc
        Sort by the values.
 
        Sort a Series in ascending or descending order by some
        criterion.
 
        Parameters
        ----------
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        ascending : bool or list of bools, default True
            If True, sort values in ascending order, otherwise descending.
        inplace : bool, default False
            If True, perform operation in-place.
        kind : {'quicksort', 'mergesort', 'heapsort', 'stable'}, default 'quicksort'
            Choice of sorting algorithm. See also :func:`numpy.sort` for more
            information. 'mergesort' and 'stable' are the only stable  algorithms.
        na_position : {'first' or 'last'}, default 'last'
            Argument 'first' puts NaNs at the beginning, 'last' puts NaNs at
            the end.
        ignore_index : bool, default False
            If True, the resulting axis will be labeled 0, 1, â€¦, n - 1.
        key : callable, optional
            If not None, apply the key function to the series values
            before sorting. This is similar to the `key` argument in the
            builtin :meth:`sorted` function, with the notable difference that
            this `key` function should be *vectorized*. It should expect a
            ``Series`` and return an array-like.
 
            .. versionadded:: 1.1.0
 
        Returns
        -------
        Series or None
            Series ordered by values or None if ``inplace=True``.
 
        See Also
        --------
        Series.sort_index : Sort by the Series indices.
        DataFrame.sort_values : Sort DataFrame by the values along either axis.
        DataFrame.sort_index : Sort DataFrame by indices.
 
        Examples
        --------
        >>> s = pd.Series([np.nan, 1, 3, 10, 5])
        >>> s
        0     NaN
        1     1.0
        2     3.0
        3     10.0
        4     5.0
        dtype: float64
 
        Sort values ascending order (default behaviour)
 
        >>> s.sort_values(ascending=True)
        1     1.0
        2     3.0
        4     5.0
        3    10.0
        0     NaN
        dtype: float64
 
        Sort values descending order
 
        >>> s.sort_values(ascending=False)
        3    10.0
        4     5.0
        2     3.0
        1     1.0
        0     NaN
        dtype: float64
 
        Sort values putting NAs first
 
        >>> s.sort_values(na_position='first')
        0     NaN
        1     1.0
        2     3.0
        4     5.0
        3    10.0
        dtype: float64
 
        Sort a series of strings
 
        >>> s = pd.Series(['z', 'b', 'd', 'a', 'c'])
        >>> s
        0    z
        1    b
        2    d
        3    a
        4    c
        dtype: object
 
        >>> s.sort_values()
        3    a
        1    b
        4    c
        2    d
        0    z
        dtype: object
 
        Sort using a key function. Your `key` function will be
        given the ``Series`` of values and should return an array-like.
 
        >>> s = pd.Series(['a', 'B', 'c', 'D', 'e'])
        >>> s.sort_values()
        1    B
        3    D
        0    a
        2    c
        4    e
        dtype: object
        >>> s.sort_values(key=lambda x: x.str.lower())
        0    a
        1    B
        2    c
        3    D
        4    e
        dtype: object
 
        NumPy ufuncs work well here. For example, we can
        sort by the ``sin`` of the value
 
        >>> s = pd.Series([-4, -2, 0, 2, 4])
        >>> s.sort_values(key=np.sin)
        1   -2
        4    4
        2    0
        0   -4
        3    2
        dtype: int64
 
        More complicated user-defined functions can be used,
        as long as they expect a Series and return an array-like
 
        >>> s.sort_values(key=lambda x: (np.tan(x.cumsum())))
        0   -4
        3    2
        4    4
        1   -2
        2    0
        dtype: int64
        rzRThis Series is a view of some other array, to sort in-place you must create a copyr’zLength of ascending (z) must be 1 for Seriesr)r‡råzinvalid na_position: Nr´Frérãrë)r@r}r4rÊrLrr r r®rçr•r?rvrÉrwrr‰r±rÙr†rmrí) rrŒràrr rár„rZvalues_to_sortZ sorted_indexrùr r r¡rãy sD
 
 
ÿ ÿ
 ÿ
)rŒrLràr ráÚsort_remainingr„rzbool | Sequence[bool]r/r*r')
rŒrLràrr rárær„rr³c    
CsdSrØr ©
rrŒrLràrr rárær„rr r r¡Ú
sort_indexAszSeries.sort_index©    rŒrLràrr rárær„rc    
CsdSrØr rçr r r¡rèQsc    
CsdSrØr rçr r r¡rèasc    
stƒj|||||||||    d    S)uW
        Sort Series by index labels.
 
        Returns a new Series sorted by label if `inplace` argument is
        ``False``, otherwise updates the original series and returns None.
 
        Parameters
        ----------
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        level : int, optional
            If not None, sort on values in specified index level(s).
        ascending : bool or list-like of bools, default True
            Sort ascending vs. descending. When the index is a MultiIndex the
            sort direction can be controlled for each level individually.
        inplace : bool, default False
            If True, perform operation in-place.
        kind : {'quicksort', 'mergesort', 'heapsort', 'stable'}, default 'quicksort'
            Choice of sorting algorithm. See also :func:`numpy.sort` for more
            information. 'mergesort' and 'stable' are the only stable algorithms. For
            DataFrames, this option is only applied when sorting on a single
            column or label.
        na_position : {'first', 'last'}, default 'last'
            If 'first' puts NaNs at the beginning, 'last' puts NaNs at the end.
            Not implemented for MultiIndex.
        sort_remaining : bool, default True
            If True and sorting by level and index is multilevel, sort by other
            levels too (in order) after sorting by specified level.
        ignore_index : bool, default False
            If True, the resulting axis will be labeled 0, 1, â€¦, n - 1.
        key : callable, optional
            If not None, apply the key function to the index values
            before sorting. This is similar to the `key` argument in the
            builtin :meth:`sorted` function, with the notable difference that
            this `key` function should be *vectorized*. It should expect an
            ``Index`` and return an ``Index`` of the same shape.
 
            .. versionadded:: 1.1.0
 
        Returns
        -------
        Series or None
            The original Series sorted by the labels or None if ``inplace=True``.
 
        See Also
        --------
        DataFrame.sort_index: Sort DataFrame by the index.
        DataFrame.sort_values: Sort DataFrame by the value.
        Series.sort_values : Sort Series by the value.
 
        Examples
        --------
        >>> s = pd.Series(['a', 'b', 'c', 'd'], index=[3, 2, 1, 4])
        >>> s.sort_index()
        1    c
        2    b
        3    a
        4    d
        dtype: object
 
        Sort Descending
 
        >>> s.sort_index(ascending=False)
        4    d
        3    a
        2    b
        1    c
        dtype: object
 
        By default NaNs are put at the end, but use `na_position` to place
        them at the beginning
 
        >>> s = pd.Series(['a', 'b', 'c', 'd'], index=[3, 2, 1, np.nan])
        >>> s.sort_index(na_position='first')
        NaN     d
         1.0    c
         2.0    b
         3.0    a
        dtype: object
 
        Specify index level to sort
 
        >>> arrays = [np.array(['qux', 'qux', 'foo', 'foo',
        ...                     'baz', 'baz', 'bar', 'bar']),
        ...           np.array(['two', 'one', 'two', 'one',
        ...                     'two', 'one', 'two', 'one'])]
        >>> s = pd.Series([1, 2, 3, 4, 5, 6, 7, 8], index=arrays)
        >>> s.sort_index(level=1)
        bar  one    8
        baz  one    6
        foo  one    4
        qux  one    2
        bar  two    7
        baz  two    5
        foo  two    3
        qux  two    1
        dtype: int64
 
        Does not sort by remaining levels when sorting by levels
 
        >>> s.sort_index(level=1, sort_remaining=False)
        qux  one    2
        foo  one    4
        baz  one    6
        bar  one    8
        qux  two    1
        foo  two    3
        baz  two    5
        bar  two    7
        dtype: int64
 
        Apply a key function before sorting
 
        >>> s = pd.Series([1, 2, 3, 4], index=['A', 'b', 'C', 'd'])
        >>> s.sort_index(key=lambda x : x.str.lower())
        A    1
        b    2
        C    3
        d    4
        dtype: int64
        ré)rArèrçrBr r¡rèqs÷)rŒr râr³c    Cs€|j}t|ƒ}| ¡rJtjt|ƒdtjd}|}tj|||d||<ntj||d}|j||j    |j
tjdd}|j |ddS)aÏ
        Return the integer indices that would sort the Series values.
 
        Override ndarray.argsort. Argsorts the value, omitting NA/null values,
        and places the result in the same locations as the non-NA values.
 
        Parameters
        ----------
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        kind : {'mergesort', 'quicksort', 'heapsort', 'stable'}, default 'quicksort'
            Choice of sorting algorithm. See :func:`numpy.sort` for more
            information. 'mergesort' and 'stable' are the only stable algorithms.
        order : None
            Has no effect but is accepted for compatibility with numpy.
 
        Returns
        -------
        Series[np.intp]
            Positions of values within the sort order with -1 indicating
            nan values.
 
        See Also
        --------
        numpy.ndarray.argsort : Returns the indices that would sort this array.
        r,rÝr F)r†r¦r°r±Úargsortrë) rÉrTr-rÂÚfullr•ZintprêrÙr†r¦rí)    rrŒr rârÖr.rùZnotmaskrŠr r r¡rês ÿzSeries.argsortéz!Literal[('first', 'last', 'all')])Únrƒr³cCstj|||d ¡S)a
        Return the largest `n` elements.
 
        Parameters
        ----------
        n : int, default 5
            Return this many descending sorted values.
        keep : {'first', 'last', 'all'}, default 'first'
            When there are duplicate values that cannot all fit in a
            Series of `n` elements:
 
            - ``first`` : return the first `n` occurrences in order
              of appearance.
            - ``last`` : return the last `n` occurrences in reverse
              order of appearance.
            - ``all`` : keep all occurrences. This can result in a Series of
              size larger than `n`.
 
        Returns
        -------
        Series
            The `n` largest values in the Series, sorted in decreasing order.
 
        See Also
        --------
        Series.nsmallest: Get the `n` smallest elements.
        Series.sort_values: Sort Series by values.
        Series.head: Return the first `n` rows.
 
        Notes
        -----
        Faster than ``.sort_values(ascending=False).head(n)`` for small `n`
        relative to the size of the ``Series`` object.
 
        Examples
        --------
        >>> countries_population = {"Italy": 59000000, "France": 65000000,
        ...                         "Malta": 434000, "Maldives": 434000,
        ...                         "Brunei": 434000, "Iceland": 337000,
        ...                         "Nauru": 11300, "Tuvalu": 11300,
        ...                         "Anguilla": 11300, "Montserrat": 5200}
        >>> s = pd.Series(countries_population)
        >>> s
        Italy       59000000
        France      65000000
        Malta         434000
        Maldives      434000
        Brunei        434000
        Iceland       337000
        Nauru          11300
        Tuvalu         11300
        Anguilla       11300
        Montserrat      5200
        dtype: int64
 
        The `n` largest elements where ``n=5`` by default.
 
        >>> s.nlargest()
        France      65000000
        Italy       59000000
        Malta         434000
        Maldives      434000
        Brunei        434000
        dtype: int64
 
        The `n` largest elements where ``n=3``. Default `keep` value is 'first'
        so Malta will be kept.
 
        >>> s.nlargest(3)
        France    65000000
        Italy     59000000
        Malta       434000
        dtype: int64
 
        The `n` largest elements where ``n=3`` and keeping the last duplicates.
        Brunei will be kept since it is the last with value 434000 based on
        the index order.
 
        >>> s.nlargest(3, keep='last')
        France      65000000
        Italy       59000000
        Brunei        434000
        dtype: int64
 
        The `n` largest elements where ``n=3`` with all duplicates kept. Note
        that the returned Series has five elements due to the three duplicates.
 
        >>> s.nlargest(3, keep='all')
        France      65000000
        Italy       59000000
        Malta         434000
        Maldives      434000
        Brunei        434000
        dtype: int64
        ©rírƒ)rtÚ SelectNSeriesÚnlargest©rrírƒr r r¡rð3sbzSeries.nlargestcCstj|||d ¡S)aß
        Return the smallest `n` elements.
 
        Parameters
        ----------
        n : int, default 5
            Return this many ascending sorted values.
        keep : {'first', 'last', 'all'}, default 'first'
            When there are duplicate values that cannot all fit in a
            Series of `n` elements:
 
            - ``first`` : return the first `n` occurrences in order
              of appearance.
            - ``last`` : return the last `n` occurrences in reverse
              order of appearance.
            - ``all`` : keep all occurrences. This can result in a Series of
              size larger than `n`.
 
        Returns
        -------
        Series
            The `n` smallest values in the Series, sorted in increasing order.
 
        See Also
        --------
        Series.nlargest: Get the `n` largest elements.
        Series.sort_values: Sort Series by values.
        Series.head: Return the first `n` rows.
 
        Notes
        -----
        Faster than ``.sort_values().head(n)`` for small `n` relative to
        the size of the ``Series`` object.
 
        Examples
        --------
        >>> countries_population = {"Italy": 59000000, "France": 65000000,
        ...                         "Brunei": 434000, "Malta": 434000,
        ...                         "Maldives": 434000, "Iceland": 337000,
        ...                         "Nauru": 11300, "Tuvalu": 11300,
        ...                         "Anguilla": 11300, "Montserrat": 5200}
        >>> s = pd.Series(countries_population)
        >>> s
        Italy       59000000
        France      65000000
        Brunei        434000
        Malta         434000
        Maldives      434000
        Iceland       337000
        Nauru          11300
        Tuvalu         11300
        Anguilla       11300
        Montserrat      5200
        dtype: int64
 
        The `n` smallest elements where ``n=5`` by default.
 
        >>> s.nsmallest()
        Montserrat    5200
        Nauru        11300
        Tuvalu       11300
        Anguilla     11300
        Iceland     337000
        dtype: int64
 
        The `n` smallest elements where ``n=3``. Default `keep` value is
        'first' so Nauru and Tuvalu will be kept.
 
        >>> s.nsmallest(3)
        Montserrat   5200
        Nauru       11300
        Tuvalu      11300
        dtype: int64
 
        The `n` smallest elements where ``n=3`` and keeping the last
        duplicates. Anguilla and Tuvalu will be kept since they are the last
        with value 11300 based on the index order.
 
        >>> s.nsmallest(3, keep='last')
        Montserrat   5200
        Anguilla    11300
        Tuvalu      11300
        dtype: int64
 
        The `n` smallest elements where ``n=3`` with all duplicates kept. Note
        that the returned Series has four elements due to the three duplicates.
 
        >>> s.nsmallest(3, keep='all')
        Montserrat   5200
        Nauru       11300
        Tuvalu      11300
        Anguilla    11300
        dtype: int64
        rî)rtrïÚ    nsmallestrñr r r¡rò—s_zSeries.nsmallestzFcopy : bool, default True
            Whether to copy underlying data.añ        Examples
        --------
        >>> s = pd.Series(
        ...     ["A", "B", "A", "C"],
        ...     index=[
        ...         ["Final exam", "Final exam", "Coursework", "Coursework"],
        ...         ["History", "Geography", "History", "Geography"],
        ...         ["January", "February", "March", "April"],
        ...     ],
        ... )
        >>> s
        Final exam  History     January      A
                    Geography   February     B
        Coursework  History     March        A
                    Geography   April        C
        dtype: object
 
        In the following example, we will swap the levels of the indices.
        Here, we will swap the levels column-wise, but levels can be swapped row-wise
        in a similar manner. Note that column-wise is the default behaviour.
        By not supplying any arguments for i and j, we swap the last and second to
        last indices.
 
        >>> s.swaplevel()
        Final exam  January     History         A
                    February    Geography       B
        Coursework  March       History         A
                    April       Geography       C
        dtype: object
 
        By supplying one argument, we can choose which index to swap the last
        index with. We can for example swap the first index with the last one as
        follows.
 
        >>> s.swaplevel(0)
        January     History     Final exam      A
        February    Geography   Final exam      B
        March       History     Coursework      A
        April       Geography   Coursework      C
        dtype: object
 
        We can also define explicitly which indices we want to swap by supplying values
        for both i and j. Here, we for example swap the first and second indices.
 
        >>> s.swaplevel(0, 1)
        History     Final exam  January         A
        Geography   Final exam  February        B
        History     Coursework  March           A
        Geography   Coursework  April           C
        dtype: object)rŠr¨rgéþÿÿÿr,)rûÚjr±r³cCs8t|jtƒst‚|j|otƒ d}|j ||¡|_|S)a¦
        Swap levels i and j in a :class:`MultiIndex`.
 
        Default is to swap the two innermost levels of the index.
 
        Parameters
        ----------
        i, j : int or str
            Levels of the indices to be swapped. Can pass level name as string.
        {extra_params}
 
        Returns
        -------
        {klass}
            {klass} with levels swapped in MultiIndex.
 
        {examples}
        r´)r¾r†rkrÎr±rÚ    swaplevel)rrûrôr±rùr r r¡rõøsQzSeries.swaplevelzSequence[Level]cCsBt|jtƒstdƒ‚|jdd}t|jtƒs0t‚|j |¡|_|S)a9
        Rearrange index levels using input order.
 
        May not drop or duplicate levels.
 
        Parameters
        ----------
        order : list of int representing new level order
            Reference level by number or key.
 
        Returns
        -------
        type of caller (new object)
        z/Can only reorder levels on a hierarchical axis.Nr´)r¾r†rkr±r±rÎÚreorder_levels)rrârùr r r¡röNs   zSeries.reorder_levels)r„r³cCstt|ƒrt|ƒs,| ¡}|r(|jddS|St t |j¡¡\}}|rTt    t|ƒƒ}n |j
  |¡}|j |||j ddS)un
        Transform each element of a list-like to a row.
 
        Parameters
        ----------
        ignore_index : bool, default False
            If True, the resulting index will be labeled 0, 1, â€¦, n - 1.
 
            .. versionadded:: 1.1.0
 
        Returns
        -------
        Series
            Exploded lists to rows; index will be duplicated for these rows.
 
        See Also
        --------
        Series.str.split : Split string values on specified separator.
        Series.unstack : Unstack, a.k.a. pivot, Series with MultiIndex
            to produce DataFrame.
        DataFrame.melt : Unpivot a DataFrame from wide format to long format.
        DataFrame.explode : Explode a DataFrame from list-like
            columns to long format.
 
        Notes
        -----
        This routine will explode list-likes including lists, tuples, sets,
        Series, and np.ndarray. The result dtype of the subset rows will
        be object. Scalars will be returned unchanged, and empty list-likes will
        result in a np.nan for that row. In addition, the ordering of elements in
        the output will be non-deterministic when exploding sets.
 
        Reference :ref:`the user guide <reshaping.explode>` for more examples.
 
        Examples
        --------
        >>> s = pd.Series([[1, 2, 3], 'foo', [], [3, 4]])
        >>> s
        0    [1, 2, 3]
        1          foo
        2           []
        3       [3, 4]
        dtype: object
 
        >>> s.explode()
        0      1
        0      2
        0      3
        1    foo
        2    NaN
        3      3
        3      4
        dtype: object
        T)rJFr)r•rNr±rNrÚexploderÂrïrÉrmr†rIrÙr¦)rr„rùrÖÚcountsr†r r r¡r÷es7 zSeries.explode)rLrÊr³cCsddlm}||||ƒS)a!
        Unstack, also known as pivot, Series with MultiIndex to produce DataFrame.
 
        Parameters
        ----------
        level : int, str, or list of these, default last level
            Level(s) to unstack, can pass level name.
        fill_value : scalar value, default None
            Value to use when replacing NaN values.
 
        Returns
        -------
        DataFrame
            Unstacked Series.
 
        Notes
        -----
        Reference :ref:`the user guide <reshaping.stacking>` for more examples.
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3, 4],
        ...               index=pd.MultiIndex.from_product([['one', 'two'],
        ...                                                 ['a', 'b']]))
        >>> s
        one  a    1
             b    2
        two  a    3
             b    4
        dtype: int64
 
        >>> s.unstack(level=-1)
             a  b
        one  1  2
        two  3  4
 
        >>> s.unstack(level=0)
           one  two
        a    1    3
        b    2    4
        r)Úunstack)Zpandas.core.reshape.reshaperù)rrLrÊrùr r r¡rù©s* zSeries.unstackzCallable | Mapping | SerieszLiteral['ignore'] | None)ÚargÚ    na_actionr³cCs*|j||d}|j||jddj|ddS)aý
        Map values of Series according to an input mapping or function.
 
        Used for substituting each value in a Series with another value,
        that may be derived from a function, a ``dict`` or
        a :class:`Series`.
 
        Parameters
        ----------
        arg : function, collections.abc.Mapping subclass or Series
            Mapping correspondence.
        na_action : {None, 'ignore'}, default None
            If 'ignore', propagate NaN values, without passing them to the
            mapping correspondence.
 
        Returns
        -------
        Series
            Same index as caller.
 
        See Also
        --------
        Series.apply : For applying more complex functions on a Series.
        DataFrame.apply : Apply a function row-/column-wise.
        DataFrame.applymap : Apply a function elementwise on a whole DataFrame.
 
        Notes
        -----
        When ``arg`` is a dictionary, values in Series that are not in the
        dictionary (as keys) are converted to ``NaN``. However, if the
        dictionary is a ``dict`` subclass that defines ``__missing__`` (i.e.
        provides a method for default values), then this default is used
        rather than ``NaN``.
 
        Examples
        --------
        >>> s = pd.Series(['cat', 'dog', np.nan, 'rabbit'])
        >>> s
        0      cat
        1      dog
        2      NaN
        3   rabbit
        dtype: object
 
        ``map`` accepts a ``dict`` or a ``Series``. Values that are not found
        in the ``dict`` are converted to ``NaN``, unless the dict has a default
        value (e.g. ``defaultdict``):
 
        >>> s.map({'cat': 'kitten', 'dog': 'puppy'})
        0   kitten
        1    puppy
        2      NaN
        3      NaN
        dtype: object
 
        It also accepts a function:
 
        >>> s.map('I am a {}'.format)
        0       I am a cat
        1       I am a dog
        2       I am a nan
        3    I am a rabbit
        dtype: object
 
        To avoid applying the function to missing values (and keep them as
        ``NaN``) ``na_action='ignore'`` can be used:
 
        >>> s.map('I am a {}'.format, na_action='ignore')
        0     I am a cat
        1     I am a dog
        2            NaN
        3  I am a rabbit
        dtype: object
        )rûFréÚmaprë)Z _map_valuesrÙr†rí)rrúrûrør r r¡rüÚs
Oÿz
Series.mapcCs|S)a
        Sub-classes to define. Return a sliced object.
 
        Parameters
        ----------
        key : string / list of selections
        ndim : {1, 2}
            Requested ndim of result.
        subset : object, default None
            Subset to act on.
        r )rrrôZsubsetr r r¡Ú_gotitem.s zSeries._gotitemzŸ
    See Also
    --------
    Series.apply : Invoke function on a Series.
    Series.transform : Transform function producing a Series with like indexes.
    zî
    Examples
    --------
    >>> s = pd.Series([1, 2, 3, 4])
    >>> s
    0    1
    1    2
    2    3
    3    4
    dtype: int64
 
    >>> s.agg('min')
    1
 
    >>> s.agg(['min', 'max'])
    min   1
    max   4
    dtype: int64
    Ú    aggregaterŒ)rŠrŒZsee_alsorg)rŒcOs<| |¡|dkrt| ¡ƒ}t||d||d}| ¡}|S)NF)Ú convert_dtyperrö)r}rnrmr_Úagg)rrÉrŒrröÚoprùr r r¡rþ[s     
 zSeries.aggregate)rŒÚ    bool_onlyrrL)rŒrrrLr³cKsdSrØr ©rrŒrrrLrör r r¡r-qs
z
Series.any)rŒrrz Series | boolcKsdSrØr rr r r¡r-}s
z Level | NonecKsdSrØr rr r r¡r-Šs    Ú    transform)rŠrŒr)rÉrŒr³cOs$| |¡t||d||d ¡}|S)NT)rÉrÿrrö)r}r_r)rrÉrŒrrörùr r r¡r•s    
ÿ
zSeries.transformr ztuple[Any, ...])rÉrÿrr³cKst|||||ƒ ¡S)aC
        Invoke function on values of Series.
 
        Can be ufunc (a NumPy function that applies to the entire Series)
        or a Python function that only works on single values.
 
        Parameters
        ----------
        func : function
            Python function or NumPy ufunc to apply.
        convert_dtype : bool, default True
            Try to find better dtype for elementwise function results. If
            False, leave as dtype=object. Note that the dtype is always
            preserved for some extension array dtypes, such as Categorical.
        args : tuple
            Positional arguments passed to func after the series value.
        **kwargs
            Additional keyword arguments passed to func.
 
        Returns
        -------
        Series or DataFrame
            If func returns a Series object the result will be a DataFrame.
 
        See Also
        --------
        Series.map: For element-wise operations.
        Series.agg: Only perform aggregating type operations.
        Series.transform: Only perform transforming type operations.
 
        Notes
        -----
        Functions that mutate the passed object can produce unexpected
        behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
        for more details.
 
        Examples
        --------
        Create a series with typical summer temperatures for each city.
 
        >>> s = pd.Series([20, 21, 12],
        ...               index=['London', 'New York', 'Helsinki'])
        >>> s
        London      20
        New York    21
        Helsinki    12
        dtype: int64
 
        Square the values by defining a function and passing it as an
        argument to ``apply()``.
 
        >>> def square(x):
        ...     return x ** 2
        >>> s.apply(square)
        London      400
        New York    441
        Helsinki    144
        dtype: int64
 
        Square the values by passing an anonymous function as an
        argument to ``apply()``.
 
        >>> s.apply(lambda x: x ** 2)
        London      400
        New York    441
        Helsinki    144
        dtype: int64
 
        Define a custom function that needs additional positional
        arguments and pass these additional arguments using the
        ``args`` keyword.
 
        >>> def subtract_custom_value(x, custom_value):
        ...     return x - custom_value
 
        >>> s.apply(subtract_custom_value, args=(5,))
        London      15
        New York    16
        Helsinki     7
        dtype: int64
 
        Define a custom function that takes keyword arguments
        and pass these arguments to ``apply``.
 
        >>> def add_custom_values(x, **kwargs):
        ...     for month in kwargs:
        ...         x += kwargs[month]
        ...     return x
 
        >>> s.apply(add_custom_values, june=30, july=20, august=25)
        London      95
        New York    96
        Helsinki    87
        dtype: int64
 
        Use a function from the Numpy library.
 
        >>> s.apply(np.log)
        London      2.995732
        New York    3.044522
        Helsinki    2.484907
        dtype: float64
        )r_Úapply)rrÉrÿrrör r r¡r¤snz Series.apply)rŒrr™Ú filter_type)r¦rŒrr™c
 
Ksª|j}|dk    r| |¡t|tƒr8|j|fd|i|—ŽS|rrt|jƒsrd}    |dkrVd}    td|›d|    ›d|›d    ƒ‚tj    d
d "||fd|i|—ŽW5QR£SQRXdS) z¨
        Perform a reduction operation.
 
        If we have an ndarray as a value, then simply perform the operation,
        otherwise delegate to the object.
        Nrr™)r-rÅrzSeries.z does not allow ú=z with non-numeric dtypes.r»rÄ)
rÉr}r¾r`Ú_reducerMr°r›rÂrÆ)
rrr¦rŒrr™rÚkwdsZdelegateZkwd_namer r r¡rs
 
ÿzSeries._reduceznpt.NDArray[np.intp] | None)r÷rr±r³cCsp|dkrL|dks|j|jjkrLtƒr0|j|dS|s<|dkrH|j|dS|Stj|j|ddd}|j||ddS)Nr´T)Z
allow_fillrÊFré)Únamesr†rr±rXZtake_ndrÉrÙ)rr÷rr±rør r r¡Ú_reindex_indexer<s"ÿ ÿ   ÿzSeries._reindex_indexercCsdS)zc
        Check if we do need a multi reindex; this is for compat with
        higher dims.
        Fr )rr‰rìrLr r r¡Ú_needs_reindex_multiRszSeries._needs_reindex_multir‹)rŠr‹rÃrz Axis | NonezFillnaOptions | None) rr¡rŒrLr±rÊrìÚlimitÚ    fill_axisÚbroadcast_axisr³c s tƒj|||||||||    |
d
S)N)    r¡rŒrLr±rÊrìr rr)rAr¢) rrr¡rŒrLr±rÊrìr rrrBr r¡r¢Zsöz Series.align)rŒr±rLr¼zRenamer | Hashable | Noner&)r†rŒr±rrLr¼r³cCsdSrØr ©rr†rŒr±rrLr¼r r r¡Úrenameys z Series.rename)rŒr±rrLr¼cCsdSrØr rr r r¡r†s cCsdSrØr rr r r¡r“s r»csJ|dk    r| |¡}t|ƒs"t|ƒr8tƒj|||||dS|j||dSdS)a¯
        Alter Series index labels or name.
 
        Function / dict values must be unique (1-to-1). Labels not contained in
        a dict / Series will be left as-is. Extra labels listed don't throw an
        error.
 
        Alternatively, change ``Series.name`` with a scalar value.
 
        See the :ref:`user guide <basics.rename>` for more.
 
        Parameters
        ----------
        index : scalar, hashable sequence, dict-like or function optional
            Functions or dict-like are transformations to apply to
            the index.
            Scalar or hashable sequence-like will alter the ``Series.name``
            attribute.
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        copy : bool, default True
            Also copy underlying data.
        inplace : bool, default False
            Whether to return a new Series. If True the value of copy is ignored.
        level : int or level name, default None
            In case of MultiIndex, only rename labels in the specified level.
        errors : {'ignore', 'raise'}, default 'ignore'
            If 'raise', raise `KeyError` when a `dict-like mapper` or
            `index` contains labels that are not present in the index being transformed.
            If 'ignore', existing keys will be renamed and extra keys will be ignored.
 
        Returns
        -------
        Series or None
            Series with index labels or name altered or None if ``inplace=True``.
 
        See Also
        --------
        DataFrame.rename : Corresponding DataFrame method.
        Series.rename_axis : Set the name of the axis.
 
        Examples
        --------
        >>> s = pd.Series([1, 2, 3])
        >>> s
        0    1
        1    2
        2    3
        dtype: int64
        >>> s.rename("my_name")  # scalar, changes Series.name
        0    1
        1    2
        2    3
        Name: my_name, dtype: int64
        >>> s.rename(lambda x: x ** 2)  # function, changes labels
        0    1
        1    2
        4    3
        dtype: int64
        >>> s.rename({1: 3, 2: 5})  # mapping, changes labels
        0    1
        3    2
        5    3
        dtype: int64
        N)r±rrLr¼r!)r}r£rHrAZ_renamertrrBr r¡r sK
ûa
        Examples
        --------
        >>> s = pd.Series([1, 2, 3])
        >>> s
        0    1
        1    2
        2    3
        dtype: int64
 
        >>> s.set_axis(['a', 'b', 'c'], axis=0)
        a    1
        b    2
        c    3
        dtype: int64
    )Zextended_summary_subZaxis_description_subZ see_also_sub©rŒr±)rŒr±r³cstƒj|||dS)Nr)rAÚset_axis)rÚlabelsrŒr±rBr r¡rþs zSeries.set_axisr)rŠr)rŒrìr±rLrÊr Ú    tolerancez Scalar | None)rŒrìr±rLrÊr r³c        stƒj|||||||dS)N)r†rìr±rLrÊr r)rArË)    rr†rŒrìr±rLrÊr rrBr r¡rË!sùzSeries.reindex)r†rŒr±rzIndexLabel | lib.NoDefault)rÚmapperrŒr±rr³cstƒj|||||dS)N)rr†rŒr±r)rAÚ rename_axis)rrr†rŒr±rrBr r¡r<s
ûzSeries.rename_axis)rŒr†rFrLr¼)rrŒr†rFrLrr¼r³cCsdSrØr ©rrrŒr†rFrLrr¼r r r¡rJNs z Series.drop)rŒr†rFrLrr¼cCsdSrØr rr r r¡rJ\s cCsdSrØr rr r r¡rJjs Úraisec    stƒj|||||||dS)a
        Return Series with specified index labels removed.
 
        Remove elements of a Series based on specifying the index labels.
        When using a multi-index, labels on different levels can be removed
        by specifying the level.
 
        Parameters
        ----------
        labels : single label or list-like
            Index labels to drop.
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        index : single label or list-like
            Redundant for application on Series, but 'index' can be used instead
            of 'labels'.
        columns : single label or list-like
            No change is made to the Series; use 'index' or 'labels' instead.
        level : int or level name, optional
            For MultiIndex, level for which the labels will be removed.
        inplace : bool, default False
            If True, do operation inplace and return None.
        errors : {'ignore', 'raise'}, default 'raise'
            If 'ignore', suppress error and only existing labels are dropped.
 
        Returns
        -------
        Series or None
            Series with specified index labels removed or None if ``inplace=True``.
 
        Raises
        ------
        KeyError
            If none of the labels are found in the index.
 
        See Also
        --------
        Series.reindex : Return only specified index labels of Series.
        Series.dropna : Return series without null values.
        Series.drop_duplicates : Return Series with duplicate values removed.
        DataFrame.drop : Drop specified labels from rows or columns.
 
        Examples
        --------
        >>> s = pd.Series(data=np.arange(3), index=['A', 'B', 'C'])
        >>> s
        A  0
        B  1
        C  2
        dtype: int64
 
        Drop labels B en C
 
        >>> s.drop(labels=['B', 'C'])
        A  0
        dtype: int64
 
        Drop 2nd level label in MultiIndex Series
 
        >>> midx = pd.MultiIndex(levels=[['lama', 'cow', 'falcon'],
        ...                              ['speed', 'weight', 'length']],
        ...                      codes=[[0, 0, 0, 1, 1, 1, 2, 2, 2],
        ...                             [0, 1, 2, 0, 1, 2, 0, 1, 2]])
        >>> s = pd.Series([45, 200, 1.2, 30, 250, 1.5, 320, 1, 0.3],
        ...               index=midx)
        >>> s
        lama    speed      45.0
                weight    200.0
                length      1.2
        cow     speed      30.0
                weight    250.0
                length      1.5
        falcon  speed     320.0
                weight      1.0
                length      0.3
        dtype: float64
 
        >>> s.drop(labels='weight', level=1)
        lama    speed      45.0
                length      1.2
        cow     speed      30.0
                length      1.5
        falcon  speed     320.0
                length      0.3
        dtype: float64
        )rrŒr†rFrLrr¼)rArJrrBr r¡rJxsaù)rìrŒrr Údowncastz'Hashable | Mapping | Series | DataFramez dict | None)rßrìrŒrr rr³cCsdSrØr ©rrßrìrŒrr rr r r¡Úfillnaãs z Series.fillna)rìrŒr rcCsdSrØr rr r r¡rðs cCsdSrØr rr r r¡rýs cstƒj||||||dS)N)rßrìrŒrr r)rArrrBr r¡r
s ú)r;r³cstƒj|dS)aÁ
        Return item and drops from series. Raise KeyError if not found.
 
        Parameters
        ----------
        item : label
            Index of the element that needs to be removed.
 
        Returns
        -------
        Value that is popped from series.
 
        Examples
        --------
        >>> ser = pd.Series([1,2,3])
 
        >>> ser.pop(0)
        1
 
        >>> ser
        1    2
        2    3
        dtype: int64
        )r;)rArG)rr;rBr r¡rGsz
Series.pop)rr Úregexrìz2Literal[('pad', 'ffill', 'bfill')] | lib.NoDefault)rr rrìr³cCsdSrØr ©rÚ
to_replacerßrr rrìr r r¡Úreplace9s zSeries.replace)r rrìcCsdSrØr rr r r¡r Fs rr‘)rŠrr‘cstƒj||||||dS)N)rrßrr rrì)rAr rrBr r¡r Ssúzbool | str | None)ÚverboserWÚmax_colsÚ memory_usageÚ show_countsr³cCst||ƒj||||dS)N)rWr"r!r$)r{Úrender)rr!rWr"r#r$r r r¡Úinfols     
üz Series.info)rìrc    Cs`|r|n| ¡}|j}t ||¡}t|tƒr<| |||¡nt |¡}||||d|r\dS|S)zŽ
        Replaces values in a Series using the fill method specified when no
        replacement value is given in the replace method
        )r r.N)r±rÉr[Z mask_missingr¾r`Z_fill_mask_inplaceZ get_fill_func)    rrrìrr rùrÖr.Zfill_fr r r¡Ú_replace_single|s 
 
zSeries._replace_single)r©rŒrÊr³cstƒj||||dS)N)r©ÚfreqrŒrÊ)rAr¬)rr©r(rŒrÊrBr r¡r¬“s ÿz Series.shift)r†rµr³cCs&|j|d}|r"||jj|d7}|S)aP
        Return the memory usage of the Series.
 
        The memory usage can optionally include the contribution of
        the index and of elements of `object` dtype.
 
        Parameters
        ----------
        index : bool, default True
            Specifies whether to include the memory usage of the Series index.
        deep : bool, default False
            If True, introspect the data deeply by interrogating
            `object` dtypes for system-level memory consumption, and include
            it in the returned value.
 
        Returns
        -------
        int
            Bytes of memory consumed.
 
        See Also
        --------
        numpy.ndarray.nbytes : Total bytes consumed by the elements of the
            array.
        DataFrame.memory_usage : Bytes consumed by a DataFrame.
 
        Examples
        --------
        >>> s = pd.Series(range(3))
        >>> s.memory_usage()
        152
 
        Not including the index gives the size of the rest of the data, which
        is necessarily smaller:
 
        >>> s.memory_usage(index=False)
        24
 
        The memory footprint of `object` values is ignored by default:
 
        >>> s = pd.Series(["a", "b"])
        >>> s.values
        array(['a', 'b'], dtype=object)
        >>> s.memory_usage()
        144
        >>> s.memory_usage(deep=True)
        244
        r´)Z _memory_usager†r#)rr†rµrqr r r¡r#›s1 zSeries.memory_usagecCs*t |j|¡}|j||jddj|ddS)ad
        Whether elements in Series are contained in `values`.
 
        Return a boolean Series showing whether each element in the Series
        matches an element in the passed sequence of `values` exactly.
 
        Parameters
        ----------
        values : set or list-like
            The sequence of values to test. Passing in a single string will
            raise a ``TypeError``. Instead, turn a single string into a
            list of one element.
 
        Returns
        -------
        Series
            Series of booleans indicating if each element is in values.
 
        Raises
        ------
        TypeError
          * If `values` is a string
 
        See Also
        --------
        DataFrame.isin : Equivalent method on DataFrame.
 
        Examples
        --------
        >>> s = pd.Series(['lama', 'cow', 'lama', 'beetle', 'lama',
        ...                'hippo'], name='animal')
        >>> s.isin(['cow', 'lama'])
        0     True
        1     True
        2     True
        3    False
        4     True
        5    False
        Name: animal, dtype: bool
 
        To invert the boolean values, use the ``~`` operator:
 
        >>> ~s.isin(['cow', 'lama'])
        0    False
        1    False
        2    False
        3     True
        4    False
        5     True
        Name: animal, dtype: bool
 
        Passing a single string as ``s.isin('lama')`` will raise an error. Use
        a list of one element instead:
 
        >>> s.isin(['lama'])
        0     True
        1    False
        2     True
        3    False
        4     True
        5    False
        Name: animal, dtype: bool
 
        Strings and integers are distinct and are therefore not comparable:
 
        >>> pd.Series([1]).isin(['1'])
        0    False
        dtype: bool
        >>> pd.Series([1.1]).isin(['1.1'])
        0    False
        dtype: bool
        FréÚisinrë)rXr)rÉrÙr†rí)rrÖrùr r r¡r)Ñs
Iÿz Series.isinÚbothz-Literal[('both', 'neither', 'left', 'right')])Ú    inclusiver³cCsx|dkr||k}||k}nV|dkr4||k}||k}n<|dkrN||k}||k}n"|dkrh||k}||k}ntdƒ‚||@S)aý
        Return boolean Series equivalent to left <= series <= right.
 
        This function returns a boolean vector containing `True` wherever the
        corresponding Series element is between the boundary values `left` and
        `right`. NA values are treated as `False`.
 
        Parameters
        ----------
        left : scalar or list-like
            Left boundary.
        right : scalar or list-like
            Right boundary.
        inclusive : {"both", "neither", "left", "right"}
            Include boundaries. Whether to set each bound as closed or open.
 
            .. versionchanged:: 1.3.0
 
        Returns
        -------
        Series
            Series representing whether each element is between left and
            right (inclusive).
 
        See Also
        --------
        Series.gt : Greater than of series and other.
        Series.lt : Less than of series and other.
 
        Notes
        -----
        This function is equivalent to ``(left <= ser) & (ser <= right)``
 
        Examples
        --------
        >>> s = pd.Series([2, 0, 4, 8, np.nan])
 
        Boundary values are included by default:
 
        >>> s.between(1, 4)
        0     True
        1    False
        2     True
        3    False
        4    False
        dtype: bool
 
        With `inclusive` set to ``"neither"`` boundary values are excluded:
 
        >>> s.between(1, 4, inclusive="neither")
        0     True
        1    False
        2    False
        3    False
        4    False
        dtype: bool
 
        `left` and `right` can be any scalar value:
 
        >>> s = pd.Series(['Alice', 'Bob', 'Carol', 'Eve'])
        >>> s.between('Anna', 'Daniel')
        0    False
        1     True
        2     True
        3    False
        dtype: bool
        r*r²r³ZneitherzJInclusive has to be either string of 'both','left', 'right', or 'neither'.)rÊ)rr²r³r+ZlmaskZrmaskr r r¡Úbetweens I
 
 
 
ÿzSeries.betweenÚnumpy_nullabler!)Ú infer_objectsÚconvert_stringÚconvert_integerÚconvert_booleanÚconvert_floatingÚ dtype_backendr³c
Csf|}|r$| ¡}t|ƒr$|jdd}|s4|s4|s4|rVt|j||||||ƒ}| |¡}    n |jdd}    |    S)Nr´)r.rNr±rDrÉrÇ)
rr.r/r0r1r2r3Z input_seriesZinferred_dtyperùr r r¡Ú_convert_dtypess$     ù      zSeries._convert_dtypescCs
t |¡SrØ)rerTrœr r r¡rT sz Series.isnacs
tƒ ¡S)z<
        Series.isnull is an alias for Series.isna.
        )rAÚisnullrœrBr r¡r5¥sz Series.isnullcs
tƒ ¡SrØ)rArVrœrBr r¡rV­sz Series.notnacs
tƒ ¡S)z>
        Series.notnull is an alias for Series.notna.
        )rAÚnotnullrœrBr r¡r6²szSeries.notnull)rŒrÚhowr„z AnyAll | None)rŒrr7r„r³cCsdSrØr ©rrŒrr7r„r r r¡rz¹s    z Series.dropna)rŒr7r„cCsdSrØr r8r r r¡rzÄs    cCspt|dƒ}t|dƒ}| |pd¡|jr2t|ƒ}n|sD|jdd}n|}|rZtt|ƒƒ|_|rh| |¡S|SdS)u*
        Return a new Series with missing values removed.
 
        See the :ref:`User Guide <missing_data>` for more on which values are
        considered missing, and how to work with missing data.
 
        Parameters
        ----------
        axis : {0 or 'index'}
            Unused. Parameter needed for compatibility with DataFrame.
        inplace : bool, default False
            If True, do operation inplace and return None.
        how : str, optional
            Not in use. Kept for compatibility.
        ignore_index : bool, default ``False``
            If ``True``, the resulting axis will be labeled 0, 1, â€¦, n - 1.
 
            .. versionadded:: 2.0.0
 
        Returns
        -------
        Series or None
            Series with NA entries dropped from it or None if ``inplace=True``.
 
        See Also
        --------
        Series.isna: Indicate missing values.
        Series.notna : Indicate existing (non-missing) values.
        Series.fillna : Replace missing values.
        DataFrame.dropna : Drop rows or columns which contain NA values.
        Index.dropna : Drop missing indices.
 
        Examples
        --------
        >>> ser = pd.Series([1., 2., np.nan])
        >>> ser
        0    1.0
        1    2.0
        2    NaN
        dtype: float64
 
        Drop NA values from a Series.
 
        >>> ser.dropna()
        0    1.0
        1    2.0
        dtype: float64
 
        Empty strings are not considered NA values. ``None`` is considered an
        NA value.
 
        >>> ser = pd.Series([np.NaN, 2, pd.NaT, '', None, 'I stay'])
        >>> ser
        0       NaN
        1         2
        2       NaT
        3
        4      None
        5    I stay
        dtype: object
        >>> ser.dropna()
        1         2
        3
        5    I stay
        dtype: object
        rr„rNr´)    r@r}rÜrWr±rmr•r†r‰)rrŒrr7r„rùr r r¡rzÏsJ
 
 
 
r%)r(rìr7Ú    normalizerÊr³cstƒj|||||dS)N)r(rìr7r9rÊ)rAÚasfreq)rr(rìr7r9rÊrBr r¡r:2s    ûz Series.asfreqÚstartÚ    start_dayzstr | TimestampConvertibleTypesz TimedeltaConvertibleTypes | Noner„) rŒÚclosedrÚ
conventionr ÚonrLÚoriginÚoffsetrxr³c s"tƒj|||||||||    |
| d S)N) ÚrulerŒr=rr>r r?rLr@rArx)rAÚresample) rrBrŒr=rr>r r?rLr@rArxrBr r¡rCDsõzSeries.resamplez#Literal[('s', 'e', 'start', 'end')])r7r±r³cCsVt|jtƒs"tdt|jƒj›ƒ‚|j|o0tƒ d}|jj||d}t    |d|ƒ|S)aä
        Cast to DatetimeIndex of Timestamps, at *beginning* of period.
 
        Parameters
        ----------
        freq : str, default frequency of PeriodIndex
            Desired frequency.
        how : {'s', 'e', 'start', 'end'}
            Convention for converting period to timestamp; start of period
            vs. end.
        copy : bool, default True
            Whether or not to return a copy.
 
        Returns
        -------
        Series with DatetimeIndex
 
        Examples
        --------
        >>> idx = pd.PeriodIndex(['2023', '2024', '2025'], freq='Y')
        >>> s1 = pd.Series([1, 2, 3], index=idx)
        >>> s1
        2023    1
        2024    2
        2025    3
        Freq: A-DEC, dtype: int64
 
        The resulting frequency of the Timestamps is `YearBegin`
 
        >>> s1 = s1.to_timestamp()
        >>> s1
        2023-01-01    1
        2024-01-01    2
        2025-01-01    3
        Freq: AS-JAN, dtype: int64
 
        Using `freq` which is the offset that the Timestamps will have
 
        >>> s2 = pd.Series([1, 2, 3], index=idx)
        >>> s2 = s2.to_timestamp(freq='M')
        >>> s2
        2023-01-31    1
        2024-01-31    2
        2025-01-31    3
        Freq: A-JAN, dtype: int64
        úunsupported Type r´)r(r7r†)
r¾r†rlr›rÅr˜r±rÚ to_timestampÚsetattr)rr(r7r±Únew_objr÷r r r¡rEas 4  zSeries.to_timestamp)r(r±r³cCsTt|jtƒs"tdt|jƒj›ƒ‚|j|o0tƒ d}|jj|d}t    |d|ƒ|S)a
        Convert Series from DatetimeIndex to PeriodIndex.
 
        Parameters
        ----------
        freq : str, default None
            Frequency associated with the PeriodIndex.
        copy : bool, default True
            Whether or not to return a copy.
 
        Returns
        -------
        Series
            Series with index converted to PeriodIndex.
 
        Examples
        --------
        >>> idx = pd.DatetimeIndex(['2023', '2024', '2025'])
        >>> s = pd.Series([1, 2, 3], index=idx)
        >>> s = s.to_period()
        >>> s
        2023    1
        2024    2
        2025    3
        Freq: A-DEC, dtype: int64
 
        Viewing the index
 
        >>> s.index
        PeriodIndex(['2023', '2024', '2025'], dtype='period[A-DEC]')
        rDr´)r(r†)
r¾r†rir›rÅr˜r±rÚ    to_periodrF)rr(r±rGr÷r r r¡rHs    zSeries.to_period©rŒrr rz None | Axisz
None | int)rŒrr rr³cCsdSrØr ©rrŒrr rr r r¡ÚffillÅs    z Series.ffill)rŒr rcCsdSrØr rJr r r¡rKÐs    cCsdSrØr rJr r r¡rKÛs    cstƒj||||dS©NrI)rArKrJrBr r¡rKæscCsdSrØr rJr r r¡Úbfillðs    z Series.bfillcCsdSrØr rJr r r¡rMûs    cCsdSrØr rJr r r¡rMs    cstƒj||||dSrL)rArMrJrBr r¡rMs©rŒr)rrŒrr³c stƒj||f||dœ|—ŽS)NrN)rAÚclip)rÚlowerÚupperrŒrrörBr r¡rOs    z Series.clip)rŒr rÚlimit_directionÚ
limit_arear)    rrìrŒr rrRrSrr³c    
s"tƒjf|||||||dœ|—ŽS)N)rìrŒr rrRrSr)rAÚ interpolate)    rrìrŒr rrRrSrrörBr r¡rT&s ùøzSeries.interpolate©rrŒrL)rrŒrLr³cCsdSrØr ©rZcondrrrŒrLr r r¡rÜ=s
z Series.where)rŒrLcCsdSrØr rVr r r¡rÜIs
cCsdSrØr rVr r r¡rÜUs
cstƒj|||||dS©NrU)rArÜrVrBr r¡rÜas    ûcCsdSrØr rVr r r¡r.rs
z Series.maskcCsdSrØr rVr r r¡r.~s
cCsdSrØr rVr r r¡r.Šs
cstƒj|||||dSrW)rAr.rVrBr r¡r.–s    ûz#list[Literal[('index', 'columns')]]Ú _AXIS_ORDERSz
Literal[0]Ú_info_axis_numberzLiteral['index']Ú_info_axis_namez&The index (axis labels) of the Series.)rŒr=Úplotc    Cspt ||¡}t|tƒr(| |¡s(tdƒ‚|j}t|ddd}tj    ddt 
|||¡}W5QRX|j ||dS)Nz3Can only compare identically-labeled Series objectsT©Z extract_numpyZ extract_ranger»rÄrÌ) r]rÇr¾r…Z _indexed_samerÊrÉrcrÂrÆZ comparison_oprÈ©rrrZres_nameZlvaluesZrvaluesrîr r r¡Ú _cmp_methodÂs zSeries._cmp_methodcCsPt ||¡}tj||dd\}}|j}t|ddd}t |||¡}|j||dS)NT)Zalign_asobjectr\rÌ)r]rÇÚalign_method_SERIESrÉrcZ
logical_oprÈr]r r r¡Ú_logical_methodÐs  zSeries._logical_methodcCs t ||¡\}}tj |||¡SrØ)r]r_rYrºÚ _arith_method)rrrr r r¡raÚszSeries._arith_method)NNNNNF)NN)rá)N)N)r)r)r)r)F)F)FTF)N).).).)N)
..........)    .........)
Nr_NTTFFFNN)NrhTN)F)NrNTTTFT)T)r‡)rT)rT)r)..).)..)r—r˜)rœN)Nr’)r’)r’)r²N)FF)NN)r’FFrµ)N)rräN)rìr‡)rìr‡)rór,N)F)r,N)N)N)Nr)rNTN)r)Tr )    rÃNNNNNNrN).).).)N)N).).).)N).).).)N)..)..)NNNNT)r’NrN)TF)r*)TTTTTr-)NNFN)
rNNr;NNNr<NF)Nr;N)NN)NN)r˜).).).).).).)Âr˜Ú
__module__Ú __qualname__Ú__doc__Z_typrjr`rÂrÃZ_HANDLED_TYPESÚ__annotations__r§reZ_internal_names_setZ
_accessorsrYrºZ _hidden_attrsÚ    frozensetÚpropertyZhasnansÚfgetr¿rÌrÙrÛrÜr°rÞr¦ÚsetterrÖrÉrÈr;r·rãrèrêrðr¤r’Ú    __float__rçÚ__int__r‰ròrúrürÿr    rrrþrr*r&r'r+r%r0r4r6r8r<r=r$r(r@rIrrNrrQrVrUr=Ú_shared_doc_kwargsrurrjrmrÔrnrsrRrtrur€rirŽr†rrŽrr‘r–r¥r§rªr­r®r¶r·r»rÂrËrÈrÎrÚrÝrßrãrèrêrðròrõrör÷rùrürýZ_agg_see_also_docZ_agg_examples_docrþrr-rrrr r r¢rr<rrËrrJrrGr rzr|r&r'r¬r#r)r,r4rTr5rVr6rzr:rCrErHrKrMrOrTrÜr.rXr•Z    _AXIS_LENrYrZrZ AxisPropertyr†r^rxrªrhr¨rar©ÚpandasZplottingZ PlotAccessorr[rbr«Z hist_seriesÚhistr^r`raÚ __classcell__r r rBr¡r…ôs@
a   ÿýùÿ5
  1
)
! N :    
 +()Q     ÿ$:þù þù þù þùõ õ õ$Nÿý!û.  '(ÿR÷"#Aû    ÿÿûaPFG(ÿýý    ýCüNü0ÿü1)-N  ü& ÿ#&<ÂCú*ü d4P÷. ÷.÷,Iõ6õ6õ6õ8ü0ÿdaÿÿú=ÿD4ýTÿ    ÿû ú$ û& û$
ýÿ  ü"uø (ýõ8þø0 þø0 þø0þø2^ÿü
 
û(
ýþö2þù,þ÷. þ÷. þ÷.þ÷0kþø0 þø0 þø0 þø4ýø& ýø& üýø*
ú$ÿ"6Rübù$!ú&
ú& ú$c ú* ô6ü<(ú*
ú*
ú* ú,
ú*
ú*
ú* ú, ýú& þ÷.ýù$ ýù$ ýù$ýù&ýù$ ýù$ ýù$ýù&ÿ
 
 
 
 
)ÆrdÚ
__future__rr"ÚtextwraprÚtypingrrrrrr    r
r r r rrr–r9ÚnumpyrÂZpandas._configrrZ pandas._libsrrrZpandas._libs.internalsrZpandas._libs.librZpandas._typingrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5Z pandas.compatr6Zpandas.compat.numpyr7róZ pandas.errorsr8r9r:Zpandas.util._decoratorsr;r<r=Zpandas.util._exceptionsr>Zpandas.util._validatorsr?r@rAZpandas.core.dtypes.astyperBZpandas.core.dtypes.castrCrDrErFZpandas.core.dtypes.commonrGrHrIrJrKrLrMrNrOrPrQZpandas.core.dtypes.genericrRZpandas.core.dtypes.inferencerSZpandas.core.dtypes.missingrTrUrVrWZ pandas.corerXrYrZrÏr[r\r]Zpandas.core.accessorr^Zpandas.core.applyr_Zpandas.core.arraysr`Zpandas.core.arrays.categoricalraZpandas.core.arrays.sparserbZpandas.core.constructionrcrdZpandas.core.genericreZpandas.core.indexersrfrgZpandas.core.indexes.accessorsrhZpandas.core.indexes.apirirjrkrlrmrnZpandas.core.indexes.baseÚcoreZindexesrÄZpandas.core.indexes.multiroZpandas.core.indexingrprqZpandas.core.internalsrrrsZpandas.core.methodsrtZpandas.core.shared_docsruZpandas.core.sortingrvrwZpandas.core.strings.accessorrxZpandas.core.tools.datetimesryZpandas.io.formats.formatÚioÚformatsÚformatrTZpandas.io.formats.inforzr{r|Zpandas.plottingrmr}r~rrÚrr|rƒZpandas.core.resampler„Ú__all__rlr¤rºr…Z_add_numeric_operationsZadd_flex_arithmetic_methodsr r r r¡Ú<module>sæ  8  „!    4                   î