@iyulab/u-insight 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "iyulab"
6
6
  ],
7
7
  "description": "Statistical analysis and data profiling engine with C FFI bindings.",
8
- "version": "0.4.0",
8
+ "version": "0.6.0",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/u_insight.d.ts CHANGED
@@ -33,6 +33,13 @@ export function dbscan(data_json: any, config_json: any): any;
33
33
  * Returns descriptive statistics for each column in a column-major dataset.
34
34
  *
35
35
  * # Input
36
+ *
37
+ * Accepts mixed-type columns (numbers, booleans, strings, null):
38
+ * ```json
39
+ * { "age": [30, 25, null], "name": ["Alice", "Bob", null], "active": [true, false, true] }
40
+ * ```
41
+ *
42
+ * Also accepts numeric-only columns (backward-compatible):
36
43
  * ```json
37
44
  * { "col1": [1.0, 2.0, 3.0], "col2": [4.0, 5.0, 6.0] }
38
45
  * ```
package/u_insight_bg.js CHANGED
@@ -47,6 +47,13 @@ export function dbscan(data_json, config_json) {
47
47
  * Returns descriptive statistics for each column in a column-major dataset.
48
48
  *
49
49
  * # Input
50
+ *
51
+ * Accepts mixed-type columns (numbers, booleans, strings, null):
52
+ * ```json
53
+ * { "age": [30, 25, null], "name": ["Alice", "Bob", null], "active": [true, false, true] }
54
+ * ```
55
+ *
56
+ * Also accepts numeric-only columns (backward-compatible):
50
57
  * ```json
51
58
  * { "col1": [1.0, 2.0, 3.0], "col2": [4.0, 5.0, 6.0] }
52
59
  * ```
@@ -384,6 +391,16 @@ export function __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6(arg0) {
384
391
  const ret = result;
385
392
  return ret;
386
393
  }
394
+ export function __wbg_instanceof_Map_f194b366846aca0c(arg0) {
395
+ let result;
396
+ try {
397
+ result = arg0 instanceof Map;
398
+ } catch (_) {
399
+ result = false;
400
+ }
401
+ const ret = result;
402
+ return ret;
403
+ }
387
404
  export function __wbg_instanceof_Uint8Array_740438561a5b956d(arg0) {
388
405
  let result;
389
406
  try {
@@ -452,12 +469,17 @@ export function __wbindgen_cast_0000000000000001(arg0) {
452
469
  const ret = arg0;
453
470
  return ret;
454
471
  }
455
- export function __wbindgen_cast_0000000000000002(arg0, arg1) {
472
+ export function __wbindgen_cast_0000000000000002(arg0) {
473
+ // Cast intrinsic for `I64 -> Externref`.
474
+ const ret = arg0;
475
+ return ret;
476
+ }
477
+ export function __wbindgen_cast_0000000000000003(arg0, arg1) {
456
478
  // Cast intrinsic for `Ref(String) -> Externref`.
457
479
  const ret = getStringFromWasm0(arg0, arg1);
458
480
  return ret;
459
481
  }
460
- export function __wbindgen_cast_0000000000000003(arg0) {
482
+ export function __wbindgen_cast_0000000000000004(arg0) {
461
483
  // Cast intrinsic for `U64 -> Externref`.
462
484
  const ret = BigInt.asUintN(64, arg0);
463
485
  return ret;
package/u_insight_bg.wasm CHANGED
Binary file