-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwasm-coverage.json
More file actions
4507 lines (4507 loc) · 245 KB
/
Copy pathwasm-coverage.json
File metadata and controls
4507 lines (4507 loc) · 245 KB
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
{
"version": "1",
"description": "Rust/WASM acceleration coverage manifest for tsb core functions",
"summary": {
"total_core_entries": 143,
"rust_wasm": 6,
"ts_only_ineligible": 137,
"unclassified": 0,
"eligible_missing": 0
},
"entries": [
{
"name": "natCompare",
"module": "core/natsort",
"status": "rust-wasm",
"wasm_function": "nat_compare",
"parity_test": "tests/wasm/parity.test.ts",
"benchmark_group": "wasm-natsort"
},
{
"name": "natSorted",
"module": "core/natsort",
"status": "rust-wasm",
"wasm_function": "nat_sorted",
"notes": "Accelerated path covers string arrays without a key function. Calls with a key function fall back to the TypeScript implementation automatically.",
"parity_test": "tests/wasm/parity.test.ts",
"benchmark_group": "wasm-natsort"
},
{
"name": "natArgSort",
"module": "core/natsort",
"status": "rust-wasm",
"wasm_function": "nat_argsort",
"parity_test": "tests/wasm/parity.test.ts",
"benchmark_group": "wasm-natsort"
},
{
"name": "natSortKey",
"module": "core/natsort",
"status": "ts-only-ineligible",
"reason": "Return type is readonly (string|number)[] \u2014 a JS-specific union array that has no direct WASM representation without per-element boxing. The resulting round-trip cost would likely exceed any benefit."
},
{
"name": "searchsorted",
"module": "core/searchsorted",
"status": "rust-wasm",
"wasm_function": "searchsorted_f64 / searchsorted_str",
"notes": "Accelerated path covers numeric (f64) and string arrays with the default comparator. Calls with a custom compareFn or a sorter fall back to TypeScript automatically.",
"parity_test": "tests/wasm/parity.test.ts",
"benchmark_group": "wasm-searchsorted"
},
{
"name": "searchsortedMany",
"module": "core/searchsorted",
"status": "rust-wasm",
"wasm_function": "searchsorted_many_f64 / searchsorted_many_str",
"notes": "Same fallback conditions as searchsorted.",
"parity_test": "tests/wasm/parity.test.ts",
"benchmark_group": "wasm-searchsorted"
},
{
"name": "argsortScalars",
"module": "core/searchsorted",
"status": "rust-wasm",
"wasm_function": "argsort_f64 / argsort_str",
"notes": "Accelerated path covers numeric and string arrays with the default comparator. Custom compareFn falls back to TypeScript.",
"parity_test": "tests/wasm/parity.test.ts",
"benchmark_group": "wasm-searchsorted"
},
{
"name": "Index",
"module": "core/base-index",
"status": "ts-only-ineligible",
"reason": "Complex JS class with JS-specific semantics: symbol-keyed properties, JS object identity, generator methods, and deep integration with the JS iterator protocol. All label-lookup logic depends on JS Map/Set identity.",
"methods": [
{
"name": "append",
"status": "ts-only-ineligible",
"reason": "Returns a new Index instance with a TypeScript Index; result construction and label preservation require JS runtime class instantiation."
},
{
"name": "argmax",
"status": "ts-only-ineligible",
"reason": "Finds the integer position of the maximum label using JS comparison semantics for string/number/boolean Index labels."
},
{
"name": "argmin",
"status": "ts-only-ineligible",
"reason": "Finds the integer position of the minimum label using JS comparison semantics for string/number/boolean Index labels."
},
{
"name": "argsort",
"status": "ts-only-ineligible",
"reason": "Returns a permutation array that sorts the Index labels; uses JS string/number comparison semantics for mixed-type labels."
},
{
"name": "at",
"status": "ts-only-ineligible",
"reason": "Returns the label at a given integer position; pure TypeScript property access with no numeric computation."
},
{
"name": "contains",
"status": "ts-only-ineligible",
"reason": "Checks label membership using JS equality via the Index._map lookup structure; no numeric computation."
},
{
"name": "copy",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "delete",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "difference",
"status": "ts-only-ineligible",
"reason": "Returns labels in this Index not present in another, using JS equality semantics for label comparison and a Set for deduplication."
},
{
"name": "drop",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "dropDuplicates",
"status": "ts-only-ineligible",
"reason": "Removes duplicate labels using a JavaScript Set for deduplication with JS equality semantics; returns a new TypeScript Index."
},
{
"name": "dropna",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "duplicated",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "empty",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "equals",
"status": "ts-only-ineligible",
"reason": "Checks structural equality between two Index objects using JS element-wise === comparison; no numeric computation."
},
{
"name": "fillna",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "getIndexer",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "getLoc",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "hasDuplicates",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "identical",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "insert",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "intersection",
"status": "ts-only-ineligible",
"reason": "Returns labels present in both Index objects using JS Set intersection semantics; no numeric computation."
},
{
"name": "isMonotonicDecreasing",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isMonotonicIncreasing",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isUnique",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isin",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isna",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "map",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "max",
"status": "ts-only-ineligible",
"reason": "Returns the maximum label using JS comparison operators for string/number/boolean labels; no WASM-compatible numeric type."
},
{
"name": "min",
"status": "ts-only-ineligible",
"reason": "Returns the minimum label using JS comparison operators for string/number/boolean labels; no WASM-compatible numeric type."
},
{
"name": "ndim",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "notna",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "nunique",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "rename",
"status": "ts-only-ineligible",
"reason": "Returns a new Index with a different name property; pure TypeScript metadata operation."
},
{
"name": "shape",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "size",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "slice",
"status": "ts-only-ineligible",
"reason": "Returns a contiguous sub-range of labels as a new TypeScript Index; pure JS array slicing with Index construction."
},
{
"name": "sortValues",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "symmetricDifference",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "take",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "toArray",
"status": "ts-only-ineligible",
"reason": "Serialises to a JavaScript object, array, or string using JS runtime formatting and object construction; no numeric computation suitable for WASM."
},
{
"name": "toList",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "toString",
"status": "ts-only-ineligible",
"reason": "Serialises to a JavaScript object, array, or string using JS runtime formatting and object construction; no numeric computation suitable for WASM."
},
{
"name": "union",
"status": "ts-only-ineligible",
"reason": "Returns the union of labels from two Index objects using JS Set union semantics; no numeric computation."
},
{
"name": "values",
"status": "ts-only-ineligible",
"reason": "Method on the Index TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
}
]
},
{
"name": "RangeIndex",
"module": "core/range-index",
"status": "ts-only-ineligible",
"reason": "Inherits from Index (JS class). Its primary value is lazy range generation using JS generators. No CPU-heavy numeric kernel to accelerate independently of the class."
},
{
"name": "Dtype",
"module": "core/dtype",
"status": "ts-only-ineligible",
"reason": "JS class whose instances are used as JS runtime type tokens. Equality is checked via JS object identity. Cannot be serialised to/from WASM without losing identity semantics.",
"methods": [
{
"name": "canCastTo",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "equals",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isBool",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isCategory",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isDatetime",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isFloat",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isInteger",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isNumeric",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isObject",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isSignedInteger",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isString",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isTimedelta",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "isUnsignedInteger",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
},
{
"name": "toString",
"status": "ts-only-ineligible",
"reason": "Method on the Dtype TypeScript class that requires JavaScript object construction, label semantics, type dispatch, or string/Date operations that cannot be cleanly abstracted across the WASM/JS boundary."
}
]
},
{
"name": "Series",
"module": "core/series",
"status": "ts-only-ineligible",
"reason": "High-level JS class whose methods accept arbitrary JS callbacks, return new Series instances, and interoperate with JS accessors, Index objects, and the extension registry. Porting at the class level would require replacing the entire TS implementation.",
"methods": [
{
"name": "add",
"status": "ts-only-ineligible",
"reason": "Performs element-wise numeric addition with optional index alignment when the operand is a Series, requiring JS label-based alignment, dtype promotion, and NA propagation through JavaScript missing-value identity semantics."
},
{
"name": "at",
"status": "ts-only-ineligible",
"reason": "Label-based element access; traverses the TypeScript Index using JS equality semantics to locate the label, then returns the stored JS value."
},
{
"name": "cat",
"status": "ts-only-ineligible",
"reason": "Accessor property returning a CategoricalAccessor JS object that maintains a live reference to the parent Series instance."
},
{
"name": "copy",
"status": "ts-only-ineligible",
"reason": "Returns a deep copy of the Series by constructing a new TypeScript Series instance with cloned data array and Index; no numeric computation."
},
{
"name": "corr",
"status": "ts-only-ineligible",
"reason": "Computes Pearson correlation requiring index alignment between two Series objects, JS label-based pairing for matched values, and NA-aware accumulation over aligned pairs."
},
{
"name": "count",
"status": "ts-only-ineligible",
"reason": "Counts non-null values by filtering through JavaScript null/undefined/NaN identity checks; result is a scalar with no heavy numeric computation."
},
{
"name": "div",
"status": "ts-only-ineligible",
"reason": "Performs element-wise true division with optional index alignment when the operand is a Series, requiring JS label-based alignment, dtype promotion, and NA propagation through JavaScript missing-value identity semantics."
},
{
"name": "dropna",
"status": "ts-only-ineligible",
"reason": "Removes null/undefined/NaN entries and returns a new Series with a filtered TypeScript Index preserving original labels."
},
{
"name": "dt",
"status": "ts-only-ineligible",
"reason": "Accessor property returning a DatetimeAccessor JS object that maintains a live reference to the parent Series instance."
},
{
"name": "empty",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "eq",
"status": "ts-only-ineligible",
"reason": "Element-wise equality comparison returning Series<boolean>; requires JS label-based index alignment and NA-aware comparison that returns null for missing pairs."
},
{
"name": "ewm",
"status": "ts-only-ineligible",
"reason": "Factory method that constructs a TypeScript EWM (exponentially-weighted moving) object; EWM requires per-element recursive alpha weighting tied to JS runtime state."
},
{
"name": "expanding",
"status": "ts-only-ineligible",
"reason": "Factory method that constructs and returns a TypeScript Expanding window object; no computation is performed until an aggregation method is called."
},
{
"name": "fillna",
"status": "ts-only-ineligible",
"reason": "Replaces missing values (null/undefined/NaN) per JS identity semantics; returns a new Series with TypeScript Index and same labels."
},
{
"name": "filter",
"status": "ts-only-ineligible",
"reason": "Filters rows by a boolean Series or boolean array; returns a new Series with a filtered TypeScript Index preserving original labels."
},
{
"name": "flags",
"status": "ts-only-ineligible",
"reason": "Property getter that constructs and returns a TypeScript Flags object wrapping the Series metadata; no array computation."
},
{
"name": "floordiv",
"status": "ts-only-ineligible",
"reason": "Performs element-wise floor division with JS label-based index alignment when the operand is a Series; dtype promotion and NA propagation require JavaScript runtime semantics."
},
{
"name": "ge",
"status": "ts-only-ineligible",
"reason": "Element-wise greater-than-or-equal comparison returning Series<boolean>; requires JS label-based index alignment and NA-aware comparison with null propagation."
},
{
"name": "groupby",
"status": "ts-only-ineligible",
"reason": "Factory method constructing a TypeScript SeriesGroupBy object using a JavaScript Map for group key aggregation; group semantics require JS label identity."
},
{
"name": "gt",
"status": "ts-only-ineligible",
"reason": "Element-wise greater-than comparison returning Series<boolean>; requires JS label-based index alignment and NA-aware comparison with null propagation."
},
{
"name": "iat",
"status": "ts-only-ineligible",
"reason": "Integer-position element access; returns the raw JS stored value at index i without any numeric computation."
},
{
"name": "iloc",
"status": "ts-only-ineligible",
"reason": "Integer-position selection returning a scalar or new Series with TypeScript Index slice and JS array slicing semantics."
},
{
"name": "isin",
"status": "ts-only-ineligible",
"reason": "Checks membership using a JavaScript Set or array with JS triple-equals equality semantics for mixed-type scalar values."
},
{
"name": "isna",
"status": "ts-only-ineligible",
"reason": "Checks each element for null/undefined/NaN using JavaScript identity operators; returns a new Series<boolean> with TypeScript Index construction."
},
{
"name": "le",
"status": "ts-only-ineligible",
"reason": "Element-wise less-than-or-equal comparison returning Series<boolean>; requires JS label-based index alignment and NA-aware comparison with null propagation."
},
{
"name": "length",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "loc",
"status": "ts-only-ineligible",
"reason": "Label-based selection returning a scalar or new Series with TypeScript Index construction and JS label matching semantics."
},
{
"name": "lt",
"status": "ts-only-ineligible",
"reason": "Element-wise less-than comparison returning Series<boolean>; requires JS label-based index alignment and NA-aware comparison that returns null for missing pairs."
},
{
"name": "map",
"status": "ts-only-ineligible",
"reason": "Applies a JavaScript Map object or function to each element; arbitrary JS callback or Map lookup cannot cross the WASM/JS boundary."
},
{
"name": "max",
"status": "rust-wasm",
"wasm_function": "max_f64"
},
{
"name": "mean",
"status": "rust-wasm",
"wasm_function": "mean_f64"
},
{
"name": "median",
"status": "rust-wasm",
"wasm_function": "median_f64"
},
{
"name": "min",
"status": "rust-wasm",
"wasm_function": "min_f64"
},
{
"name": "mod",
"status": "ts-only-ineligible",
"reason": "Performs element-wise modulo with JS label-based index alignment when the operand is a Series; dtype promotion and NA propagation require JavaScript runtime semantics."
},
{
"name": "mul",
"status": "ts-only-ineligible",
"reason": "Performs element-wise multiplication with optional index alignment when the operand is a Series, requiring JS label-based alignment, dtype promotion, and NA propagation through JavaScript missing-value identity semantics."
},
{
"name": "ndim",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "ne",
"status": "ts-only-ineligible",
"reason": "Element-wise inequality comparison returning Series<boolean>; requires JS label-based index alignment and NA-aware comparison that returns null for missing pairs."
},
{
"name": "notna",
"status": "ts-only-ineligible",
"reason": "Checks each element for non-missing using JavaScript identity operators; returns a new Series<boolean> with TypeScript Index construction."
},
{
"name": "nunique",
"status": "ts-only-ineligible",
"reason": "Counts distinct non-null values using a JavaScript Set for deduplication with JS equality semantics; no heavy numeric computation."
},
{
"name": "pow",
"status": "ts-only-ineligible",
"reason": "Performs element-wise exponentiation with JS label-based index alignment when the operand is a Series; dtype promotion and NA propagation require JavaScript runtime semantics."
},
{
"name": "quantile",
"status": "ts-only-ineligible",
"reason": "Computes a quantile via linear interpolation on sorted non-null values using a float position index; semantics differ from median and require a separate Rust function not yet implemented."
},
{
"name": "rename",
"status": "ts-only-ineligible",
"reason": "Returns a new Series with a different name metadata property; pure TypeScript metadata operation with no array computation."
},
{
"name": "resetIndex",
"status": "ts-only-ineligible",
"reason": "Returns a new Series with a default RangeIndex, constructing new TypeScript RangeIndex and Series instances."
},
{
"name": "rolling",
"status": "ts-only-ineligible",
"reason": "Factory method that constructs and returns a TypeScript Rolling window object; no computation is performed until an aggregation method is called."
},
{
"name": "setIndex",
"status": "ts-only-ineligible",
"reason": "Replaces the Series index with a provided Index object; requires TypeScript Index validation and Series re-construction."
},
{
"name": "shape",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "size",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "sortIndex",
"status": "ts-only-ineligible",
"reason": "Sorts Series by its Index labels using JS label comparison with NA handling; constructs new TypeScript Index and Series from sorted permutation."
},
{
"name": "sortValues",
"status": "rust-wasm",
"wasm_function": "argsort_f64"
},
{
"name": "std",
"status": "rust-wasm",
"wasm_function": "std_f64"
},
{
"name": "str",
"status": "ts-only-ineligible",
"reason": "Accessor property returning a StringAccessor JS object that maintains a live reference to the parent Series instance."
},
{
"name": "sub",
"status": "ts-only-ineligible",
"reason": "Performs element-wise numeric subtraction with optional index alignment when the operand is a Series, requiring JS label-based alignment, dtype promotion, and NA propagation through JavaScript missing-value identity semantics."
},
{
"name": "sum",
"status": "rust-wasm",
"wasm_function": "sum_f64"
},
{
"name": "toArray",
"status": "ts-only-ineligible",
"reason": "Returns a JavaScript Array copy of the data values; pure JS object construction with no numeric computation."
},
{
"name": "toList",
"status": "ts-only-ineligible",
"reason": "Returns a JavaScript Array copy of the data values; pure JS object construction with no numeric computation."
},
{
"name": "toObject",
"status": "ts-only-ineligible",
"reason": "Serialises the Series to a plain JS object using index labels as keys; requires JS object construction and string coercion."
},
{
"name": "toString",
"status": "ts-only-ineligible",
"reason": "Formats the Series as a human-readable string using JS string interpolation and column-width alignment; no numeric computation."
},
{
"name": "unique",
"status": "ts-only-ineligible",
"reason": "Returns an array of distinct values using JavaScript Set deduplication; preserves JS equality semantics for mixed types."
},
{
"name": "valueCounts",
"status": "ts-only-ineligible",
"reason": "Builds a frequency map using a JavaScript Map, then constructs a sorted result Series with TypeScript Index; requires JS object semantics."
},
{
"name": "values",
"status": "ts-only-ineligible",
"reason": "Property getter returning the frozen JS array of raw data values; returns a reference to the internal TypeScript storage."
},
{
"name": "var",
"status": "rust-wasm",
"wasm_function": "var_f64"
},
{
"name": "withValues",
"status": "ts-only-ineligible",
"reason": "Returns a new Series with a different data array while preserving Index and metadata; pure TypeScript reconstruction with no numeric computation."
}
]
},
{
"name": "DataFrame",
"module": "core/frame",
"status": "ts-only-ineligible",
"reason": "High-level JS class with per-column label dispatch, method-chaining accessors, rolling/expanding/ewm subclasses, and deep interoperation with Series and TypeScript Index objects. Porting the class itself to WASM would require replacing the entire TypeScript implementation.",
"methods": [
{
"name": "apply",
"status": "ts-only-ineligible",
"reason": "Accepts an arbitrary JavaScript callback function as a parameter. JS functions cannot cross the WASM/JS boundary; the computation must stay in TypeScript."
},
{
"name": "assign",
"status": "ts-only-ineligible",
"reason": "Adds or replaces columns using a specification that can include JS callback functions or static values; requires JS object semantics for column label management."
},
{
"name": "col",
"status": "ts-only-ineligible",
"reason": "Returns a single column as a TypeScript Series with its Index preserved; column lookup uses JS label identity on the column Index."
},
{
"name": "corr",
"status": "ts-only-ineligible",
"reason": "Computes pairwise Pearson correlation over numeric columns; requires per-pair NA-aware accumulation, JS column label selection, dtype filtering for non-numeric columns, and result assembly into a new DataFrame."
},
{
"name": "count",
"status": "ts-only-ineligible",
"reason": "Counts non-null values per column using JavaScript identity checks; returns a Series with column labels as Index."
},
{
"name": "cov",
"status": "ts-only-ineligible",
"reason": "Computes pairwise sample covariance over numeric columns; requires per-pair NA-aware accumulation, JS column label selection, dtype filtering, and result assembly into a new DataFrame."
},
{
"name": "describe",
"status": "ts-only-ineligible",
"reason": "Computes descriptive statistics (count, mean, std, min, max) per column; returns a DataFrame with stat-name rows, requiring JS label construction."
},
{
"name": "drop",
"status": "ts-only-ineligible",
"reason": "Drops rows or columns by label using JS label identity; returns a new DataFrame with filtered TypeScript column and row Index objects."
},
{
"name": "dropna",
"status": "ts-only-ineligible",
"reason": "Drops rows or columns containing null/undefined/NaN using JS identity checks; returns a new DataFrame with filtered TypeScript Index objects."
},
{
"name": "empty",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "ewm",
"status": "ts-only-ineligible",
"reason": "Factory method constructing a TypeScript DataFrameEwm object; EWM requires per-element recursive alpha weighting tied to JS runtime state."
},
{
"name": "expanding",
"status": "ts-only-ineligible",
"reason": "Factory method constructing a TypeScript DataFrameExpanding object that wraps the DataFrame for expanding-window aggregations."
},
{
"name": "fillna",
"status": "ts-only-ineligible",
"reason": "Replaces missing values per column using JS identity checks; returns a new DataFrame with TypeScript Index and metadata preserved."
},
{
"name": "filter",
"status": "ts-only-ineligible",
"reason": "Selects rows by a boolean mask Series or array; returns a new DataFrame with filtered TypeScript row Index."
},
{
"name": "flags",
"status": "ts-only-ineligible",
"reason": "Property getter returning a TypeScript Flags object wrapping DataFrame metadata; no numeric computation."
},
{
"name": "get",
"status": "ts-only-ineligible",
"reason": "Returns a column as a TypeScript Series or scalar by JS label identity; requires column Index lookup."
},
{
"name": "groupby",
"status": "ts-only-ineligible",
"reason": "Factory method constructing a TypeScript DataFrameGroupBy object using JavaScript Map-based group key aggregation."
},
{
"name": "has",
"status": "ts-only-ineligible",
"reason": "Checks whether a column label exists using JS label identity on the column Index; returns a boolean scalar."
},
{
"name": "head",
"status": "ts-only-ineligible",
"reason": "Returns the first N rows as a new DataFrame; pure TypeScript slice with Index and column Index construction."
},
{
"name": "iloc",
"status": "ts-only-ineligible",
"reason": "Integer-position row/column selection returning a new DataFrame or scalar; requires TypeScript Index slicing and JS array operations."
},
{
"name": "isna",
"status": "ts-only-ineligible",
"reason": "Checks each element for null/undefined/NaN using JS identity operators; returns a new boolean DataFrame with TypeScript Index."
},
{
"name": "loc",
"status": "ts-only-ineligible",
"reason": "Label-based row/column selection returning a new DataFrame or scalar; requires TypeScript Index lookup with JS label identity."
},
{
"name": "max",
"status": "rust-wasm",
"wasm_function": "max_f64"
},
{
"name": "mean",
"status": "rust-wasm",
"wasm_function": "mean_f64"
},
{
"name": "min",
"status": "rust-wasm",
"wasm_function": "min_f64"
},
{
"name": "ndim",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "notna",
"status": "ts-only-ineligible",
"reason": "Checks each element for non-missing using JS identity operators; returns a new boolean DataFrame with TypeScript Index."
},
{
"name": "rename",
"status": "ts-only-ineligible",
"reason": "Returns a new DataFrame with renamed row or column labels; pure TypeScript Index construction with no numeric computation."
},
{
"name": "resetIndex",
"status": "ts-only-ineligible",
"reason": "Returns a new DataFrame with a default RangeIndex; pure TypeScript Index reconstruction."
},
{
"name": "rolling",
"status": "ts-only-ineligible",
"reason": "Factory method constructing a TypeScript DataFrameRolling object that wraps the DataFrame for sliding-window aggregations."
},
{
"name": "select",
"status": "ts-only-ineligible",
"reason": "Returns a new DataFrame with a subset of columns by label; requires TypeScript column Index construction and JS label identity."
},
{
"name": "setIndex",
"status": "ts-only-ineligible",
"reason": "Promotes a column to the row Index and returns a new DataFrame; requires TypeScript Index construction and column removal."
},
{
"name": "shape",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "size",
"status": "ts-only-ineligible",
"reason": "Property getter returning scalar metadata (size, shape, ndim, empty, flags, or similar) from the TypeScript instance; no array computation is involved."
},
{
"name": "sortIndex",
"status": "ts-only-ineligible",
"reason": "Sorts DataFrame rows by their Index labels using JS label comparison; constructs new TypeScript Index and DataFrame."
},
{
"name": "sortValues",
"status": "rust-wasm",
"wasm_function": "argsort_f64"
},
{
"name": "std",
"status": "rust-wasm",
"wasm_function": "std_f64"
},
{
"name": "sum",
"status": "rust-wasm",
"wasm_function": "sum_f64"
},
{
"name": "tail",
"status": "ts-only-ineligible",
"reason": "Returns the last N rows as a new DataFrame; pure TypeScript slice with Index construction."
},
{
"name": "toArray",
"status": "ts-only-ineligible",
"reason": "Serialises to a JavaScript object, array, or string using JS runtime formatting and object construction; no numeric computation suitable for WASM."
},
{
"name": "toDict",
"status": "ts-only-ineligible",
"reason": "Serialises to a JavaScript object, array, or string using JS runtime formatting and object construction; no numeric computation suitable for WASM."
},
{
"name": "toRecords",
"status": "ts-only-ineligible",
"reason": "Serialises to a JavaScript object, array, or string using JS runtime formatting and object construction; no numeric computation suitable for WASM."
},
{
"name": "toString",
"status": "ts-only-ineligible",
"reason": "Formats the DataFrame as a human-readable table using JS string interpolation; no numeric computation."
}
]
},
{
"name": "DataFrameRolling",
"module": "core/frame",
"status": "ts-only-ineligible",
"reason": "Inner class of DataFrame; window computation returns new DataFrame/Series instances and accepts JS callbacks.",
"methods": [
{
"name": "apply",
"status": "ts-only-ineligible",
"reason": "Accepts an arbitrary JavaScript callback function as a parameter. JS functions cannot cross the WASM/JS boundary; the computation must stay in TypeScript."
},
{
"name": "count",
"status": "ts-only-ineligible",
"reason": "Counts non-NaN values per window position per column; returns result as a DataFrame with TypeScript Index. Count has O(1) per-window skip semantics that bypass min_periods, requiring TypeScript control flow."
},
{
"name": "max",
"status": "rust-wasm",
"wasm_function": "rolling_max_f64"
},
{
"name": "mean",
"status": "rust-wasm",
"wasm_function": "rolling_mean_f64"
},
{
"name": "median",
"status": "rust-wasm",
"wasm_function": "rolling_median_f64"
},
{
"name": "min",
"status": "rust-wasm",
"wasm_function": "rolling_min_f64"
},
{
"name": "std",
"status": "rust-wasm",
"wasm_function": "rolling_std_f64"
},
{
"name": "sum",
"status": "rust-wasm",
"wasm_function": "rolling_sum_f64"
},
{
"name": "var",
"status": "rust-wasm",
"wasm_function": "rolling_var_f64"
}
]
},
{
"name": "DataFrameExpanding",
"module": "core/frame",
"status": "ts-only-ineligible",
"reason": "Inner class of DataFrame; same reasoning as DataFrameRolling.",
"methods": [
{
"name": "apply",
"status": "ts-only-ineligible",
"reason": "Accepts an arbitrary JavaScript callback function as a parameter. JS functions cannot cross the WASM/JS boundary; the computation must stay in TypeScript."
},
{
"name": "count",
"status": "ts-only-ineligible",
"reason": "Counts non-NaN values per window position per column; returns result as a DataFrame with TypeScript Index. Count has O(1) per-window skip semantics that bypass min_periods, requiring TypeScript control flow."
},
{
"name": "max",
"status": "rust-wasm",
"wasm_function": "expanding_max_f64"