@nshiab/simple-data-analysis 5.20.6 → 5.20.7

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.
Files changed (1079) hide show
  1. package/esm/class/SimpleDB.d.ts +1 -1
  2. package/esm/class/SimpleDB.js +1 -1
  3. package/esm/class/SimpleTable.d.ts +1 -1
  4. package/esm/class/SimpleTable.js +2 -2
  5. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/Simple.d.ts.map +1 -0
  6. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleDB.d.ts.map +1 -0
  7. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleTable.d.ts +4636 -0
  8. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleTable.d.ts.map +1 -0
  9. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleTable.js +5614 -0
  10. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/accumulateQuery.d.ts.map +1 -0
  11. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/camelCase.d.ts.map +1 -0
  12. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/capitalize.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/checkVssIndexes.d.ts.map +1 -0
  14. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/cleanCache.d.ts.map +1 -0
  15. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/cleanPath.d.ts.map +1 -0
  16. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/cleanSQL.d.ts.map +1 -0
  17. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/concatenateRowQuery.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/convertForJS.d.ts.map +1 -0
  19. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/createDirectory.d.ts.map +1 -0
  20. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/csvFormat.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/dataToArrays.d.ts.map +1 -0
  22. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/extractTypes.d.ts.map +1 -0
  23. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/findGeoColumn.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/formatDate.d.ts.map +1 -0
  25. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/formatNumber.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getCombinations.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getExtension.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getIdenticalColumns.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getName.d.ts.map +1 -0
  30. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/hasGeometryColumn.d.ts.map +1 -0
  31. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/index.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/keepNumericalColumns.d.ts.map +1 -0
  33. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/logData.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/mergeOptions.d.ts.map +1 -0
  35. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/nestQuery.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/parseDuckDBType.d.ts.map +1 -0
  37. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/parseTypes.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/parseValue.d.ts.map +1 -0
  39. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/prettyDuration.d.ts.map +1 -0
  40. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/printTable.d.ts.map +1 -0
  41. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/queryDB.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/repeatRowsQuery.d.ts.map +1 -0
  43. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/rewind.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/runQuery.d.ts.map +1 -0
  45. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/setDbProps.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/stringToArray.d.ts.map +1 -0
  47. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/stringifyDates.d.ts.map +1 -0
  48. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/stringifyDatesInvert.d.ts.map +1 -0
  49. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/unifyColumns.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/unnestQuery.d.ts.map +1 -0
  51. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/wrapString.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/writeDataAsArrays.d.ts.map +1 -0
  53. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/writeGeoData.d.ts.map +1 -0
  54. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/writeIndexes.d.ts.map +1 -0
  55. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/index.d.ts.map +1 -0
  56. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/aggregateGeoQuery.d.ts.map +1 -0
  57. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/binsQuery.d.ts.map +1 -0
  58. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/bm25.d.ts.map +1 -0
  59. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/boundingBoxQuery.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cache.d.ts.map +1 -0
  61. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/capitalizeQuery.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneColumn.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneQuery.d.ts +6 -0
  64. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneQuery.d.ts.map +1 -0
  65. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneQuery.js +6 -0
  66. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/concatenateQuery.d.ts.map +1 -0
  67. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/convertQuery.d.ts.map +1 -0
  68. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/correlations.d.ts.map +1 -0
  69. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/correlationsQuery.d.ts.map +1 -0
  70. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/createFtsIndex.d.ts.map +1 -0
  71. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/createVssIndex.d.ts.map +1 -0
  72. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/crossJoinQuery.d.ts.map +1 -0
  73. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/distanceQuery.d.ts.map +1 -0
  74. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fill.d.ts.map +1 -0
  75. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fuzzyClean.d.ts.map +1 -0
  76. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fuzzyJoin.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fuzzyJoinQuery.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getBottom.d.ts.map +1 -0
  79. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getColumns.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getDescription.d.ts.map +1 -0
  81. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getFirstRow.d.ts.map +1 -0
  82. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getGeoData.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getLastRow.d.ts.map +1 -0
  84. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMax.d.ts.map +1 -0
  85. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMean.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMedian.d.ts.map +1 -0
  87. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMin.d.ts.map +1 -0
  88. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getNbCharacters.d.ts.map +1 -0
  89. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getNbRows.d.ts.map +1 -0
  90. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getQuantile.d.ts.map +1 -0
  91. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getSkew.d.ts.map +1 -0
  92. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getStdDev.d.ts.map +1 -0
  93. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getSum.d.ts.map +1 -0
  94. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getTableNames.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getTop.d.ts.map +1 -0
  96. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getTypes.d.ts.map +1 -0
  97. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getUniques.d.ts.map +1 -0
  98. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getValues.d.ts.map +1 -0
  99. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getVar.d.ts.map +1 -0
  100. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/insertRowsQuery.d.ts.map +1 -0
  101. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/join.d.ts.map +1 -0
  102. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/joinGeo.d.ts.map +1 -0
  103. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/joinGeoQuery.d.ts.map +1 -0
  104. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/joinQuery.d.ts.map +1 -0
  105. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/keepQuery.d.ts.map +1 -0
  106. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/linearRegressionQuery.d.ts.map +1 -0
  107. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/linearRegressions.d.ts.map +1 -0
  108. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/loadArray.d.ts.map +1 -0
  109. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/loadDataQuery.d.ts.map +1 -0
  110. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/loadSample.d.ts.map +1 -0
  111. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/lowerQuery.d.ts.map +1 -0
  112. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/normalizeQuery.d.ts.map +1 -0
  113. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/normalizeString.d.ts.map +1 -0
  114. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/outliersIQRQuery.d.ts.map +1 -0
  115. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/padQuery.d.ts.map +1 -0
  116. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/proportionsHorizontalQuery.d.ts.map +1 -0
  117. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/proportionsVerticalQuery.d.ts.map +1 -0
  118. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/quantilesQuery.d.ts.map +1 -0
  119. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/randomPointQuery.d.ts.map +1 -0
  120. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/ranksQuery.d.ts.map +1 -0
  121. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeDuplicatesQuery.d.ts.map +1 -0
  122. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeMissing.d.ts.map +1 -0
  123. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeMissingQuery.d.ts.map +1 -0
  124. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeQuery.d.ts.map +1 -0
  125. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/renameColumnQuery.d.ts.map +1 -0
  126. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/replaceNullsQuery.d.ts.map +1 -0
  127. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/replaceQuery.d.ts.map +1 -0
  128. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/rollingQuery.d.ts.map +1 -0
  129. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/roundQuery.d.ts.map +1 -0
  130. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/selectRowsQuery.d.ts.map +1 -0
  131. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/sortQuery.d.ts.map +1 -0
  132. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/splitSpread.d.ts.map +1 -0
  133. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/summarize.d.ts.map +1 -0
  134. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/summarizeQuery.d.ts.map +1 -0
  135. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/trimQuery.d.ts.map +1 -0
  136. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/truncateQuery.d.ts.map +1 -0
  137. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/upperQuery.d.ts.map +1 -0
  138. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/writeDataQuery.d.ts.map +1 -0
  139. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/writeGeoDataQuery.d.ts.map +1 -0
  140. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/zScoreQuery.d.ts.map +1 -0
  141. package/esm/methods/aiRowByRow.js +1 -1
  142. package/esm/methods/aiVectorSimilarity.js +1 -1
  143. package/esm/methods/hybridSearch.js +1 -1
  144. package/package.json +1 -1
  145. package/script/class/SimpleDB.d.ts +1 -1
  146. package/script/class/SimpleDB.js +1 -1
  147. package/script/class/SimpleTable.d.ts +1 -1
  148. package/script/class/SimpleTable.js +2 -2
  149. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/Simple.d.ts.map +1 -0
  150. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleDB.d.ts.map +1 -0
  151. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleTable.d.ts +4636 -0
  152. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleTable.d.ts.map +1 -0
  153. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/class/SimpleTable.js +5620 -0
  154. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/accumulateQuery.d.ts.map +1 -0
  155. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/camelCase.d.ts.map +1 -0
  156. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/capitalize.d.ts.map +1 -0
  157. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/checkVssIndexes.d.ts.map +1 -0
  158. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/cleanCache.d.ts.map +1 -0
  159. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/cleanPath.d.ts.map +1 -0
  160. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/cleanSQL.d.ts.map +1 -0
  161. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/concatenateRowQuery.d.ts.map +1 -0
  162. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/convertForJS.d.ts.map +1 -0
  163. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/createDirectory.d.ts.map +1 -0
  164. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/csvFormat.d.ts.map +1 -0
  165. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/dataToArrays.d.ts.map +1 -0
  166. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/extractTypes.d.ts.map +1 -0
  167. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/findGeoColumn.d.ts.map +1 -0
  168. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/formatDate.d.ts.map +1 -0
  169. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/formatNumber.d.ts.map +1 -0
  170. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getCombinations.d.ts.map +1 -0
  171. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getExtension.d.ts.map +1 -0
  172. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getIdenticalColumns.d.ts.map +1 -0
  173. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/getName.d.ts.map +1 -0
  174. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/hasGeometryColumn.d.ts.map +1 -0
  175. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/index.d.ts.map +1 -0
  176. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/keepNumericalColumns.d.ts.map +1 -0
  177. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/logData.d.ts.map +1 -0
  178. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/mergeOptions.d.ts.map +1 -0
  179. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/nestQuery.d.ts.map +1 -0
  180. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/parseDuckDBType.d.ts.map +1 -0
  181. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/parseTypes.d.ts.map +1 -0
  182. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/parseValue.d.ts.map +1 -0
  183. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/prettyDuration.d.ts.map +1 -0
  184. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/printTable.d.ts.map +1 -0
  185. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/queryDB.d.ts.map +1 -0
  186. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/repeatRowsQuery.d.ts.map +1 -0
  187. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/rewind.d.ts.map +1 -0
  188. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/runQuery.d.ts.map +1 -0
  189. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/setDbProps.d.ts.map +1 -0
  190. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/stringToArray.d.ts.map +1 -0
  191. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/stringifyDates.d.ts.map +1 -0
  192. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/stringifyDatesInvert.d.ts.map +1 -0
  193. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/unifyColumns.d.ts.map +1 -0
  194. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/unnestQuery.d.ts.map +1 -0
  195. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/wrapString.d.ts.map +1 -0
  196. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/writeDataAsArrays.d.ts.map +1 -0
  197. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/writeGeoData.d.ts.map +1 -0
  198. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/helpers/writeIndexes.d.ts.map +1 -0
  199. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/index.d.ts.map +1 -0
  200. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/aggregateGeoQuery.d.ts.map +1 -0
  201. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/binsQuery.d.ts.map +1 -0
  202. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/bm25.d.ts.map +1 -0
  203. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/boundingBoxQuery.d.ts.map +1 -0
  204. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cache.d.ts.map +1 -0
  205. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/capitalizeQuery.d.ts.map +1 -0
  206. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneColumn.d.ts.map +1 -0
  207. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneQuery.d.ts +6 -0
  208. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneQuery.d.ts.map +1 -0
  209. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/cloneQuery.js +9 -0
  210. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/concatenateQuery.d.ts.map +1 -0
  211. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/convertQuery.d.ts.map +1 -0
  212. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/correlations.d.ts.map +1 -0
  213. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/correlationsQuery.d.ts.map +1 -0
  214. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/createFtsIndex.d.ts.map +1 -0
  215. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/createVssIndex.d.ts.map +1 -0
  216. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/crossJoinQuery.d.ts.map +1 -0
  217. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/distanceQuery.d.ts.map +1 -0
  218. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fill.d.ts.map +1 -0
  219. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fuzzyClean.d.ts.map +1 -0
  220. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fuzzyJoin.d.ts.map +1 -0
  221. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/fuzzyJoinQuery.d.ts.map +1 -0
  222. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getBottom.d.ts.map +1 -0
  223. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getColumns.d.ts.map +1 -0
  224. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getDescription.d.ts.map +1 -0
  225. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getFirstRow.d.ts.map +1 -0
  226. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getGeoData.d.ts.map +1 -0
  227. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getLastRow.d.ts.map +1 -0
  228. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMax.d.ts.map +1 -0
  229. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMean.d.ts.map +1 -0
  230. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMedian.d.ts.map +1 -0
  231. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getMin.d.ts.map +1 -0
  232. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getNbCharacters.d.ts.map +1 -0
  233. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getNbRows.d.ts.map +1 -0
  234. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getQuantile.d.ts.map +1 -0
  235. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getSkew.d.ts.map +1 -0
  236. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getStdDev.d.ts.map +1 -0
  237. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getSum.d.ts.map +1 -0
  238. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getTableNames.d.ts.map +1 -0
  239. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getTop.d.ts.map +1 -0
  240. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getTypes.d.ts.map +1 -0
  241. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getUniques.d.ts.map +1 -0
  242. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getValues.d.ts.map +1 -0
  243. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/getVar.d.ts.map +1 -0
  244. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/insertRowsQuery.d.ts.map +1 -0
  245. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/join.d.ts.map +1 -0
  246. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/joinGeo.d.ts.map +1 -0
  247. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/joinGeoQuery.d.ts.map +1 -0
  248. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/joinQuery.d.ts.map +1 -0
  249. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/keepQuery.d.ts.map +1 -0
  250. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/linearRegressionQuery.d.ts.map +1 -0
  251. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/linearRegressions.d.ts.map +1 -0
  252. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/loadArray.d.ts.map +1 -0
  253. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/loadDataQuery.d.ts.map +1 -0
  254. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/loadSample.d.ts.map +1 -0
  255. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/lowerQuery.d.ts.map +1 -0
  256. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/normalizeQuery.d.ts.map +1 -0
  257. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/normalizeString.d.ts.map +1 -0
  258. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/outliersIQRQuery.d.ts.map +1 -0
  259. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/padQuery.d.ts.map +1 -0
  260. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/proportionsHorizontalQuery.d.ts.map +1 -0
  261. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/proportionsVerticalQuery.d.ts.map +1 -0
  262. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/quantilesQuery.d.ts.map +1 -0
  263. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/randomPointQuery.d.ts.map +1 -0
  264. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/ranksQuery.d.ts.map +1 -0
  265. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeDuplicatesQuery.d.ts.map +1 -0
  266. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeMissing.d.ts.map +1 -0
  267. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeMissingQuery.d.ts.map +1 -0
  268. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/removeQuery.d.ts.map +1 -0
  269. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/renameColumnQuery.d.ts.map +1 -0
  270. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/replaceNullsQuery.d.ts.map +1 -0
  271. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/replaceQuery.d.ts.map +1 -0
  272. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/rollingQuery.d.ts.map +1 -0
  273. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/roundQuery.d.ts.map +1 -0
  274. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/selectRowsQuery.d.ts.map +1 -0
  275. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/sortQuery.d.ts.map +1 -0
  276. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/splitSpread.d.ts.map +1 -0
  277. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/summarize.d.ts.map +1 -0
  278. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/summarizeQuery.d.ts.map +1 -0
  279. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/trimQuery.d.ts.map +1 -0
  280. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/truncateQuery.d.ts.map +1 -0
  281. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/upperQuery.d.ts.map +1 -0
  282. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/writeDataQuery.d.ts.map +1 -0
  283. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/writeGeoDataQuery.d.ts.map +1 -0
  284. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.5/src/methods/zScoreQuery.d.ts.map +1 -0
  285. package/script/methods/aiRowByRow.js +1 -1
  286. package/script/methods/aiVectorSimilarity.js +1 -1
  287. package/script/methods/hybridSearch.js +1 -1
  288. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/Simple.d.ts.map +0 -1
  289. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleDB.d.ts.map +0 -1
  290. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleTable.d.ts +0 -4616
  291. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleTable.d.ts.map +0 -1
  292. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleTable.js +0 -5596
  293. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/accumulateQuery.d.ts.map +0 -1
  294. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/camelCase.d.ts.map +0 -1
  295. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/capitalize.d.ts.map +0 -1
  296. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/checkVssIndexes.d.ts.map +0 -1
  297. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/cleanCache.d.ts.map +0 -1
  298. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/cleanPath.d.ts.map +0 -1
  299. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/cleanSQL.d.ts.map +0 -1
  300. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/concatenateRowQuery.d.ts.map +0 -1
  301. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/convertForJS.d.ts.map +0 -1
  302. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/createDirectory.d.ts.map +0 -1
  303. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/csvFormat.d.ts.map +0 -1
  304. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/dataToArrays.d.ts.map +0 -1
  305. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/extractTypes.d.ts.map +0 -1
  306. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/findGeoColumn.d.ts.map +0 -1
  307. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/formatDate.d.ts.map +0 -1
  308. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/formatNumber.d.ts.map +0 -1
  309. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getCombinations.d.ts.map +0 -1
  310. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getExtension.d.ts.map +0 -1
  311. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getIdenticalColumns.d.ts.map +0 -1
  312. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getName.d.ts.map +0 -1
  313. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/hasGeometryColumn.d.ts.map +0 -1
  314. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/index.d.ts.map +0 -1
  315. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/keepNumericalColumns.d.ts.map +0 -1
  316. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/logData.d.ts.map +0 -1
  317. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/mergeOptions.d.ts.map +0 -1
  318. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/nestQuery.d.ts.map +0 -1
  319. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/parseDuckDBType.d.ts.map +0 -1
  320. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/parseTypes.d.ts.map +0 -1
  321. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/parseValue.d.ts.map +0 -1
  322. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/prettyDuration.d.ts.map +0 -1
  323. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/printTable.d.ts.map +0 -1
  324. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/queryDB.d.ts.map +0 -1
  325. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/repeatRowsQuery.d.ts.map +0 -1
  326. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/rewind.d.ts.map +0 -1
  327. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/runQuery.d.ts.map +0 -1
  328. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/setDbProps.d.ts.map +0 -1
  329. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/stringToArray.d.ts.map +0 -1
  330. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/stringifyDates.d.ts.map +0 -1
  331. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/stringifyDatesInvert.d.ts.map +0 -1
  332. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/unifyColumns.d.ts.map +0 -1
  333. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/unnestQuery.d.ts.map +0 -1
  334. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/wrapString.d.ts.map +0 -1
  335. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/writeDataAsArrays.d.ts.map +0 -1
  336. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/writeGeoData.d.ts.map +0 -1
  337. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/writeIndexes.d.ts.map +0 -1
  338. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/index.d.ts.map +0 -1
  339. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/aggregateGeoQuery.d.ts.map +0 -1
  340. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/binsQuery.d.ts.map +0 -1
  341. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/bm25.d.ts.map +0 -1
  342. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/boundingBoxQuery.d.ts.map +0 -1
  343. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cache.d.ts.map +0 -1
  344. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/capitalizeQuery.d.ts.map +0 -1
  345. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneColumn.d.ts.map +0 -1
  346. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneQuery.d.ts +0 -4
  347. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneQuery.d.ts.map +0 -1
  348. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneQuery.js +0 -6
  349. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/concatenateQuery.d.ts.map +0 -1
  350. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/convertQuery.d.ts.map +0 -1
  351. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/correlations.d.ts.map +0 -1
  352. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/correlationsQuery.d.ts.map +0 -1
  353. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/createFtsIndex.d.ts.map +0 -1
  354. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/createVssIndex.d.ts.map +0 -1
  355. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/crossJoinQuery.d.ts.map +0 -1
  356. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/distanceQuery.d.ts.map +0 -1
  357. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fill.d.ts.map +0 -1
  358. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fuzzyClean.d.ts.map +0 -1
  359. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fuzzyJoin.d.ts.map +0 -1
  360. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fuzzyJoinQuery.d.ts.map +0 -1
  361. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getBottom.d.ts.map +0 -1
  362. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getColumns.d.ts.map +0 -1
  363. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getDescription.d.ts.map +0 -1
  364. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getFirstRow.d.ts.map +0 -1
  365. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getGeoData.d.ts.map +0 -1
  366. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getLastRow.d.ts.map +0 -1
  367. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMax.d.ts.map +0 -1
  368. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMean.d.ts.map +0 -1
  369. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMedian.d.ts.map +0 -1
  370. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMin.d.ts.map +0 -1
  371. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getNbCharacters.d.ts.map +0 -1
  372. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getNbRows.d.ts.map +0 -1
  373. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getQuantile.d.ts.map +0 -1
  374. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getSkew.d.ts.map +0 -1
  375. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getStdDev.d.ts.map +0 -1
  376. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getSum.d.ts.map +0 -1
  377. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getTableNames.d.ts.map +0 -1
  378. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getTop.d.ts.map +0 -1
  379. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getTypes.d.ts.map +0 -1
  380. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getUniques.d.ts.map +0 -1
  381. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getValues.d.ts.map +0 -1
  382. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getVar.d.ts.map +0 -1
  383. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/insertRowsQuery.d.ts.map +0 -1
  384. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/join.d.ts.map +0 -1
  385. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/joinGeo.d.ts.map +0 -1
  386. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/joinGeoQuery.d.ts.map +0 -1
  387. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/joinQuery.d.ts.map +0 -1
  388. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/keepQuery.d.ts.map +0 -1
  389. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/linearRegressionQuery.d.ts.map +0 -1
  390. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/linearRegressions.d.ts.map +0 -1
  391. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/loadArray.d.ts.map +0 -1
  392. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/loadDataQuery.d.ts.map +0 -1
  393. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/loadSample.d.ts.map +0 -1
  394. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/lowerQuery.d.ts.map +0 -1
  395. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/normalizeQuery.d.ts.map +0 -1
  396. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/normalizeString.d.ts.map +0 -1
  397. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/outliersIQRQuery.d.ts.map +0 -1
  398. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/padQuery.d.ts.map +0 -1
  399. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/proportionsHorizontalQuery.d.ts.map +0 -1
  400. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/proportionsVerticalQuery.d.ts.map +0 -1
  401. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/quantilesQuery.d.ts.map +0 -1
  402. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/randomPointQuery.d.ts.map +0 -1
  403. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/ranksQuery.d.ts.map +0 -1
  404. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeDuplicatesQuery.d.ts.map +0 -1
  405. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeMissing.d.ts.map +0 -1
  406. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeMissingQuery.d.ts.map +0 -1
  407. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeQuery.d.ts.map +0 -1
  408. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/renameColumnQuery.d.ts.map +0 -1
  409. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/replaceNullsQuery.d.ts.map +0 -1
  410. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/replaceQuery.d.ts.map +0 -1
  411. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/rollingQuery.d.ts.map +0 -1
  412. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/roundQuery.d.ts.map +0 -1
  413. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/selectRowsQuery.d.ts.map +0 -1
  414. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/sortQuery.d.ts.map +0 -1
  415. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/splitSpread.d.ts.map +0 -1
  416. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/summarize.d.ts.map +0 -1
  417. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/summarizeQuery.d.ts.map +0 -1
  418. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/trimQuery.d.ts.map +0 -1
  419. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/truncateQuery.d.ts.map +0 -1
  420. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/upperQuery.d.ts.map +0 -1
  421. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/writeDataQuery.d.ts.map +0 -1
  422. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/writeGeoDataQuery.d.ts.map +0 -1
  423. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/zScoreQuery.d.ts.map +0 -1
  424. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/Simple.d.ts.map +0 -1
  425. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleDB.d.ts.map +0 -1
  426. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleTable.d.ts +0 -4616
  427. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleTable.d.ts.map +0 -1
  428. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/class/SimpleTable.js +0 -5602
  429. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/accumulateQuery.d.ts.map +0 -1
  430. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/camelCase.d.ts.map +0 -1
  431. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/capitalize.d.ts.map +0 -1
  432. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/checkVssIndexes.d.ts.map +0 -1
  433. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/cleanCache.d.ts.map +0 -1
  434. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/cleanPath.d.ts.map +0 -1
  435. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/cleanSQL.d.ts.map +0 -1
  436. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/concatenateRowQuery.d.ts.map +0 -1
  437. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/convertForJS.d.ts.map +0 -1
  438. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/createDirectory.d.ts.map +0 -1
  439. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/csvFormat.d.ts.map +0 -1
  440. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/dataToArrays.d.ts.map +0 -1
  441. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/extractTypes.d.ts.map +0 -1
  442. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/findGeoColumn.d.ts.map +0 -1
  443. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/formatDate.d.ts.map +0 -1
  444. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/formatNumber.d.ts.map +0 -1
  445. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getCombinations.d.ts.map +0 -1
  446. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getExtension.d.ts.map +0 -1
  447. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getIdenticalColumns.d.ts.map +0 -1
  448. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/getName.d.ts.map +0 -1
  449. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/hasGeometryColumn.d.ts.map +0 -1
  450. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/index.d.ts.map +0 -1
  451. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/keepNumericalColumns.d.ts.map +0 -1
  452. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/logData.d.ts.map +0 -1
  453. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/mergeOptions.d.ts.map +0 -1
  454. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/nestQuery.d.ts.map +0 -1
  455. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/parseDuckDBType.d.ts.map +0 -1
  456. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/parseTypes.d.ts.map +0 -1
  457. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/parseValue.d.ts.map +0 -1
  458. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/prettyDuration.d.ts.map +0 -1
  459. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/printTable.d.ts.map +0 -1
  460. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/queryDB.d.ts.map +0 -1
  461. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/repeatRowsQuery.d.ts.map +0 -1
  462. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/rewind.d.ts.map +0 -1
  463. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/runQuery.d.ts.map +0 -1
  464. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/setDbProps.d.ts.map +0 -1
  465. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/stringToArray.d.ts.map +0 -1
  466. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/stringifyDates.d.ts.map +0 -1
  467. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/stringifyDatesInvert.d.ts.map +0 -1
  468. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/unifyColumns.d.ts.map +0 -1
  469. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/unnestQuery.d.ts.map +0 -1
  470. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/wrapString.d.ts.map +0 -1
  471. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/writeDataAsArrays.d.ts.map +0 -1
  472. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/writeGeoData.d.ts.map +0 -1
  473. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/helpers/writeIndexes.d.ts.map +0 -1
  474. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/index.d.ts.map +0 -1
  475. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/aggregateGeoQuery.d.ts.map +0 -1
  476. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/binsQuery.d.ts.map +0 -1
  477. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/bm25.d.ts.map +0 -1
  478. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/boundingBoxQuery.d.ts.map +0 -1
  479. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cache.d.ts.map +0 -1
  480. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/capitalizeQuery.d.ts.map +0 -1
  481. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneColumn.d.ts.map +0 -1
  482. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneQuery.d.ts +0 -4
  483. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneQuery.d.ts.map +0 -1
  484. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/cloneQuery.js +0 -9
  485. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/concatenateQuery.d.ts.map +0 -1
  486. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/convertQuery.d.ts.map +0 -1
  487. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/correlations.d.ts.map +0 -1
  488. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/correlationsQuery.d.ts.map +0 -1
  489. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/createFtsIndex.d.ts.map +0 -1
  490. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/createVssIndex.d.ts.map +0 -1
  491. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/crossJoinQuery.d.ts.map +0 -1
  492. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/distanceQuery.d.ts.map +0 -1
  493. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fill.d.ts.map +0 -1
  494. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fuzzyClean.d.ts.map +0 -1
  495. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fuzzyJoin.d.ts.map +0 -1
  496. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/fuzzyJoinQuery.d.ts.map +0 -1
  497. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getBottom.d.ts.map +0 -1
  498. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getColumns.d.ts.map +0 -1
  499. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getDescription.d.ts.map +0 -1
  500. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getFirstRow.d.ts.map +0 -1
  501. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getGeoData.d.ts.map +0 -1
  502. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getLastRow.d.ts.map +0 -1
  503. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMax.d.ts.map +0 -1
  504. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMean.d.ts.map +0 -1
  505. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMedian.d.ts.map +0 -1
  506. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getMin.d.ts.map +0 -1
  507. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getNbCharacters.d.ts.map +0 -1
  508. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getNbRows.d.ts.map +0 -1
  509. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getQuantile.d.ts.map +0 -1
  510. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getSkew.d.ts.map +0 -1
  511. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getStdDev.d.ts.map +0 -1
  512. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getSum.d.ts.map +0 -1
  513. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getTableNames.d.ts.map +0 -1
  514. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getTop.d.ts.map +0 -1
  515. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getTypes.d.ts.map +0 -1
  516. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getUniques.d.ts.map +0 -1
  517. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getValues.d.ts.map +0 -1
  518. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/getVar.d.ts.map +0 -1
  519. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/insertRowsQuery.d.ts.map +0 -1
  520. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/join.d.ts.map +0 -1
  521. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/joinGeo.d.ts.map +0 -1
  522. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/joinGeoQuery.d.ts.map +0 -1
  523. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/joinQuery.d.ts.map +0 -1
  524. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/keepQuery.d.ts.map +0 -1
  525. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/linearRegressionQuery.d.ts.map +0 -1
  526. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/linearRegressions.d.ts.map +0 -1
  527. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/loadArray.d.ts.map +0 -1
  528. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/loadDataQuery.d.ts.map +0 -1
  529. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/loadSample.d.ts.map +0 -1
  530. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/lowerQuery.d.ts.map +0 -1
  531. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/normalizeQuery.d.ts.map +0 -1
  532. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/normalizeString.d.ts.map +0 -1
  533. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/outliersIQRQuery.d.ts.map +0 -1
  534. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/padQuery.d.ts.map +0 -1
  535. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/proportionsHorizontalQuery.d.ts.map +0 -1
  536. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/proportionsVerticalQuery.d.ts.map +0 -1
  537. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/quantilesQuery.d.ts.map +0 -1
  538. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/randomPointQuery.d.ts.map +0 -1
  539. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/ranksQuery.d.ts.map +0 -1
  540. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeDuplicatesQuery.d.ts.map +0 -1
  541. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeMissing.d.ts.map +0 -1
  542. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeMissingQuery.d.ts.map +0 -1
  543. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/removeQuery.d.ts.map +0 -1
  544. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/renameColumnQuery.d.ts.map +0 -1
  545. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/replaceNullsQuery.d.ts.map +0 -1
  546. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/replaceQuery.d.ts.map +0 -1
  547. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/rollingQuery.d.ts.map +0 -1
  548. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/roundQuery.d.ts.map +0 -1
  549. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/selectRowsQuery.d.ts.map +0 -1
  550. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/sortQuery.d.ts.map +0 -1
  551. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/splitSpread.d.ts.map +0 -1
  552. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/summarize.d.ts.map +0 -1
  553. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/summarizeQuery.d.ts.map +0 -1
  554. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/trimQuery.d.ts.map +0 -1
  555. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/truncateQuery.d.ts.map +0 -1
  556. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/upperQuery.d.ts.map +0 -1
  557. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/writeDataQuery.d.ts.map +0 -1
  558. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/writeGeoDataQuery.d.ts.map +0 -1
  559. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.1.4/src/methods/zScoreQuery.d.ts.map +0 -1
  560. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/Simple.d.ts +0 -0
  561. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/Simple.js +0 -0
  562. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/SimpleDB.d.ts +0 -0
  563. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/SimpleDB.js +0 -0
  564. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/accumulateQuery.d.ts +0 -0
  565. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/accumulateQuery.js +0 -0
  566. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/camelCase.d.ts +0 -0
  567. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/camelCase.js +0 -0
  568. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/capitalize.d.ts +0 -0
  569. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/capitalize.js +0 -0
  570. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/checkVssIndexes.d.ts +0 -0
  571. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/checkVssIndexes.js +0 -0
  572. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanCache.d.ts +0 -0
  573. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanCache.js +0 -0
  574. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanPath.d.ts +0 -0
  575. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanPath.js +0 -0
  576. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanSQL.d.ts +0 -0
  577. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanSQL.js +0 -0
  578. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/concatenateRowQuery.d.ts +0 -0
  579. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/concatenateRowQuery.js +0 -0
  580. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/convertForJS.d.ts +0 -0
  581. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/convertForJS.js +0 -0
  582. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/createDirectory.d.ts +0 -0
  583. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/createDirectory.js +0 -0
  584. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/csvFormat.d.ts +0 -0
  585. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/csvFormat.js +0 -0
  586. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/dataToArrays.d.ts +0 -0
  587. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/dataToArrays.js +0 -0
  588. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/extractTypes.d.ts +0 -0
  589. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/extractTypes.js +0 -0
  590. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/findGeoColumn.d.ts +0 -0
  591. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/findGeoColumn.js +0 -0
  592. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatDate.d.ts +0 -0
  593. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatDate.js +0 -0
  594. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatNumber.d.ts +0 -0
  595. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatNumber.js +0 -0
  596. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getCombinations.d.ts +0 -0
  597. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getCombinations.js +0 -0
  598. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getExtension.d.ts +0 -0
  599. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getExtension.js +0 -0
  600. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getIdenticalColumns.d.ts +0 -0
  601. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getIdenticalColumns.js +0 -0
  602. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getName.d.ts +0 -0
  603. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getName.js +0 -0
  604. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/hasGeometryColumn.d.ts +0 -0
  605. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/hasGeometryColumn.js +0 -0
  606. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/index.d.ts +0 -0
  607. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/index.js +0 -0
  608. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/keepNumericalColumns.d.ts +0 -0
  609. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/keepNumericalColumns.js +0 -0
  610. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/logData.d.ts +0 -0
  611. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/logData.js +0 -0
  612. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/mergeOptions.d.ts +0 -0
  613. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/mergeOptions.js +0 -0
  614. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/nestQuery.d.ts +0 -0
  615. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/nestQuery.js +0 -0
  616. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseDuckDBType.d.ts +0 -0
  617. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseDuckDBType.js +0 -0
  618. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseTypes.d.ts +0 -0
  619. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseTypes.js +0 -0
  620. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseValue.d.ts +0 -0
  621. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseValue.js +0 -0
  622. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/prettyDuration.d.ts +0 -0
  623. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/prettyDuration.js +0 -0
  624. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/printTable.d.ts +0 -0
  625. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/printTable.js +0 -0
  626. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/queryDB.d.ts +0 -0
  627. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/queryDB.js +0 -0
  628. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/repeatRowsQuery.d.ts +0 -0
  629. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/repeatRowsQuery.js +0 -0
  630. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/rewind.d.ts +0 -0
  631. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/rewind.js +0 -0
  632. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/runQuery.d.ts +0 -0
  633. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/runQuery.js +0 -0
  634. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/setDbProps.d.ts +0 -0
  635. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/setDbProps.js +0 -0
  636. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringToArray.d.ts +0 -0
  637. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringToArray.js +0 -0
  638. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDates.d.ts +0 -0
  639. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDates.js +0 -0
  640. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDatesInvert.d.ts +0 -0
  641. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDatesInvert.js +0 -0
  642. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unifyColumns.d.ts +0 -0
  643. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unifyColumns.js +0 -0
  644. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unnestQuery.d.ts +0 -0
  645. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unnestQuery.js +0 -0
  646. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/wrapString.d.ts +0 -0
  647. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/wrapString.js +0 -0
  648. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeDataAsArrays.d.ts +0 -0
  649. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeDataAsArrays.js +0 -0
  650. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeGeoData.d.ts +0 -0
  651. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeGeoData.js +0 -0
  652. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeIndexes.d.ts +0 -0
  653. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeIndexes.js +0 -0
  654. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/index.d.ts +0 -0
  655. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/index.js +0 -0
  656. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/aggregateGeoQuery.d.ts +0 -0
  657. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/aggregateGeoQuery.js +0 -0
  658. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/binsQuery.d.ts +0 -0
  659. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/binsQuery.js +0 -0
  660. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/bm25.d.ts +0 -0
  661. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/bm25.js +0 -0
  662. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/boundingBoxQuery.d.ts +0 -0
  663. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/boundingBoxQuery.js +0 -0
  664. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cache.d.ts +0 -0
  665. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cache.js +0 -0
  666. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/capitalizeQuery.d.ts +0 -0
  667. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/capitalizeQuery.js +0 -0
  668. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cloneColumn.d.ts +0 -0
  669. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cloneColumn.js +0 -0
  670. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/concatenateQuery.d.ts +0 -0
  671. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/concatenateQuery.js +0 -0
  672. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/convertQuery.d.ts +0 -0
  673. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/convertQuery.js +0 -0
  674. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlations.d.ts +0 -0
  675. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlations.js +0 -0
  676. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlationsQuery.d.ts +0 -0
  677. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlationsQuery.js +0 -0
  678. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createFtsIndex.d.ts +0 -0
  679. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createFtsIndex.js +0 -0
  680. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createVssIndex.d.ts +0 -0
  681. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createVssIndex.js +0 -0
  682. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/crossJoinQuery.d.ts +0 -0
  683. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/crossJoinQuery.js +0 -0
  684. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/distanceQuery.d.ts +0 -0
  685. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/distanceQuery.js +0 -0
  686. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fill.d.ts +0 -0
  687. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fill.js +0 -0
  688. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyClean.d.ts +0 -0
  689. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyClean.js +0 -0
  690. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoin.d.ts +0 -0
  691. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoin.js +0 -0
  692. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoinQuery.d.ts +0 -0
  693. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoinQuery.js +0 -0
  694. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getBottom.d.ts +0 -0
  695. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getBottom.js +0 -0
  696. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getColumns.d.ts +0 -0
  697. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getColumns.js +0 -0
  698. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getDescription.d.ts +0 -0
  699. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getDescription.js +0 -0
  700. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getFirstRow.d.ts +0 -0
  701. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getFirstRow.js +0 -0
  702. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getGeoData.d.ts +0 -0
  703. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getGeoData.js +0 -0
  704. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getLastRow.d.ts +0 -0
  705. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getLastRow.js +0 -0
  706. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMax.d.ts +0 -0
  707. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMax.js +0 -0
  708. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMean.d.ts +0 -0
  709. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMean.js +0 -0
  710. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMedian.d.ts +0 -0
  711. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMedian.js +0 -0
  712. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMin.d.ts +0 -0
  713. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMin.js +0 -0
  714. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbCharacters.d.ts +0 -0
  715. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbCharacters.js +0 -0
  716. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbRows.d.ts +0 -0
  717. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbRows.js +0 -0
  718. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getQuantile.d.ts +0 -0
  719. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getQuantile.js +0 -0
  720. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSkew.d.ts +0 -0
  721. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSkew.js +0 -0
  722. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getStdDev.d.ts +0 -0
  723. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getStdDev.js +0 -0
  724. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSum.d.ts +0 -0
  725. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSum.js +0 -0
  726. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTableNames.d.ts +0 -0
  727. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTableNames.js +0 -0
  728. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTop.d.ts +0 -0
  729. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTop.js +0 -0
  730. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTypes.d.ts +0 -0
  731. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTypes.js +0 -0
  732. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getUniques.d.ts +0 -0
  733. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getUniques.js +0 -0
  734. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getValues.d.ts +0 -0
  735. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getValues.js +0 -0
  736. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getVar.d.ts +0 -0
  737. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getVar.js +0 -0
  738. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/insertRowsQuery.d.ts +0 -0
  739. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/insertRowsQuery.js +0 -0
  740. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/join.d.ts +0 -0
  741. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/join.js +0 -0
  742. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeo.d.ts +0 -0
  743. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeo.js +0 -0
  744. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeoQuery.d.ts +0 -0
  745. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeoQuery.js +0 -0
  746. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinQuery.d.ts +0 -0
  747. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinQuery.js +0 -0
  748. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/keepQuery.d.ts +0 -0
  749. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/keepQuery.js +0 -0
  750. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressionQuery.d.ts +0 -0
  751. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressionQuery.js +0 -0
  752. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressions.d.ts +0 -0
  753. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressions.js +0 -0
  754. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadArray.d.ts +0 -0
  755. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadArray.js +0 -0
  756. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadDataQuery.d.ts +0 -0
  757. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadDataQuery.js +0 -0
  758. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadSample.d.ts +0 -0
  759. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadSample.js +0 -0
  760. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/lowerQuery.d.ts +0 -0
  761. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/lowerQuery.js +0 -0
  762. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeQuery.d.ts +0 -0
  763. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeQuery.js +0 -0
  764. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeString.d.ts +0 -0
  765. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeString.js +0 -0
  766. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/outliersIQRQuery.d.ts +0 -0
  767. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/outliersIQRQuery.js +0 -0
  768. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/padQuery.d.ts +0 -0
  769. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/padQuery.js +0 -0
  770. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsHorizontalQuery.d.ts +0 -0
  771. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsHorizontalQuery.js +0 -0
  772. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsVerticalQuery.d.ts +0 -0
  773. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsVerticalQuery.js +0 -0
  774. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/quantilesQuery.d.ts +0 -0
  775. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/quantilesQuery.js +0 -0
  776. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/randomPointQuery.d.ts +0 -0
  777. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/randomPointQuery.js +0 -0
  778. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/ranksQuery.d.ts +0 -0
  779. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/ranksQuery.js +0 -0
  780. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeDuplicatesQuery.d.ts +0 -0
  781. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeDuplicatesQuery.js +0 -0
  782. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissing.d.ts +0 -0
  783. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissing.js +0 -0
  784. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissingQuery.d.ts +0 -0
  785. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissingQuery.js +0 -0
  786. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeQuery.d.ts +0 -0
  787. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeQuery.js +0 -0
  788. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/renameColumnQuery.d.ts +0 -0
  789. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/renameColumnQuery.js +0 -0
  790. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceNullsQuery.d.ts +0 -0
  791. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceNullsQuery.js +0 -0
  792. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceQuery.d.ts +0 -0
  793. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceQuery.js +0 -0
  794. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/rollingQuery.d.ts +0 -0
  795. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/rollingQuery.js +0 -0
  796. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/roundQuery.d.ts +0 -0
  797. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/roundQuery.js +0 -0
  798. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/selectRowsQuery.d.ts +0 -0
  799. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/selectRowsQuery.js +0 -0
  800. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/sortQuery.d.ts +0 -0
  801. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/sortQuery.js +0 -0
  802. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/splitSpread.d.ts +0 -0
  803. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/splitSpread.js +0 -0
  804. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarize.d.ts +0 -0
  805. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarize.js +0 -0
  806. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarizeQuery.d.ts +0 -0
  807. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarizeQuery.js +0 -0
  808. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/trimQuery.d.ts +0 -0
  809. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/trimQuery.js +0 -0
  810. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/truncateQuery.d.ts +0 -0
  811. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/truncateQuery.js +0 -0
  812. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/upperQuery.d.ts +0 -0
  813. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/upperQuery.js +0 -0
  814. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeDataQuery.d.ts +0 -0
  815. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeDataQuery.js +0 -0
  816. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeGeoDataQuery.d.ts +0 -0
  817. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeGeoDataQuery.js +0 -0
  818. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/zScoreQuery.d.ts +0 -0
  819. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/zScoreQuery.js +0 -0
  820. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/Simple.d.ts +0 -0
  821. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/Simple.js +0 -0
  822. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/SimpleDB.d.ts +0 -0
  823. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/class/SimpleDB.js +0 -0
  824. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/accumulateQuery.d.ts +0 -0
  825. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/accumulateQuery.js +0 -0
  826. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/camelCase.d.ts +0 -0
  827. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/camelCase.js +0 -0
  828. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/capitalize.d.ts +0 -0
  829. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/capitalize.js +0 -0
  830. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/checkVssIndexes.d.ts +0 -0
  831. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/checkVssIndexes.js +0 -0
  832. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanCache.d.ts +0 -0
  833. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanCache.js +0 -0
  834. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanPath.d.ts +0 -0
  835. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanPath.js +0 -0
  836. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanSQL.d.ts +0 -0
  837. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/cleanSQL.js +0 -0
  838. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/concatenateRowQuery.d.ts +0 -0
  839. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/concatenateRowQuery.js +0 -0
  840. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/convertForJS.d.ts +0 -0
  841. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/convertForJS.js +0 -0
  842. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/createDirectory.d.ts +0 -0
  843. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/createDirectory.js +0 -0
  844. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/csvFormat.d.ts +0 -0
  845. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/csvFormat.js +0 -0
  846. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/dataToArrays.d.ts +0 -0
  847. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/dataToArrays.js +0 -0
  848. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/extractTypes.d.ts +0 -0
  849. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/extractTypes.js +0 -0
  850. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/findGeoColumn.d.ts +0 -0
  851. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/findGeoColumn.js +0 -0
  852. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatDate.d.ts +0 -0
  853. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatDate.js +0 -0
  854. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatNumber.d.ts +0 -0
  855. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/formatNumber.js +0 -0
  856. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getCombinations.d.ts +0 -0
  857. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getCombinations.js +0 -0
  858. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getExtension.d.ts +0 -0
  859. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getExtension.js +0 -0
  860. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getIdenticalColumns.d.ts +0 -0
  861. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getIdenticalColumns.js +0 -0
  862. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getName.d.ts +0 -0
  863. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/getName.js +0 -0
  864. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/hasGeometryColumn.d.ts +0 -0
  865. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/hasGeometryColumn.js +0 -0
  866. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/index.d.ts +0 -0
  867. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/index.js +0 -0
  868. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/keepNumericalColumns.d.ts +0 -0
  869. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/keepNumericalColumns.js +0 -0
  870. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/logData.d.ts +0 -0
  871. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/logData.js +0 -0
  872. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/mergeOptions.d.ts +0 -0
  873. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/mergeOptions.js +0 -0
  874. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/nestQuery.d.ts +0 -0
  875. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/nestQuery.js +0 -0
  876. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseDuckDBType.d.ts +0 -0
  877. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseDuckDBType.js +0 -0
  878. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseTypes.d.ts +0 -0
  879. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseTypes.js +0 -0
  880. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseValue.d.ts +0 -0
  881. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/parseValue.js +0 -0
  882. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/prettyDuration.d.ts +0 -0
  883. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/prettyDuration.js +0 -0
  884. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/printTable.d.ts +0 -0
  885. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/printTable.js +0 -0
  886. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/queryDB.d.ts +0 -0
  887. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/queryDB.js +0 -0
  888. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/repeatRowsQuery.d.ts +0 -0
  889. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/repeatRowsQuery.js +0 -0
  890. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/rewind.d.ts +0 -0
  891. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/rewind.js +0 -0
  892. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/runQuery.d.ts +0 -0
  893. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/runQuery.js +0 -0
  894. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/setDbProps.d.ts +0 -0
  895. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/setDbProps.js +0 -0
  896. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringToArray.d.ts +0 -0
  897. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringToArray.js +0 -0
  898. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDates.d.ts +0 -0
  899. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDates.js +0 -0
  900. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDatesInvert.d.ts +0 -0
  901. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/stringifyDatesInvert.js +0 -0
  902. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unifyColumns.d.ts +0 -0
  903. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unifyColumns.js +0 -0
  904. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unnestQuery.d.ts +0 -0
  905. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/unnestQuery.js +0 -0
  906. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/wrapString.d.ts +0 -0
  907. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/wrapString.js +0 -0
  908. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeDataAsArrays.d.ts +0 -0
  909. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeDataAsArrays.js +0 -0
  910. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeGeoData.d.ts +0 -0
  911. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeGeoData.js +0 -0
  912. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeIndexes.d.ts +0 -0
  913. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/helpers/writeIndexes.js +0 -0
  914. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/index.d.ts +0 -0
  915. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/index.js +0 -0
  916. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/aggregateGeoQuery.d.ts +0 -0
  917. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/aggregateGeoQuery.js +0 -0
  918. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/binsQuery.d.ts +0 -0
  919. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/binsQuery.js +0 -0
  920. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/bm25.d.ts +0 -0
  921. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/bm25.js +0 -0
  922. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/boundingBoxQuery.d.ts +0 -0
  923. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/boundingBoxQuery.js +0 -0
  924. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cache.d.ts +0 -0
  925. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cache.js +0 -0
  926. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/capitalizeQuery.d.ts +0 -0
  927. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/capitalizeQuery.js +0 -0
  928. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cloneColumn.d.ts +0 -0
  929. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/cloneColumn.js +0 -0
  930. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/concatenateQuery.d.ts +0 -0
  931. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/concatenateQuery.js +0 -0
  932. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/convertQuery.d.ts +0 -0
  933. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/convertQuery.js +0 -0
  934. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlations.d.ts +0 -0
  935. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlations.js +0 -0
  936. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlationsQuery.d.ts +0 -0
  937. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/correlationsQuery.js +0 -0
  938. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createFtsIndex.d.ts +0 -0
  939. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createFtsIndex.js +0 -0
  940. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createVssIndex.d.ts +0 -0
  941. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/createVssIndex.js +0 -0
  942. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/crossJoinQuery.d.ts +0 -0
  943. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/crossJoinQuery.js +0 -0
  944. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/distanceQuery.d.ts +0 -0
  945. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/distanceQuery.js +0 -0
  946. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fill.d.ts +0 -0
  947. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fill.js +0 -0
  948. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyClean.d.ts +0 -0
  949. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyClean.js +0 -0
  950. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoin.d.ts +0 -0
  951. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoin.js +0 -0
  952. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoinQuery.d.ts +0 -0
  953. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/fuzzyJoinQuery.js +0 -0
  954. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getBottom.d.ts +0 -0
  955. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getBottom.js +0 -0
  956. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getColumns.d.ts +0 -0
  957. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getColumns.js +0 -0
  958. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getDescription.d.ts +0 -0
  959. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getDescription.js +0 -0
  960. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getFirstRow.d.ts +0 -0
  961. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getFirstRow.js +0 -0
  962. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getGeoData.d.ts +0 -0
  963. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getGeoData.js +0 -0
  964. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getLastRow.d.ts +0 -0
  965. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getLastRow.js +0 -0
  966. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMax.d.ts +0 -0
  967. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMax.js +0 -0
  968. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMean.d.ts +0 -0
  969. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMean.js +0 -0
  970. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMedian.d.ts +0 -0
  971. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMedian.js +0 -0
  972. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMin.d.ts +0 -0
  973. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getMin.js +0 -0
  974. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbCharacters.d.ts +0 -0
  975. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbCharacters.js +0 -0
  976. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbRows.d.ts +0 -0
  977. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getNbRows.js +0 -0
  978. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getQuantile.d.ts +0 -0
  979. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getQuantile.js +0 -0
  980. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSkew.d.ts +0 -0
  981. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSkew.js +0 -0
  982. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getStdDev.d.ts +0 -0
  983. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getStdDev.js +0 -0
  984. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSum.d.ts +0 -0
  985. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getSum.js +0 -0
  986. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTableNames.d.ts +0 -0
  987. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTableNames.js +0 -0
  988. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTop.d.ts +0 -0
  989. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTop.js +0 -0
  990. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTypes.d.ts +0 -0
  991. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getTypes.js +0 -0
  992. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getUniques.d.ts +0 -0
  993. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getUniques.js +0 -0
  994. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getValues.d.ts +0 -0
  995. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getValues.js +0 -0
  996. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getVar.d.ts +0 -0
  997. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/getVar.js +0 -0
  998. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/insertRowsQuery.d.ts +0 -0
  999. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/insertRowsQuery.js +0 -0
  1000. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/join.d.ts +0 -0
  1001. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/join.js +0 -0
  1002. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeo.d.ts +0 -0
  1003. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeo.js +0 -0
  1004. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeoQuery.d.ts +0 -0
  1005. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinGeoQuery.js +0 -0
  1006. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinQuery.d.ts +0 -0
  1007. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/joinQuery.js +0 -0
  1008. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/keepQuery.d.ts +0 -0
  1009. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/keepQuery.js +0 -0
  1010. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressionQuery.d.ts +0 -0
  1011. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressionQuery.js +0 -0
  1012. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressions.d.ts +0 -0
  1013. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/linearRegressions.js +0 -0
  1014. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadArray.d.ts +0 -0
  1015. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadArray.js +0 -0
  1016. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadDataQuery.d.ts +0 -0
  1017. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadDataQuery.js +0 -0
  1018. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadSample.d.ts +0 -0
  1019. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/loadSample.js +0 -0
  1020. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/lowerQuery.d.ts +0 -0
  1021. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/lowerQuery.js +0 -0
  1022. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeQuery.d.ts +0 -0
  1023. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeQuery.js +0 -0
  1024. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeString.d.ts +0 -0
  1025. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/normalizeString.js +0 -0
  1026. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/outliersIQRQuery.d.ts +0 -0
  1027. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/outliersIQRQuery.js +0 -0
  1028. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/padQuery.d.ts +0 -0
  1029. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/padQuery.js +0 -0
  1030. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsHorizontalQuery.d.ts +0 -0
  1031. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsHorizontalQuery.js +0 -0
  1032. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsVerticalQuery.d.ts +0 -0
  1033. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/proportionsVerticalQuery.js +0 -0
  1034. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/quantilesQuery.d.ts +0 -0
  1035. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/quantilesQuery.js +0 -0
  1036. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/randomPointQuery.d.ts +0 -0
  1037. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/randomPointQuery.js +0 -0
  1038. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/ranksQuery.d.ts +0 -0
  1039. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/ranksQuery.js +0 -0
  1040. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeDuplicatesQuery.d.ts +0 -0
  1041. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeDuplicatesQuery.js +0 -0
  1042. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissing.d.ts +0 -0
  1043. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissing.js +0 -0
  1044. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissingQuery.d.ts +0 -0
  1045. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeMissingQuery.js +0 -0
  1046. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeQuery.d.ts +0 -0
  1047. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/removeQuery.js +0 -0
  1048. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/renameColumnQuery.d.ts +0 -0
  1049. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/renameColumnQuery.js +0 -0
  1050. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceNullsQuery.d.ts +0 -0
  1051. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceNullsQuery.js +0 -0
  1052. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceQuery.d.ts +0 -0
  1053. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/replaceQuery.js +0 -0
  1054. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/rollingQuery.d.ts +0 -0
  1055. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/rollingQuery.js +0 -0
  1056. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/roundQuery.d.ts +0 -0
  1057. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/roundQuery.js +0 -0
  1058. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/selectRowsQuery.d.ts +0 -0
  1059. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/selectRowsQuery.js +0 -0
  1060. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/sortQuery.d.ts +0 -0
  1061. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/sortQuery.js +0 -0
  1062. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/splitSpread.d.ts +0 -0
  1063. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/splitSpread.js +0 -0
  1064. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarize.d.ts +0 -0
  1065. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarize.js +0 -0
  1066. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarizeQuery.d.ts +0 -0
  1067. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/summarizeQuery.js +0 -0
  1068. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/trimQuery.d.ts +0 -0
  1069. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/trimQuery.js +0 -0
  1070. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/truncateQuery.d.ts +0 -0
  1071. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/truncateQuery.js +0 -0
  1072. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/upperQuery.d.ts +0 -0
  1073. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/upperQuery.js +0 -0
  1074. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeDataQuery.d.ts +0 -0
  1075. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeDataQuery.js +0 -0
  1076. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeGeoDataQuery.d.ts +0 -0
  1077. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/writeGeoDataQuery.js +0 -0
  1078. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/zScoreQuery.d.ts +0 -0
  1079. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.1.4 → 0.1.5}/src/methods/zScoreQuery.js +0 -0
@@ -0,0 +1,4636 @@
1
+ import type SimpleDB from "./SimpleDB.js";
2
+ import Simple from "./Simple.js";
3
+ /**
4
+ * IMPORTANT: When extending this class, always use `this.sdb.newTable()` to
5
+ * create new tables instead of `new SimpleTable(...)` directly. This ensures
6
+ * subclasses that override `tableClass` on their parent `SimpleDB` get their
7
+ * own table type back.
8
+ *
9
+ * Represents a table within a SimpleDB database, capable of handling tabular, geospatial, and vector data.
10
+ * SimpleTable instances are typically created via a SimpleDB instance.
11
+ *
12
+ * @category Main
13
+ * @example
14
+ * ```ts
15
+ * // Create a SimpleDB instance (in-memory by default)
16
+ * const sdb = new SimpleDB();
17
+ *
18
+ * // Create a new table named "employees" within the database
19
+ * const employees = sdb.newTable("employees");
20
+ *
21
+ * // Load data from a CSV file into the "employees" table
22
+ * await employees.loadData("./employees.csv");
23
+ *
24
+ * // Log the first few rows of the "employees" table to the console
25
+ * await employees.logTable();
26
+ *
27
+ * // Close the database connection and free up resources
28
+ * await sdb.done();
29
+ * ```
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * // Handling geospatial data
34
+ * // Create a SimpleDB instance
35
+ * const sdb = new SimpleDB();
36
+ *
37
+ * // Create a new table for geospatial data
38
+ * const boundaries = sdb.newTable("boundaries");
39
+ *
40
+ * // Load geospatial data from a GeoJSON file
41
+ * await boundaries.loadGeoData("./boundaries.geojson");
42
+ *
43
+ * // Close the database connection
44
+ * await sdb.done();
45
+ * ```
46
+ */
47
+ export default class SimpleTable extends Simple {
48
+ /**
49
+ * Name of the table in the database.
50
+ *
51
+ * @category Properties
52
+ */
53
+ name: string;
54
+ /**
55
+ * The indexes of the table, if any.
56
+ *
57
+ * @defaultValue `[]`
58
+ * @category Properties
59
+ */
60
+ indexes: string[];
61
+ /**
62
+ * The SimpleDB instance that created this table.
63
+ *
64
+ * @category Properties
65
+ */
66
+ sdb: SimpleDB;
67
+ /**
68
+ * Creates an instance of SimpleTable.
69
+ *
70
+ * @param name - The name of the table.
71
+ * @param simpleDB - The SimpleDB instance that this table belongs to.
72
+ * @param options - An optional object with configuration options:
73
+ * @param options.debug - A boolean indicating whether to enable debug mode.
74
+ * @param options.nbRowsToLog - The number of rows to log when displaying table data.
75
+ * @param options.nbCharactersToLog - The maximum number of characters to log for strings. Useful to avoid logging large text content.
76
+ * @param options.types - A boolean indicating whether to include data types when logging a table.
77
+ * @category Constructor
78
+ */
79
+ constructor(name: string, simpleDB: SimpleDB, options?: {
80
+ debug?: boolean;
81
+ nbRowsToLog?: number;
82
+ nbCharactersToLog?: number;
83
+ types?: boolean;
84
+ });
85
+ /**
86
+ * Renames the current table.
87
+ *
88
+ * @param name - The new name for the table.
89
+ * @returns A promise that resolves when the table has been renamed.
90
+ * @category Table Management
91
+ *
92
+ * @example
93
+ * ```ts
94
+ * // Rename the table to "new_employees"
95
+ * await table.renameTable("new_employees");
96
+ * ```
97
+ */
98
+ renameTable(name: string): Promise<void>;
99
+ /**
100
+ * Sets the data types for columns in a new table. If the table already exists, it will be replaced.
101
+ * To convert the types of an existing table, use the `.convert()` method instead.
102
+ *
103
+ * @param types - An object specifying the column names and their target data types (JavaScript or SQL types).
104
+ * @returns A promise that resolves when the types have been set.
105
+ * @category Table Management
106
+ *
107
+ * @example
108
+ * ```ts
109
+ * // Set types for a new table
110
+ * await table.setTypes({
111
+ * name: "string",
112
+ * salary: "integer",
113
+ * raise: "float",
114
+ * });
115
+ * ```
116
+ */
117
+ setTypes(types: {
118
+ [key: string]: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean" | `geometry('${string}')` | `GEOMETRY('${string}')`;
119
+ }): Promise<void>;
120
+ /**
121
+ * Loads an array of JavaScript objects into the table.
122
+ *
123
+ * @param arrayOfObjects - An array of objects, where each object represents a row and its properties represent columns.
124
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
125
+ * @category Importing Data
126
+ *
127
+ * @example
128
+ * ```ts
129
+ * // Load data from an array of objects
130
+ * const data = [
131
+ * { letter: "a", number: 1 },
132
+ * { letter: "b", number: 2 }
133
+ * ];
134
+ * await table.loadArray(data);
135
+ * ```
136
+ */
137
+ loadArray(arrayOfObjects: {
138
+ [key: string]: unknown;
139
+ }[]): Promise<this>;
140
+ /**
141
+ * Loads data from one or more local or remote files into the table.
142
+ * Supported file formats include CSV, JSON, Parquet, and Excel.
143
+ *
144
+ * @param files - The path(s) or URL(s) of the file(s) containing the data to be loaded.
145
+ * @param options - An optional object with configuration options:
146
+ * @param options.fileType - The type of file to load ("csv", "dsv", "json", "parquet", "excel"). Defaults to being inferred from the file extension.
147
+ * @param options.autoDetect - A boolean indicating whether to automatically detect the data format. Defaults to `true`.
148
+ * @param options.limit - A number indicating the maximum number of rows to load. Defaults to all rows.
149
+ * @param options.fileName - A boolean indicating whether to include the file name as a new column in the loaded data. Defaults to `false`.
150
+ * @param options.unifyColumns - A boolean indicating whether to unify columns across multiple files when their structures differ. Missing columns will be filled with `NULL` values. Defaults to `false`.
151
+ * @param options.columnTypes - An object mapping column names to their expected data types. By default, types are inferred.
152
+ * @param options.columns - An array of column names to load. When provided, only the specified columns are loaded, reducing memory usage and improving load times. Not supported for Excel files — combining `columns` with Excel files throws an error. If an invalid column name is provided, DuckDB will throw its native error. An empty array behaves the same as omitting the option (loads all columns). Defaults to loading all columns.
153
+ * @param options.header - A boolean indicating whether the file has a header row. Applicable to CSV files. Defaults to `true`.
154
+ * @param options.allText - A boolean indicating whether all columns should be treated as text. Applicable to CSV files. Defaults to `false`.
155
+ * @param options.delim - The delimiter used in the file. Applicable to CSV and DSV files. By default, the delimiter is inferred.
156
+ * @param options.skip - The number of lines to skip at the beginning of the file. Applicable to CSV files. Defaults to `0`.
157
+ * @param options.nullPadding - If `true`, when a row has fewer columns than expected, the remaining columns on the right will be padded with `NULL` values. Defaults to `false`.
158
+ * @param options.ignoreErrors - If `true`, parsing errors encountered will be ignored, and rows with errors will be skipped. Defaults to `false`.
159
+ * @param options.compression - The compression type of the file. Applicable to CSV files. Defaults to `none`.
160
+ * @param options.strict - If `true`, an error will be thrown when encountering any issues. If `false`, structurally incorrect files will be parsed tentatively. Defaults to `true`.
161
+ * @param options.encoding - The encoding of the file. Applicable to CSV files. Defaults to `utf-8`.
162
+ * @param options.jsonFormat - The format of JSON files ("unstructured", "newlineDelimited", "array"). By default, the format is inferred.
163
+ * @param options.records - A boolean indicating whether each line in a newline-delimited JSON file represents a record. Applicable to JSON files. By default, it's inferred.
164
+ * @param options.sheet - A string indicating a specific sheet to import from an Excel file. By default, the first sheet is imported.
165
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
166
+ * @category Importing Data
167
+ *
168
+ * @example
169
+ * ```ts
170
+ * // Load data from a single local CSV file
171
+ * await table.loadData("./some-data.csv");
172
+ * ```
173
+ *
174
+ * @example
175
+ * ```ts
176
+ * // Load data from a remote Parquet file
177
+ * await table.loadData("https://some-website.com/some-data.parquet");
178
+ * ```
179
+ *
180
+ * @example
181
+ * ```ts
182
+ * // Load data from multiple local JSON files
183
+ * await table.loadData([
184
+ * "./some-data1.json",
185
+ * "./some-data2.json",
186
+ * "./some-data3.json"
187
+ * ]);
188
+ * ```
189
+ *
190
+ * @example
191
+ * ```ts
192
+ * // Load data from multiple remote Parquet files with column unification
193
+ * await table.loadData([
194
+ * "https://some-website.com/some-data1.parquet",
195
+ * "https://some-website.com/some-data2.parquet",
196
+ * "https://some-website.com/some-data3.parquet"
197
+ * ], { unifyColumns: true });
198
+ * ```
199
+ *
200
+ * @example
201
+ * ```ts
202
+ * // Load only specific columns from a CSV file
203
+ * await table.loadData("./employees.csv", { columns: ["name", "salary"] });
204
+ * ```
205
+ */
206
+ loadData(files: string | string[], options?: {
207
+ fileType?: "csv" | "dsv" | "json" | "parquet" | "excel";
208
+ autoDetect?: boolean;
209
+ limit?: number;
210
+ fileName?: boolean;
211
+ unifyColumns?: boolean;
212
+ columnTypes?: {
213
+ [key: string]: string;
214
+ };
215
+ columns?: string[];
216
+ header?: boolean;
217
+ allText?: boolean;
218
+ delim?: string;
219
+ skip?: number;
220
+ nullPadding?: boolean;
221
+ ignoreErrors?: boolean;
222
+ compression?: "none" | "gzip" | "zstd";
223
+ encoding?: string;
224
+ strict?: boolean;
225
+ jsonFormat?: "unstructured" | "newlineDelimited" | "array";
226
+ records?: boolean;
227
+ sheet?: string;
228
+ }): Promise<this>;
229
+ /**
230
+ * Loads data from all supported files (CSV, JSON, Parquet, Excel) within a local directory into the table.
231
+ *
232
+ * @param directory - The absolute path to the directory containing the data files.
233
+ * @param options - An optional object with configuration options:
234
+ * @param options.fileType - The type of file to load ("csv", "dsv", "json", "parquet", "excel"). Defaults to being inferred from the file extension.
235
+ * @param options.autoDetect - A boolean indicating whether to automatically detect the data format. Defaults to `true`.
236
+ * @param options.limit - A number indicating the maximum number of rows to load. Defaults to all rows.
237
+ * @param options.fileName - A boolean indicating whether to include the file name as a new column in the loaded data. Defaults to `false`.
238
+ * @param options.unifyColumns - A boolean indicating whether to unify columns across multiple files when their structures differ. Missing columns will be filled with `NULL` values. Defaults to `false`.
239
+ * @param options.columnTypes - An object mapping column names to their expected data types. By default, types are inferred.
240
+ * @param options.columns - An array of column names to load. When provided, only the specified columns are loaded, reducing memory usage and improving load times. Not supported for Excel files — combining `columns` with Excel files throws an error. If an invalid column name is provided, DuckDB will throw its native error. An empty array behaves the same as omitting the option (loads all columns). Defaults to loading all columns.
241
+ * @param options.header - A boolean indicating whether the file has a header row. Applicable to CSV files. Defaults to `true`.
242
+ * @param options.allText - A boolean indicating whether all columns should be treated as text. Applicable to CSV files. Defaults to `false`.
243
+ * @param options.delim - The delimiter used in the file. Applicable to CSV and DSV files. By default, the delimiter is inferred.
244
+ * @param options.skip - The number of lines to skip at the beginning of the file. Applicable to CSV files. Defaults to `0`.
245
+ * @param options.nullPadding - If `true`, when a row has fewer columns than expected, the remaining columns on the right will be padded with `NULL` values. Defaults to `false`.
246
+ * @param options.ignoreErrors - If `true`, parsing errors encountered will be ignored, and rows with errors will be skipped. Defaults to `false`.
247
+ * @param options.compression - The compression type of the file. Applicable to CSV files. Defaults to `none`.
248
+ * @param options.strict - If `true`, an error will be thrown when encountering any issues. If `false`, structurally incorrect files will be parsed tentatively. Defaults to `true`.
249
+ * @param options.encoding - The encoding of the files. Applicable to CSV files. Defaults to `utf-8`.
250
+ * @param options.jsonFormat - The format of JSON files ("unstructured", "newlineDelimited", "array"). By default, the format is inferred.
251
+ * @param options.records - A boolean indicating whether each line in a newline-delimited JSON file represents a record. Applicable to JSON files. By default, it's inferred.
252
+ * @param options.sheet - A string indicating a specific sheet to import from an Excel file. By default, the first sheet is imported.
253
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
254
+ * @category Importing Data
255
+ *
256
+ * @example
257
+ * ```ts
258
+ * // Load all supported data files from the "./data/" directory
259
+ * await table.loadDataFromDirectory("./data/");
260
+ * ```
261
+ *
262
+ * @example
263
+ * ```ts
264
+ * // Load only specific columns from all CSV files in a directory
265
+ * await table.loadDataFromDirectory("./data/", { columns: ["name", "salary"] });
266
+ * ```
267
+ */
268
+ loadDataFromDirectory(directory: string, options?: {
269
+ fileType?: "csv" | "dsv" | "json" | "parquet" | "excel";
270
+ autoDetect?: boolean;
271
+ limit?: number;
272
+ fileName?: boolean;
273
+ unifyColumns?: boolean;
274
+ columnTypes?: {
275
+ [key: string]: string;
276
+ };
277
+ columns?: string[];
278
+ header?: boolean;
279
+ allText?: boolean;
280
+ delim?: string;
281
+ skip?: number;
282
+ nullPadding?: boolean;
283
+ ignoreErrors?: boolean;
284
+ compression?: "none" | "gzip" | "zstd";
285
+ encoding?: "utf-8" | "utf-16" | "latin-1";
286
+ strict?: boolean;
287
+ jsonFormat?: "unstructured" | "newlineDelimited" | "array";
288
+ records?: boolean;
289
+ sheet?: string;
290
+ }): Promise<this>;
291
+ /**
292
+ * Loads geospatial data from an external file or URL into the table.
293
+ *
294
+ * @param file - The URL or absolute path to the external file containing the geospatial data.
295
+ * @param options - An optional object with configuration options:
296
+ * @param options.toWGS84 - If `true`, the method will attempt to reproject the data to WGS84.
297
+ * @returns A promise that resolves to the SimpleTable instance after the geospatial data has been loaded.
298
+ * @category Geospatial
299
+ *
300
+ * @example
301
+ * ```ts
302
+ * // Load geospatial data from a URL
303
+ * await table.loadGeoData("https://some-website.com/some-data.geojson");
304
+ * ```
305
+ *
306
+ * @example
307
+ * ```ts
308
+ * // Load geospatial data from a local file
309
+ * await table.loadGeoData("./some-data.geojson");
310
+ * ```
311
+ *
312
+ * @example
313
+ * ```ts
314
+ * // Load geospatial data from a shapefile (with relevant files in the same folder) and reproject to WGS84
315
+ * await table.loadGeoData("./some-data/some-data.shp", { toWGS84: true });
316
+ * ```
317
+ *
318
+ * @example
319
+ * ```ts
320
+ * // Load geospatial data from a zipped shapefile and reproject to WGS84
321
+ * await table.loadGeoData("./some-data.shp.zip", { toWGS84: true });
322
+ * ```
323
+ */
324
+ loadGeoData(file: string, options?: {
325
+ toWGS84?: boolean;
326
+ }): Promise<this>;
327
+ /**
328
+ * Creates a full-text search (FTS) index on a specified text column using DuckDB's [FTS extension](https://duckdb.org/docs/stable/core_extensions/full_text_search).
329
+ *
330
+ * If an FTS index already exists on the table, this method will skip creation and log a message (when verbose is enabled), unless the `overwrite` option is set to `true`.
331
+ *
332
+ * @param columnId - The name of the column containing unique identifiers for each row.
333
+ * @param columnText - The name of the column containing the text to index.
334
+ * @param options - An optional object with configuration options:
335
+ * @param options.stemmer - The language stemmer to apply for word normalization. Supports multiple languages or "none" to disable stemming. Defaults to 'porter'.
336
+ * @param options.stopwords - The table containing the stopwords to use for the FTS index. Supports multiple languages or "none" to disable stopwords. Defaults to "english".
337
+ * @param options.overwrite - If `true`, recreates the index even if it already exists. Defaults to `false`.
338
+ * @param options.verbose - If `true`, logs additional debugging information, including index creation status. Defaults to `false`.
339
+ * @returns A promise that resolves to the SimpleTable instance for method chaining.
340
+ * @category Text Search
341
+ *
342
+ * @example
343
+ * ```ts
344
+ * // Load a dataset and create an FTS index
345
+ * await table.loadData("recipes.parquet");
346
+ *
347
+ * // Create FTS index for later searches
348
+ * await table.createFtsIndex("Dish", "Recipe");
349
+ * ```
350
+ *
351
+ * @param columnId - The column containing the document identifiers.
352
+ * @param columnText - The column containing the text to search.
353
+ * @param options - An optional object with configuration options:
354
+ * @param options.stemmer - The stemmer to use for the FTS index. Supports multiple languages or "none" to disable stemming. Defaults to "porter".
355
+ * @param options.stopwords - The table containing the stopwords to use for the FTS index. Supports multiple languages or "none" to disable stopwords. Defaults to "english".
356
+ * @param options.ignore - The regular expression of patterns to be ignored. Defaults to "(\\.|[^a-z])+".
357
+ * @param options.stripAccents - A boolean indicating whether to remove accents. Defaults to true.
358
+ * @param options.lower - A boolean indicating whether to convert all text to lowercase. Defaults to true.
359
+ * @param options.overwrite - A boolean indicating whether to overwrite the existing FTS index. Defaults to false.
360
+ * @param options.verbose - A boolean indicating whether to log additional information. Defaults to false.
361
+ *
362
+ * @example
363
+ * ```ts
364
+ * // Create an index with a specific language stemmer
365
+ * await table.createFtsIndex("Dish", "Recipe", {
366
+ * stemmer: "french",
367
+ * });
368
+ * ```
369
+ *
370
+ * @example
371
+ * ```ts
372
+ * // Recreate an existing index with different settings
373
+ * await table.createFtsIndex("Dish", "Recipe", {
374
+ * stemmer: "english",
375
+ * overwrite: true,
376
+ * });
377
+ * ```
378
+ *
379
+ * @example
380
+ * ```ts
381
+ * // Create index with verbose logging
382
+ * await table.createFtsIndex("Dish", "Recipe", {
383
+ * verbose: true,
384
+ * });
385
+ * // Logs: "Creating FTS index on 'Recipe' column..."
386
+ * // Logs: "FTS index created successfully."
387
+ * ```
388
+ */
389
+ createFtsIndex(columnId: string, columnText: string, options?: {
390
+ stemmer?: "arabic" | "basque" | "catalan" | "danish" | "dutch" | "english" | "finnish" | "french" | "german" | "greek" | "hindi" | "hungarian" | "indonesian" | "irish" | "italian" | "lithuanian" | "nepali" | "norwegian" | "porter" | "portuguese" | "romanian" | "russian" | "serbian" | "spanish" | "swedish" | "tamil" | "turkish" | "none";
391
+ stopwords?: string;
392
+ ignore?: string;
393
+ stripAccents?: boolean;
394
+ lower?: boolean;
395
+ overwrite?: boolean;
396
+ verbose?: boolean;
397
+ }): Promise<this>;
398
+ /**
399
+ * Creates a vector similarity search (VSS) index on a specified column using DuckDB's [VSS extension](https://duckdb.org/docs/stable/extensions/vss).
400
+ *
401
+ * If a VSS index already exists on the table, this method will skip creation and log a message (when verbose is enabled), unless the `overwrite` option is set to `true`.
402
+ *
403
+ * @param column - The name of the column containing vector embeddings (must be FLOAT array type).
404
+ * @param options - An optional object with configuration options:
405
+ * @param options.overwrite - If `true`, drops and recreates the index even if it already exists. Defaults to `false`.
406
+ * @param options.verbose - If `true`, logs additional debugging information, including index creation status. Defaults to `false`.
407
+ * @param options.efConstruction - The number of candidate vertices to consider during index construction. Higher values result in more accurate indexes but increase build time. Defaults to 128.
408
+ * @param options.efSearch - The number of candidate vertices to consider during search. Higher values result in more accurate searches but increase search time. Defaults to 64.
409
+ * @param options.M - The maximum number of neighbors to keep for each vertex in the graph. Higher values result in more accurate indexes but increase build time and memory usage. Defaults to 16.
410
+ * @returns A promise that resolves to the SimpleTable instance for method chaining.
411
+ * @category Vector Search
412
+ *
413
+ * @example
414
+ * ```ts
415
+ * // Load data that already contains an embedding column
416
+ * await table.loadData("data.csv");
417
+ *
418
+ * // Create VSS index for fast similarity searches
419
+ * await table.createVssIndex("embedding_column");
420
+ * ```
421
+ *
422
+ * @example
423
+ * ```ts
424
+ * // Recreate an existing index
425
+ * await table.createVssIndex("embedding_column", {
426
+ * overwrite: true,
427
+ * });
428
+ * ```
429
+ *
430
+ * @example
431
+ * ```ts
432
+ * // Create index with verbose logging
433
+ * await table.createVssIndex("embedding_column", {
434
+ * verbose: true,
435
+ * });
436
+ * // Logs: "Creating VSS index on 'embedding_column' column..."
437
+ * // Logs: "VSS index created successfully."
438
+ * ```
439
+ *
440
+ * @example
441
+ * ```ts
442
+ * // Create index with custom HNSW parameters for higher accuracy
443
+ * await table.createVssIndex("embedding_column", {
444
+ * efConstruction: 256,
445
+ * efSearch: 128,
446
+ * M: 32,
447
+ * });
448
+ * ```
449
+ */
450
+ createVssIndex(column: string, options?: {
451
+ overwrite?: boolean;
452
+ verbose?: boolean;
453
+ efConstruction?: number;
454
+ efSearch?: number;
455
+ M?: number;
456
+ }): Promise<this>;
457
+ /**
458
+ * Performs BM25 full-text search on a text column to find the most relevant results. BM25 (Best Matching 25) is a ranking function used in information retrieval that calculates relevance scores based on term frequency and document length normalization.
459
+ *
460
+ * This method creates a full-text search index on the specified text column using DuckDB's [FTS extension](https://duckdb.org/docs/stable/core_extensions/full_text_search). If the index already exists, it will be reused unless the `overwriteIndex` option is set to `true`.
461
+ *
462
+ * @param text - The search query text to match against the text column.
463
+ * @param columnId - The name of the column containing unique identifiers for each row.
464
+ * @param columnText - The name of the column containing the text to search.
465
+ * @param nbResults - The number of top-ranked results to return.
466
+ * @param options - An optional object with configuration options:
467
+ * @param options.outputTable - The name of a new table where the results will be stored. If not provided, the current table will be replaced with the search results.
468
+ * @param options.verbose - If `true`, logs additional debugging information, including FTS index creation status. Defaults to `false`.
469
+ * @param options.k - The BM25 k parameter controlling term frequency saturation. Defaults to 1.2.
470
+ * @param options.b - The BM25 b parameter controlling document length normalization (0-1 range). Defaults to 0.75.
471
+ * @param options.stemmer - The language stemmer to apply for word normalization. Supports multiple languages or "none" to disable stemming. Defaults to 'porter'.
472
+ * @param options.stopwords - The table containing the stopwords to use for the FTS index. Supports multiple languages or "none" to disable stopwords. Defaults to "english".
473
+ * @param options.ignore - The regular expression of patterns to be ignored. Defaults to "(\\.|[^a-z])+".
474
+ * @param options.stripAccents - A boolean indicating whether to remove accents. Defaults to true.
475
+ * @param options.lower - A boolean indicating whether to convert all text to lowercase. Defaults to true.
476
+ * @param options.overwriteIndex - If `true`, drops and recreates the FTS index even if it already exists. Defaults to `false`.
477
+ * @param options.conjunctive - If `true`, all terms in the query string must be present in order for a document to be retrieved. Defaults to `false`.
478
+ * @param options.minScore - A threshold to filter out results with a BM25 score below this value.
479
+ * @param options.scoreColumn - If provided, the BM25 score will be included in the output table under this column name.
480
+ * @returns A promise that resolves to a SimpleTable instance containing the search results, ordered by relevance (best matches first).
481
+ * @category Text Search
482
+ *
483
+ * @example
484
+ * ```ts
485
+ * // Load a dataset of recipes
486
+ * await table.loadData("recipes.parquet");
487
+ *
488
+ * // Search for "italian food" in the Recipe column, return top 5 results
489
+ * await table.bm25("italian food", "Dish", "Recipe", 5);
490
+ *
491
+ * // Check the results
492
+ * const dishes = await table.getValues("Dish");
493
+ * // Returns: ["Carbonara", "Pizza", "Risotto", "Tiramisu", "Escarole Soup"]
494
+ * ```
495
+ *
496
+ * @example
497
+ * ```ts
498
+ * // Search with a specific language stemmer
499
+ * await table.bm25("french food", "Dish", "Recipe", 5, {
500
+ * stemmer: "french",
501
+ * });
502
+ * ```
503
+ *
504
+ * @example
505
+ * ```ts
506
+ * // Recreate the index with different settings and perform search
507
+ * await table.bm25("italian food", "Dish", "Recipe", 5, {
508
+ * stemmer: "english",
509
+ * overwriteIndex: true,
510
+ * });
511
+ * ```
512
+ *
513
+ * @example
514
+ * ```ts
515
+ * // Save results to a new table without modifying the original
516
+ * const italianDishes = await table.bm25("italian food", "Dish", "Recipe", 5, {
517
+ * outputTable: "italian_results",
518
+ * });
519
+ *
520
+ * // Original table remains unchanged
521
+ * const allDishes = await table.getValues("Dish");
522
+ * console.log(allDishes.length); // 336 (all dishes)
523
+ *
524
+ * // New table contains only search results
525
+ * const italianOnly = await italianDishes.getValues("Dish");
526
+ * console.log(italianOnly.length); // 5 (top results)
527
+ * ```
528
+ *
529
+ * @example
530
+ * ```ts
531
+ * // Multiple searches reuse the same index for better performance
532
+ * // The first search creates the index
533
+ * const italian = await table.bm25("italian food", "Dish", "Recipe", 5, {
534
+ * outputTable: "italian",
535
+ * });
536
+ *
537
+ * // The second search reuses the existing index, so it's faster
538
+ * const french = await table.bm25("french food", "Dish", "Recipe", 5, {
539
+ * outputTable: "french",
540
+ * });
541
+ * ```
542
+ * * @example
543
+ * ```ts
544
+ * // Filter results by a minimum BM25 score and include the score in the output
545
+ * await table.bm25("spicy noodles", "Dish", "Recipe", 10, {
546
+ * minScore: 5.5,
547
+ * scoreColumn: "bm25_score"
548
+ * });
549
+ * ```
550
+ *
551
+ * @example
552
+ * ```ts
553
+ * // Use the conjunctive option to require all terms
554
+ * await table.bm25("italian sauce", "Dish", "Recipe", 5, {
555
+ * conjunctive: true,
556
+ * });
557
+ * ```
558
+ */
559
+ bm25(text: string, columnId: string, columnText: string, nbResults: number, options?: {
560
+ outputTable?: string;
561
+ verbose?: boolean;
562
+ k?: number;
563
+ b?: number;
564
+ stemmer?: "arabic" | "basque" | "catalan" | "danish" | "dutch" | "english" | "finnish" | "french" | "german" | "greek" | "hindi" | "hungarian" | "indonesian" | "irish" | "italian" | "lithuanian" | "nepali" | "norwegian" | "porter" | "portuguese" | "romanian" | "russian" | "serbian" | "spanish" | "swedish" | "tamil" | "turkish" | "none";
565
+ stopwords?: string;
566
+ ignore?: string;
567
+ stripAccents?: boolean;
568
+ lower?: boolean;
569
+ overwriteIndex?: boolean;
570
+ conjunctive?: boolean;
571
+ minScore?: number;
572
+ scoreColumn?: string;
573
+ }): Promise<this>;
574
+ /**
575
+ * Inserts rows, provided as an array of JavaScript objects, into the table.
576
+ *
577
+ * @param rows - An array of objects, where each object represents a row to be inserted and its properties correspond to column names.
578
+ * @returns A promise that resolves when the rows have been inserted.
579
+ * @category Importing Data
580
+ *
581
+ * @example
582
+ * ```ts
583
+ * // Insert new rows into the table
584
+ * const newRows = [
585
+ * { letter: "c", number: 3 },
586
+ * { letter: "d", number: 4 }
587
+ * ];
588
+ * await table.insertRows(newRows);
589
+ * ```
590
+ */
591
+ insertRows(rows: {
592
+ [key: string]: unknown;
593
+ }[]): Promise<void>;
594
+ /**
595
+ * Inserts all rows from one or more other tables into this table. If tables do not have the same columns, an error will be thrown unless the `unifyColumns` option is set to `true`.
596
+ *
597
+ * @param tablesToInsert - The name(s) of the table(s) or SimpleTable instance(s) from which rows will be inserted.
598
+ * @param options - An optional object with configuration options:
599
+ * @param options.unifyColumns - A boolean indicating whether to unify the columns of the tables. If `true`, missing columns in a table will be filled with `NULL` values. Defaults to `false`.
600
+ * @returns A promise that resolves when the rows have been inserted.
601
+ * @category Importing Data
602
+ *
603
+ * @example
604
+ * ```ts
605
+ * // Insert all rows from 'tableB' into 'tableA'.
606
+ * await tableA.insertTables("tableB");
607
+ * ```
608
+ *
609
+ * @example
610
+ * ```ts
611
+ * // Insert all rows from 'tableB' and 'tableC' into 'tableA'.
612
+ * await tableA.insertTables(["tableB", "tableC"]);
613
+ * ```
614
+ *
615
+ * @example
616
+ * ```ts
617
+ * // Insert rows from multiple tables, unifying columns. Missing columns will be filled with NULL.
618
+ * await tableA.insertTables(["tableB", "tableC"], { unifyColumns: true });
619
+ * ```
620
+ */
621
+ insertTables(tablesToInsert: SimpleTable | SimpleTable[], options?: {
622
+ unifyColumns?: boolean;
623
+ }): Promise<void>;
624
+ /**
625
+ * Fetches sample data from the simple-data-analysis-core GitHub repository.
626
+ *
627
+ * @param sample - The name of the sample to load.
628
+ *
629
+ * Tabular data:
630
+ * - "fires": [firesCanada2023.csv](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/geodata/files/firesCanada2023.csv)
631
+ * - "recipes": [recipes.parquet](https://github.com/nshiab/simple-data-analysis-core/raw/refs/heads/main/test/data/files/recipes.parquet)
632
+ * - "temperatures": [dailyTemperatures.csv](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/data/files/dailyTemperatures.csv)
633
+ * - "temperaturesCities": [cities.csv](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/data/files/cities.csv)
634
+ *
635
+ * Geospatial data:
636
+ * - "canada": [CanadianProvincesAndTerritories.json](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/geodata/files/CanadianProvincesAndTerritories.json)
637
+ * - "firesGeo": [firesCanada2023.geojson](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/geodata/files/firesCanada2023.geojson)
638
+ *
639
+ * @category Importing Data
640
+ *
641
+ * @example
642
+ * ```ts
643
+ * // Load the fires sample data
644
+ * await table.loadSample("fires");
645
+ * ```
646
+ */
647
+ loadSample(sample: "fires" | "recipes" | "temperatures" | "temperaturesCities" | "canada" | "firesGeo"): Promise<this>;
648
+ /**
649
+ * Returns a new table with the same structure and data as this table. The data can be optionally filtered, limited to a specific number of rows, and offset.
650
+ *
651
+ * If `conditions`, `nbRows`, and `offset` are all used, they are applied in this order: `conditions` (WHERE clause) first, then `offset`, and finally `nbRows` (LIMIT).
652
+ *
653
+ * Note that cloning large tables can be a slow operation.
654
+ *
655
+ * @param nameOrOptions - Either a string specifying the name of the new table, or an optional object with configuration options. If not provided, a default name (e.g., "table1", "table2") will be generated.
656
+ * @param nameOrOptions.outputTable - The name of the new table to be created in the database. If not provided, a default name (e.g., "table1", "table2") will be generated.
657
+ * @param nameOrOptions.conditions - A SQL `WHERE` clause condition to filter the data during cloning. Defaults to no condition (clones all rows).
658
+ * @param nameOrOptions.columns - An array of column names to include in the cloned table. If not provided, all columns will be included.
659
+ * @param nameOrOptions.nbRows - The number of rows to include in the cloned table. If provided, only the first X rows (potentially after filtering and offset) will be cloned.
660
+ * @param nameOrOptions.offset - The number of rows to skip before starting to clone rows.
661
+ * @returns A promise that resolves to a new table instance containing the cloned data.
662
+ * @category Table Management
663
+ *
664
+ * @example
665
+ * ```ts
666
+ * // Clone tableA to a new table with a default generated name (e.g., "table1")
667
+ * const tableB = await tableA.cloneTable();
668
+ * ```
669
+ *
670
+ * @example
671
+ * ```ts
672
+ * // Clone tableA to a new table named "my_cloned_table" using string parameter
673
+ * const tableB = await tableA.cloneTable("my_cloned_table");
674
+ * ```
675
+ *
676
+ * @example
677
+ * ```ts
678
+ * // Clone tableA to a new table named "my_cloned_table" using options object
679
+ * const tableB = await tableA.cloneTable({ outputTable: "my_cloned_table" });
680
+ * ```
681
+ *
682
+ * @example
683
+ * ```ts
684
+ * // Clone tableA, including only rows where 'column1' is greater than 10
685
+ * const tableB = await tableA.cloneTable({ conditions: `column1 > 10` });
686
+ * ```
687
+ *
688
+ * @example
689
+ * ```ts
690
+ * // Clone tableA with only specific columns
691
+ * const tableB = await tableA.cloneTable({ columns: ["name", "age", "city"] });
692
+ * ```
693
+ *
694
+ * @example
695
+ * ```ts
696
+ * // Clone only the first 10 rows of tableA
697
+ * const tableB = await tableA.cloneTable({ nbRows: 10 });
698
+ * ```
699
+ *
700
+ * @example
701
+ * ```ts
702
+ * // Clone 10 rows after skipping the first 5 rows
703
+ * const tableB = await tableA.cloneTable({ nbRows: 10, offset: 5 });
704
+ * ```
705
+ *
706
+ * @example
707
+ * ```ts
708
+ * // Clone tableA to a specific table name with filtered data, specific columns, and limited rows
709
+ * const tableB = await tableA.cloneTable({
710
+ * outputTable: "filtered_data",
711
+ * conditions: `status = 'active' AND created_date >= '2023-01-01'`,
712
+ * columns: ["name", "status", "created_date"],
713
+ * nbRows: 100
714
+ * });
715
+ * ```
716
+ */
717
+ cloneTable(nameOrOptions?: string | {
718
+ outputTable?: string;
719
+ conditions?: string;
720
+ columns?: string | string[];
721
+ nbRows?: number;
722
+ offset?: number;
723
+ }): Promise<this>;
724
+ /**
725
+ * Clones an existing column in this table, creating a new column with identical values.
726
+ *
727
+ * @param originalColumn - The name of the original column to clone.
728
+ * @param newColumn - The name of the new column to be created.
729
+ * @returns A promise that resolves when the column has been cloned.
730
+ * @category Column Operations
731
+ *
732
+ * @example
733
+ * ```ts
734
+ * // Clone 'firstName' column as 'contactName'
735
+ * await table.cloneColumn("firstName", "contactName");
736
+ * ```
737
+ */
738
+ cloneColumn(originalColumn: string, newColumn: string): Promise<void>;
739
+ /**
740
+ * Clones a column in the table and offsets its values by a specified number of rows.
741
+ * This is useful for time-series analysis or comparing values across different time points.
742
+ *
743
+ * **Important:** The offset is applied based on the current row order in the table. For meaningful results, ensure your data is sorted appropriately (e.g., by date/time for time-series analysis) before calling this method.
744
+ *
745
+ * @param originalColumn - The name of the original column.
746
+ * @param newColumn - The name of the new column to be created with offset values.
747
+ * @param options - An optional object with configuration options:
748
+ * @param options.offset - The number of rows to offset the values. A positive number shifts values downwards (later rows), a negative number shifts values upwards (earlier rows). Defaults to `1`.
749
+ * @param options.categories - A string or an array of strings representing columns to partition the data by. The offset will be applied independently within each category.
750
+ * @returns A promise that resolves when the column has been cloned with offset values.
751
+ * @category Column Operations
752
+ *
753
+ * @example
754
+ * ```ts
755
+ * // Clone 'value' as 'previous_value', offsetting by 1 row (value of row N-1 goes to row N)
756
+ * await table.cloneColumnWithOffset("value", "previous_value");
757
+ * ```
758
+ *
759
+ * @example
760
+ * ```ts
761
+ * // Clone 'sales' as 'sales_2_days_ago', offsetting by 2 rows
762
+ * await table.cloneColumnWithOffset("sales", "sales_2_days_ago", { offset: 2 });
763
+ * ```
764
+ *
765
+ * @example
766
+ * ```ts
767
+ * // Clone 'temperature' as 'prev_temp_by_city', offsetting by 1 row within each 'city' category
768
+ * await table.cloneColumnWithOffset("temperature", "prev_temp_by_city", {
769
+ * offset: 1,
770
+ * categories: "city",
771
+ * });
772
+ * ```
773
+ *
774
+ * @example
775
+ * ```ts
776
+ * // Clone 'stock_price' as 'prev_price_by_stock_and_exchange', offsetting by 1 row within each 'stock_symbol' and 'exchange' category
777
+ * await table.cloneColumnWithOffset("stock_price", "prev_price_by_stock_and_exchange", {
778
+ * offset: 1,
779
+ * categories: ["stock_symbol", "exchange"],
780
+ * });
781
+ * ```
782
+ */
783
+ cloneColumnWithOffset(originalColumn: string, newColumn: string, options?: {
784
+ offset?: number;
785
+ categories?: string | string[];
786
+ }): Promise<void>;
787
+ /**
788
+ * Fills `NULL` values in specified columns. By default, each `NULL` is replaced with the last non-`NULL` value from the preceding row. When `interpolate` is `true`, `NULL` values are replaced using linear interpolation (or extrapolation at the ends). Pass `interpolateBy` with a real numeric or date column name to use it as the X-axis, so that interpolated values are proportional to the actual distances between X-axis values rather than treating every row as equidistant. When `interpolateBy` is set, `interpolate` is automatically assumed `true`.
789
+ *
790
+ * @param columns - The column(s) for which to fill `NULL` values.
791
+ * @param options - An optional object with configuration options:
792
+ * @param options.categories - A string or an array of strings representing columns to partition the data by. The fill will be applied independently within each category.
793
+ * @param options.interpolate - If `true`, replaces `NULL` values with linearly interpolated values using DuckDB's `fill()` window function. When `interpolateBy` is not set, row positions are used as the X-axis, treating rows as equidistant. For `NULL` values at the ends, linear extrapolation is used. Both the column values and the X-axis values must support arithmetic. If `false` or omitted, the previous non-`NULL` value is used instead. Automatically assumed `true` when `interpolateBy` is set.
794
+ * @param options.interpolateBy - A column name to use as the X-axis for interpolation instead of equidistant row positions. When provided, `interpolate` is automatically assumed `true`. Use this when rows are not evenly spaced (e.g., timestamps or non-uniform numeric indices) so that interpolated values are proportional to the actual distance between X-axis values.
795
+ * @returns A promise that resolves when the `NULL` values have been filled.
796
+ * @category Updating Data
797
+ *
798
+ * @example
799
+ * ```ts
800
+ * // Fill NULL values in 'column1' with the previous non-NULL value
801
+ * await table.fill("column1");
802
+ * ```
803
+ *
804
+ * @example
805
+ * ```ts
806
+ * // Fill NULL values in multiple columns
807
+ * await table.fill(["columnA", "columnB"]);
808
+ * ```
809
+ *
810
+ * @example
811
+ * ```ts
812
+ * // Fill NULL values in 'value' independently within each 'group'
813
+ * await table.fill("value", { categories: "group" });
814
+ * ```
815
+ *
816
+ * @example
817
+ * ```ts
818
+ * // Fill NULL values in 'value' using linear interpolation
819
+ * await table.fill("value", { interpolate: true });
820
+ * ```
821
+ *
822
+ * @example
823
+ * ```ts
824
+ * // Fill NULL values in 'value' using linear interpolation, independently within each 'group'
825
+ * await table.fill("value", { categories: "group", interpolate: true });
826
+ * ```
827
+ *
828
+ * @example
829
+ * ```ts
830
+ * // Fill NULL values in 'value' using linear interpolation proportional to 'x' distances
831
+ * await table.fill("value", { interpolate: true, interpolateBy: "x" });
832
+ * ```
833
+ *
834
+ * @example
835
+ * ```ts
836
+ * // interpolateBy implies interpolate: true, so this is equivalent to the previous example
837
+ * await table.fill("value", { interpolateBy: "x" });
838
+ * ```
839
+ */
840
+ fill(columns: string | string[], options?: {
841
+ categories?: string | string[];
842
+ interpolate?: boolean;
843
+ interpolateBy?: string;
844
+ }): Promise<void>;
845
+ /**
846
+ * Sorts the rows of the table based on specified column(s) and order(s).
847
+ * If no columns are specified, all columns are sorted from left to right in ascending order.
848
+ *
849
+ * @param order - An object mapping column names to their sorting order: `"asc"` for ascending or `"desc"` for descending. If `null`, all columns are sorted ascendingly.
850
+ * @param options - An optional object with configuration options:
851
+ * @param options.lang - An object mapping column names to language codes for collation (e.g., `{ column1: "fr" }`). See DuckDB Collations documentation for more details: https://duckdb.org/docs/sql/expressions/collations.
852
+ * @returns A promise that resolves when the table has been sorted.
853
+ * @category Restructuring Data
854
+ *
855
+ * @example
856
+ * ```ts
857
+ * // Sort all columns from left to right in ascending order
858
+ * await table.sort();
859
+ * ```
860
+ *
861
+ * @example
862
+ * ```ts
863
+ * // Sort 'column1' in ascending order
864
+ * await table.sort({ column1: "asc" });
865
+ * ```
866
+ *
867
+ * @example
868
+ * ```ts
869
+ * // Sort 'column1' ascendingly, then 'column2' descendingly
870
+ * await table.sort({ column1: "asc", column2: "desc" });
871
+ * ```
872
+ *
873
+ * @example
874
+ * ```ts
875
+ * // Sort 'column1' considering French accents
876
+ * await table.sort({ column1: "asc" }, { lang: { column1: "fr" } });
877
+ * ```
878
+ */
879
+ sort(order?: {
880
+ [key: string]: "asc" | "desc";
881
+ } | null, options?: {
882
+ lang?: {
883
+ [key: string]: string;
884
+ };
885
+ }): Promise<void>;
886
+ /**
887
+ * Selects specific columns in the table, removing all others.
888
+ *
889
+ * @param columns - The name or an array of names of the columns to be selected.
890
+ * @returns A promise that resolves when the columns have been selected.
891
+ * @category Selecting or Filtering Data
892
+ *
893
+ * @example
894
+ * ```ts
895
+ * // Select only the 'firstName' and 'lastName' columns, removing all other columns.
896
+ * await table.selectColumns(["firstName", "lastName"]);
897
+ * ```
898
+ *
899
+ * @example
900
+ * ```ts
901
+ * // Select only the 'productName' column.
902
+ * await table.selectColumns("productName");
903
+ * ```
904
+ */
905
+ selectColumns(columns: string | string[]): Promise<void>;
906
+ /**
907
+ * Skips the first `n` rows of the table, effectively removing them.
908
+ *
909
+ * @param nbRowsToSkip - The number of rows to skip from the beginning of the table.
910
+ * @returns A promise that resolves when the rows have been skipped.
911
+ * @category Selecting or Filtering Data
912
+ *
913
+ * @example
914
+ * ```ts
915
+ * // Skip the first 10 rows of the table
916
+ * await table.skip(10);
917
+ * ```
918
+ */
919
+ skip(nbRowsToSkip: number): Promise<void>;
920
+ /**
921
+ * Checks if a column with the specified name exists in the table.
922
+ *
923
+ * @param column - The name of the column to check.
924
+ * @returns A promise that resolves to `true` if the column exists, `false` otherwise.
925
+ * @category Column Operations
926
+ *
927
+ * @example
928
+ * ```ts
929
+ * // Check if the table has a column named "age"
930
+ * const hasAgeColumn = await table.hasColumn("age");
931
+ * console.log(hasAgeColumn); // Output: true or false
932
+ * ```
933
+ */
934
+ hasColumn(column: string): Promise<boolean>;
935
+ /**
936
+ * Selects random rows from the table, removing all others. You can optionally specify a seed to ensure repeatable sampling.
937
+ *
938
+ * @param quantity - The number of rows to select (e.g., `100`) or a percentage string (e.g., `"10%"`) specifying the sampling size.
939
+ * @param options - An optional object with configuration options:
940
+ * @param options.seed - A number specifying the seed for repeatable sampling. Using the same seed will always yield the same random rows. Defaults to a random seed.
941
+ * @returns A promise that resolves when the sampling is complete.
942
+ * @category Selecting or Filtering Data
943
+ *
944
+ * @example
945
+ * ```ts
946
+ * // Select 100 random rows from the table
947
+ * await table.sample(100);
948
+ * ```
949
+ *
950
+ * @example
951
+ * ```ts
952
+ * // Select 10% of the rows randomly
953
+ * await table.sample("10%");
954
+ * ```
955
+ *
956
+ * @example
957
+ * ```ts
958
+ * // Select random rows with a specific seed for repeatable results
959
+ * await table.sample("10%", { seed: 123 });
960
+ * ```
961
+ */
962
+ sample(quantity: number | string, options?: {
963
+ seed?: number;
964
+ }): Promise<void>;
965
+ /**
966
+ * Selects a specified number of rows from this table. An offset can be applied to skip initial rows, and the results can be output to a new table.
967
+ *
968
+ * @param count - The number of rows to select.
969
+ * @param options - An optional object with configuration options:
970
+ * @param options.offset - The number of rows to skip from the beginning of the table before selecting. Defaults to `0`.
971
+ * @param options.outputTable - If `true`, the selected rows will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be modified. Defaults to `false`.
972
+ * @returns A promise that resolves to a table instance containing the selected rows (either the modified current table or a new table).
973
+ * @category Selecting or Filtering Data
974
+ *
975
+ * @example
976
+ * ```ts
977
+ * // Select the first 100 rows of the current table
978
+ * await table.selectRows(100);
979
+ * ```
980
+ *
981
+ * @example
982
+ * ```ts
983
+ * // Select 100 rows after skipping the first 50 rows
984
+ * await table.selectRows(100, { offset: 50 });
985
+ * ```
986
+ *
987
+ * @example
988
+ * ```ts
989
+ * // Select 50 rows and store them in a new table with a generated name
990
+ * const newTable = await table.selectRows(50, { outputTable: true });
991
+ * ```
992
+ *
993
+ * @example
994
+ * ```ts
995
+ * // Select 75 rows and store them in a new table named "top_customers"
996
+ * const topCustomersTable = await table.selectRows(75, { outputTable: "top_customers" });
997
+ * ```
998
+ */
999
+ selectRows(count: number | string, options?: {
1000
+ offset?: number;
1001
+ outputTable?: string | boolean;
1002
+ }): Promise<this>;
1003
+ /**
1004
+ * Removes duplicate rows from this table, keeping only unique rows.
1005
+ * Note that the resulting data order might differ from the original.
1006
+ *
1007
+ * @param options - An optional object with configuration options:
1008
+ * @param options.on - A column name or an array of column names to consider when identifying duplicates. If specified, duplicates are determined based only on the values in these columns. If omitted, all columns are considered.
1009
+ * @returns A promise that resolves when the duplicate rows have been removed.
1010
+ * @category Selecting or Filtering Data
1011
+ *
1012
+ * @example
1013
+ * ```ts
1014
+ * // Remove duplicate rows based on all columns
1015
+ * await table.removeDuplicates();
1016
+ * ```
1017
+ *
1018
+ * @example
1019
+ * ```ts
1020
+ * // Remove duplicate rows based only on the 'email' column
1021
+ * await table.removeDuplicates({ on: "email" });
1022
+ * ```
1023
+ *
1024
+ * @example
1025
+ * ```ts
1026
+ * // Remove duplicate rows based on 'firstName' and 'lastName' columns
1027
+ * await table.removeDuplicates({ on: ["firstName", "lastName"] });
1028
+ * ```
1029
+ */
1030
+ removeDuplicates(options?: {
1031
+ on?: string | string[];
1032
+ }): Promise<void>;
1033
+ /**
1034
+ * Removes rows with missing values from this table.
1035
+ * By default, missing values include SQL `NULL`, as well as string representations like `"NULL"`, `"null"`, `"NaN"`, `"undefined"`, and empty strings `""`.
1036
+ *
1037
+ * @param options - An optional object with configuration options:
1038
+ * @param options.columns - A string or an array of strings specifying the columns to consider for missing values. If omitted, all columns are considered.
1039
+ * @param options.missingValues - An array of values to be treated as missing values instead of the default ones. Defaults to `["undefined", "NaN", "null", "NULL", ""]`.
1040
+ * @param options.invert - A boolean indicating whether to invert the condition. If `true`, only rows containing missing values will be kept. Defaults to `false`.
1041
+ * @returns A promise that resolves when the rows with missing values have been removed.
1042
+ * @category Selecting or Filtering Data
1043
+ *
1044
+ * @example
1045
+ * ```ts
1046
+ * // Remove rows with missing values in any column
1047
+ * await table.removeMissing();
1048
+ * ```
1049
+ *
1050
+ * @example
1051
+ * ```ts
1052
+ * // Remove rows with missing values only in 'firstName' or 'lastName' columns
1053
+ * await table.removeMissing({ columns: ["firstName", "lastName"] });
1054
+ * ```
1055
+ *
1056
+ * @example
1057
+ * ```ts
1058
+ * // Keep only rows with missing values in any column
1059
+ * await table.removeMissing({ invert: true });
1060
+ * ```
1061
+ *
1062
+ * @example
1063
+ * ```ts
1064
+ * // Remove rows where 'age' is missing or is equal to -1
1065
+ * await table.removeMissing({ columns: "age", missingValues: [-1] });
1066
+ * ```
1067
+ */
1068
+ removeMissing(options?: {
1069
+ columns?: string | string[];
1070
+ missingValues?: (string | number)[];
1071
+ invert?: boolean;
1072
+ }): Promise<void>;
1073
+ /**
1074
+ * Trims specified characters from the beginning, end, or both sides of string values in the given columns.
1075
+ *
1076
+ * @param columns - The column name or an array of column names to trim.
1077
+ * @param options - An optional object with configuration options:
1078
+ * @param options.character - The string to trim. Defaults to whitespace characters.
1079
+ * @param options.method - The trimming method to apply: `"leftTrim"` (removes from the beginning), `"rightTrim"` (removes from the end), or `"trim"` (removes from both sides). Defaults to `"trim"`.
1080
+ * @returns A promise that resolves when the trimming operation is complete.
1081
+ * @category Updating Data
1082
+ *
1083
+ * @example
1084
+ * ```ts
1085
+ * // Trim whitespace from 'column1'
1086
+ * await table.trim("column1");
1087
+ * ```
1088
+ *
1089
+ * @example
1090
+ * ```ts
1091
+ * // Trim leading and trailing asterisks from 'productCode'
1092
+ * await table.trim("productCode", { character: "*" });
1093
+ * ```
1094
+ *
1095
+ * @example
1096
+ * ```ts
1097
+ * // Right-trim whitespace from 'description' and 'notes' columns
1098
+ * await table.trim(["description", "notes"], { method: "rightTrim" });
1099
+ * ```
1100
+ */
1101
+ trim(columns: string | string[], options?: {
1102
+ character?: string;
1103
+ method?: "leftTrim" | "rightTrim" | "trim";
1104
+ }): Promise<void>;
1105
+ /**
1106
+ * Filters rows from this table based on SQL conditions. Note that it's often faster to use the `removeRows` method for simple removals.
1107
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
1108
+ *
1109
+ * @param conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"column1 > 10 AND column2 = 'value'"`).
1110
+ * @returns A promise that resolves when the rows have been filtered.
1111
+ * @category Selecting or Filtering Data
1112
+ *
1113
+ * @example
1114
+ * ```ts
1115
+ * // Keep only rows where the 'fruit' column is not 'apple'
1116
+ * await table.filter(`fruit != 'apple'`);
1117
+ * ```
1118
+ *
1119
+ * @example
1120
+ * ```ts
1121
+ * // Keep rows where 'price' is greater than 100 AND 'quantity' is greater than 0
1122
+ * await table.filter(`price > 100 && quantity > 0`); // Using JS syntax
1123
+ * ```
1124
+ *
1125
+ * @example
1126
+ * ```ts
1127
+ * // Keep rows where 'category' is 'Electronics' OR 'Appliances'
1128
+ * await table.filter(`category === 'Electronics' || category === 'Appliances'`); // Using JS syntax
1129
+ * ```
1130
+ *
1131
+ * @example
1132
+ * ```ts
1133
+ * // Keep rows where 'lastPurchaseDate' is on or after '2023-01-01'
1134
+ * await table.filter(`lastPurchaseDate >= '2023-01-01'`);
1135
+ * ```
1136
+ */
1137
+ filter(conditions: string): Promise<void>;
1138
+ /**
1139
+ * Keeps rows in this table that have specific values in specified columns, removing all other rows.
1140
+ *
1141
+ * @param columnsAndValues - An object where keys are column names and values are the specific values (or an array of values) to keep in those columns.
1142
+ * @returns A promise that resolves when the rows have been filtered.
1143
+ * @category Selecting or Filtering Data
1144
+ *
1145
+ * @example
1146
+ * ```ts
1147
+ * // Keep only rows where 'job' is 'accountant' or 'developer', AND 'city' is 'Montreal'
1148
+ * await table.keep({ job: ["accountant", "developer"], city: "Montreal" });
1149
+ * ```
1150
+ *
1151
+ * @example
1152
+ * ```ts
1153
+ * // Keep only rows where 'status' is 'active'
1154
+ * await table.keep({ status: "active" });
1155
+ * ```
1156
+ */
1157
+ keep(columnsAndValues: {
1158
+ [key: string]: (number | string | Date | boolean | null)[] | (number | string | Date | boolean | null);
1159
+ }): Promise<void>;
1160
+ /**
1161
+ * Removes rows from this table that have specific values in specified columns.
1162
+ *
1163
+ * @param columnsAndValues - An object where keys are column names and values are the specific values (or an array of values) to remove from those columns.
1164
+ * @returns A promise that resolves when the rows have been removed.
1165
+ * @category Selecting or Filtering Data
1166
+ *
1167
+ * @example
1168
+ * ```ts
1169
+ * // Remove rows where 'job' is 'accountant' or 'developer', AND 'city' is 'Montreal'
1170
+ * await table.remove({ job: ["accountant", "developer"], city: "Montreal" });
1171
+ * ```
1172
+ *
1173
+ * @example
1174
+ * ```ts
1175
+ * // Remove rows where 'status' is 'inactive'
1176
+ * await table.remove({ status: "inactive" });
1177
+ * ```
1178
+ */
1179
+ remove(columnsAndValues: {
1180
+ [key: string]: (number | string | Date | boolean | null)[] | (number | string | Date | boolean | null);
1181
+ }): Promise<void>;
1182
+ /**
1183
+ * Removes rows from this table based on SQL conditions. This method is similar to `filter()`, but removes rows instead of keeping them.
1184
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
1185
+ *
1186
+ * @param conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"fruit = 'apple'"`).
1187
+ * @returns A promise that resolves when the rows have been removed.
1188
+ * @category Selecting or Filtering Data
1189
+ *
1190
+ * @example
1191
+ * ```ts
1192
+ * // Remove rows where the 'fruit' column is 'apple'
1193
+ * await table.removeRows(`fruit = 'apple'`);
1194
+ * ```
1195
+ *
1196
+ * @example
1197
+ * ```ts
1198
+ * // Remove rows where 'quantity' is less than 5
1199
+ * await table.removeRows(`quantity < 5`);
1200
+ * ```
1201
+ *
1202
+ * @example
1203
+ * ```ts
1204
+ * // Remove rows where 'price' is less than 100 AND 'quantity' is 0
1205
+ * await table.removeRows(`price < 100 && quantity === 0`); // Using JS syntax
1206
+ * ```
1207
+ *
1208
+ * @example
1209
+ * ```ts
1210
+ * // Remove rows where 'category' is 'Electronics' OR 'Appliances'
1211
+ * await table.removeRows(`category === 'Electronics' || category === 'Appliances'`); // Using JS syntax
1212
+ * ```
1213
+ */
1214
+ removeRows(conditions: string): Promise<void>;
1215
+ /**
1216
+ * Renames one or more columns in the table.
1217
+ *
1218
+ * @param names - An object mapping old column names to their new column names (e.g., `{ "oldName": "newName", "anotherOld": "anotherNew" }`).
1219
+ * @returns A promise that resolves when the columns have been renamed.
1220
+ * @category Column Operations
1221
+ *
1222
+ * @example
1223
+ * ```ts
1224
+ * // Rename "How old?" to "age" and "Man or woman?" to "sex"
1225
+ * await table.renameColumns({ "How old?": "age", "Man or woman?": "sex" });
1226
+ * ```
1227
+ *
1228
+ * @example
1229
+ * ```ts
1230
+ * // Rename a single column
1231
+ * await table.renameColumns({ "product_id": "productId" });
1232
+ * ```
1233
+ */
1234
+ renameColumns(names: {
1235
+ [key: string]: string;
1236
+ }): Promise<void>;
1237
+ /**
1238
+ * Cleans column names by removing non-alphanumeric characters and formatting them to camel case.
1239
+ *
1240
+ * @returns A promise that resolves when the column names have been cleaned.
1241
+ * @category Column Operations
1242
+ *
1243
+ * @example
1244
+ * ```ts
1245
+ * // Clean all column names in the table
1246
+ * // e.g., "First Name" becomes "firstName", "Product ID" becomes "productId"
1247
+ * await table.cleanColumnNames();
1248
+ * ```
1249
+ */
1250
+ cleanColumnNames(): Promise<void>;
1251
+ /**
1252
+ * Restructures this table by stacking (unpivoting) columns. This is useful for tidying up data from a wide format to a long format.
1253
+ *
1254
+ * For example, given a table showing employee counts per department per year:
1255
+ *
1256
+ * | Department | 2021 | 2022 | 2023 |
1257
+ * | :--------- | :--- | :--- | :--- |
1258
+ * | Accounting | 10 | 9 | 15 |
1259
+ * | Sales | 52 | 75 | 98 |
1260
+ *
1261
+ * We can restructure it by putting all year columns into a new column named `Year` and their corresponding employee counts into a new column named `Employees`.
1262
+ *
1263
+ * @example
1264
+ * ```ts
1265
+ * // Restructure the table by stacking year columns into 'year' and 'employees'
1266
+ * await table.longer(["2021", "2022", "2023"], "year", "employees");
1267
+ * ```
1268
+ *
1269
+ * The table will then look like this:
1270
+ *
1271
+ * | Department | Year | Employees |
1272
+ * | :--------- | :--- | :-------- |
1273
+ * | Accounting | 2021 | 10 |
1274
+ * | Accounting | 2022 | 9 |
1275
+ * | Accounting | 2023 | 15 |
1276
+ * | Sales | 2021 | 52 |
1277
+ * | Sales | 2022 | 75 |
1278
+ * | Sales | 2023 | 98 |
1279
+ *
1280
+ * @param columns - An array of strings representing the names of the columns to be stacked (unpivoted).
1281
+ * @param columnsTo - The name of the new column that will contain the original column names (e.g., "Year").
1282
+ * @param valuesTo - The name of the new column that will contain the values from the stacked columns (e.g., "Employees").
1283
+ * @returns A promise that resolves when the table has been restructured.
1284
+ * @category Restructuring Data
1285
+ */
1286
+ longer(columns: string[], columnsTo: string, valuesTo: string): Promise<void>;
1287
+ /**
1288
+ * Restructures this table by unstacking (pivoting) values, transforming data from a long format to a wide format.
1289
+ *
1290
+ * For example, given a table showing employee counts per department per year:
1291
+ *
1292
+ * | Department | Year | Employees |
1293
+ * | :--------- | :--- | :-------- |
1294
+ * | Accounting | 2021 | 10 |
1295
+ * | Accounting | 2022 | 9 |
1296
+ * | Accounting | 2023 | 15 |
1297
+ * | Sales | 2021 | 52 |
1298
+ * | Sales | 2022 | 75 |
1299
+ * | Sales | 2023 | 98 |
1300
+ *
1301
+ * We can restructure it by creating new columns for each year, with the associated employee counts as values.
1302
+ *
1303
+ * @example
1304
+ * ```ts
1305
+ * // Restructure the table by pivoting 'Year' into new columns with 'Employees' as values
1306
+ * await table.wider("Year", "Employees");
1307
+ * ```
1308
+ *
1309
+ * The table will then look like this:
1310
+ *
1311
+ * | Department | 2021 | 2022 | 2023 |
1312
+ * | :--------- | :--- | :--- | :--- |
1313
+ * | Accounting | 10 | 9 | 15 |
1314
+ * | Sales | 52 | 75 | 98 |
1315
+ *
1316
+ * @param columnsFrom - The name of the column containing the values that will be transformed into new column headers (e.g., "Year").
1317
+ * @param valuesFrom - The name of the column containing the values to be spread across the new columns (e.g., "Employees").
1318
+ * @returns A promise that resolves when the table has been restructured.
1319
+ * @category Restructuring Data
1320
+ */
1321
+ wider(columnsFrom: string, valuesFrom: string): Promise<void>;
1322
+ /**
1323
+ * Converts data types of specified columns to target types (JavaScript or SQL types).
1324
+ *
1325
+ * When converting timestamps, dates, or times to/from strings, you must provide a `datetimeFormat` option using [DuckDB's format specifiers](https://duckdb.org/docs/sql/functions/dateformat).
1326
+ *
1327
+ * When converting timestamps, dates, or times to/from numbers, the numerical representation will be in milliseconds since the Unix epoch (1970-01-01 00:00:00 UTC).
1328
+ *
1329
+ * When converting strings to numbers, commas (often used as thousand separators) will be automatically removed before conversion.
1330
+ *
1331
+ * @param types - An object mapping column names to their target data types for conversion.
1332
+ * @param options - An optional object with configuration options:
1333
+ * @param options.try - If `true`, values that cannot be converted will be replaced by `NULL` instead of throwing an error. Defaults to `false`.
1334
+ * @param options.datetimeFormat - A string specifying the format for date and time conversions. Uses `strftime` and `strptime` functions from DuckDB. For format specifiers, see [DuckDB's documentation](https://duckdb.org/docs/sql/functions/dateformat).
1335
+ * @returns A promise that resolves when the column types have been converted.
1336
+ * @category Updating Data
1337
+ *
1338
+ * @example
1339
+ * ```ts
1340
+ * // Convert 'column1' to string and 'column2' to integer (JavaScript types)
1341
+ * await table.convert({ column1: "string", column2: "integer" });
1342
+ * ```
1343
+ *
1344
+ * @example
1345
+ * ```ts
1346
+ * // Convert 'column1' to VARCHAR and 'column2' to BIGINT (SQL types)
1347
+ * await table.convert({ column1: "varchar", column2: "bigint" });
1348
+ * ```
1349
+ *
1350
+ * @example
1351
+ * ```ts
1352
+ * // Convert strings in 'column3' to datetime using a specific format
1353
+ * await table.convert({ column3: "datetime" }, { datetimeFormat: "%Y-%m-%d" });
1354
+ * ```
1355
+ *
1356
+ * @example
1357
+ * ```ts
1358
+ * // Convert datetime values in 'column3' to strings using a specific format
1359
+ * await table.convert({ column3: "string" }, { datetimeFormat: "%Y-%m-%d %H:%M:%S" });
1360
+ * ```
1361
+ *
1362
+ * @example
1363
+ * ```ts
1364
+ * // Convert 'amount' to float, replacing unconvertible values with NULL
1365
+ * await table.convert({ amount: "float" }, { try: true });
1366
+ * ```
1367
+ */
1368
+ convert(types: {
1369
+ [key: string]: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean";
1370
+ }, options?: {
1371
+ try?: boolean;
1372
+ datetimeFormat?: string;
1373
+ }): Promise<void>;
1374
+ /**
1375
+ * Removes the table from the database. After this operation, invoking methods on this SimpleTable instance will result in an error.
1376
+ *
1377
+ * @returns A promise that resolves when the table has been removed.
1378
+ * @category Table Management
1379
+ *
1380
+ * @example
1381
+ * ```ts
1382
+ * // Remove the current table from the database
1383
+ * await table.removeTable();
1384
+ * ```
1385
+ */
1386
+ removeTable(): Promise<void>;
1387
+ /**
1388
+ * Removes one or more columns from this table.
1389
+ *
1390
+ * @param columns - The name or an array of names of the columns to be removed.
1391
+ * @returns A promise that resolves when the columns have been removed.
1392
+ * @category Column Operations
1393
+ *
1394
+ * @example
1395
+ * ```ts
1396
+ * // Remove 'column1' and 'column2' from the table
1397
+ * await table.removeColumns(["column1", "column2"]);
1398
+ * ```
1399
+ *
1400
+ * @example
1401
+ * ```ts
1402
+ * // Remove a single column named 'tempColumn'
1403
+ * await table.removeColumns("tempColumn");
1404
+ * ```
1405
+ */
1406
+ removeColumns(columns: string | string[]): Promise<void>;
1407
+ /**
1408
+ * Adds a new column to the table based on a specified data type (JavaScript or SQL types) and a SQL definition.
1409
+ *
1410
+ * @param newColumn - The name of the new column to be added.
1411
+ * @param type - The data type for the new column. Can be a JavaScript type (e.g., `"number"`, `"string"`) or a SQL type (e.g., `"integer"`, `"varchar"`).
1412
+ * @param definition - A SQL expression defining how the values for the new column should be computed (e.g., `"column1 + column2"`, `"ST_Centroid(geom_column)"`).
1413
+ * @param options - An optional object with configuration options:
1414
+ * @returns A promise that resolves when the new column has been added.
1415
+ * @category Column Operations
1416
+ *
1417
+ * @example
1418
+ * ```ts
1419
+ * // Add a new column 'total' as a float, calculated from 'column1' and 'column2'
1420
+ * await table.addColumn("total", "float", "column1 + column2");
1421
+ * ```
1422
+ *
1423
+ * @example
1424
+ * ```ts
1425
+ * // Add a new geometry column 'centroid' using the centroid of an existing 'country' geometry column
1426
+ * await table.addColumn("centroid", "geometry('EPSG:4326')", `ST_Centroid("country")`);
1427
+ * ```
1428
+ */
1429
+ addColumn(newColumn: string, type: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean" | `geometry('${string}')` | `GEOMETRY('${string}')`, definition: string): Promise<void>;
1430
+ /**
1431
+ * Adds a new column to the table containing the row number, starting at 0 (like an index).
1432
+ *
1433
+ * @param newColumn - The name of the new column that will store the row number.
1434
+ * @param options - An optional object with configuration options:
1435
+ * @param options.categories - A string or an array of strings representing columns to partition the data by. The row number will restart at 0 for each unique combination of values in these columns.
1436
+ * @returns A promise that resolves when the row number column has been added.
1437
+ * @category Column Operations
1438
+ *
1439
+ * @example
1440
+ * ```ts
1441
+ * // Add a new column named 'rowNumber' with the row number for each row
1442
+ * await table.addRowNumber("rowNumber");
1443
+ * ```
1444
+ *
1445
+ * @example
1446
+ * ```ts
1447
+ * // Add a new column named 'rowNumber' with the row number for each 'category'
1448
+ * await table.addRowNumber("rowNumber", { categories: "category" });
1449
+ * ```
1450
+ */
1451
+ addRowNumber(newColumn: string, options?: {
1452
+ categories?: string | string[];
1453
+ }): Promise<void>;
1454
+ /**
1455
+ * Performs a cross join operation with another table. A cross join returns the Cartesian product of the rows from both tables, meaning all possible pairs of rows will be in the resulting table.
1456
+ * This means that if the left table has `n` rows and the right table has `m` rows, the result will have `n * m` rows.
1457
+ *
1458
+ * @param rightTable - The SimpleTable instance to cross join with.
1459
+ * @param options - An optional object with configuration options:
1460
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
1461
+ * @returns A promise that resolves to a table instance containing the cross-joined data (either the modified current table or a new table).
1462
+ * @category Table Operations
1463
+ *
1464
+ * @example
1465
+ * ```ts
1466
+ * // Perform a cross join with 'tableB', overwriting the current table (tableA)
1467
+ * await tableA.crossJoin(tableB);
1468
+ * ```
1469
+ *
1470
+ * @example
1471
+ * ```ts
1472
+ * // Perform a cross join with 'tableB' and store the results in a new table with a generated name
1473
+ * const tableC = await tableA.crossJoin(tableB, { outputTable: true });
1474
+ * ```
1475
+ *
1476
+ * @example
1477
+ * ```ts
1478
+ * // Perform a cross join with 'tableB' and store the results in a new table named 'tableC'
1479
+ * const tableC = await tableA.crossJoin(tableB, { outputTable: "tableC" });
1480
+ * ```
1481
+ */
1482
+ crossJoin(rightTable: SimpleTable, options?: {
1483
+ outputTable?: string | boolean;
1484
+ }): Promise<this>;
1485
+ /**
1486
+ * Merges the data of this table (considered the left table) with another table (the right table) based on a common column or multiple columns.
1487
+ * Note that the order of rows in the returned data is not guaranteed to be the same as in the original tables.
1488
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
1489
+ *
1490
+ * @param rightTable - The SimpleTable instance to be joined with this table.
1491
+ * @param options - An optional object with configuration options:
1492
+ * @param options.commonColumn - The common column(s) used for the join operation. If omitted, the method automatically searches for a column name that exists in both tables. Can be a single string or an array of strings for multiple join keys.
1493
+ * @param options.type - The type of join operation to perform. Possible values are `"inner"`, `"left"` (default), `"right"`, or `"full"`.
1494
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
1495
+ * @returns A promise that resolves to a table instance containing the joined data (either the modified current table or a new table).
1496
+ * @category Table Operations
1497
+ *
1498
+ * @example
1499
+ * ```ts
1500
+ * // Perform a left join with 'tableB' on a common column (auto-detected), overwriting tableA
1501
+ * await tableA.join(tableB);
1502
+ * ```
1503
+ *
1504
+ * @example
1505
+ * ```ts
1506
+ * // Perform an inner join with 'tableB' on the 'id' column, storing results in a new table named 'tableC'
1507
+ * const tableC = await tableA.join(tableB, { commonColumn: 'id', type: 'inner', outputTable: "tableC" });
1508
+ * ```
1509
+ *
1510
+ * @example
1511
+ * ```ts
1512
+ * // Perform a join on multiple columns ('name' and 'category')
1513
+ * await tableA.join(tableB, { commonColumn: ['name', 'category'] });
1514
+ * ```
1515
+ */
1516
+ join(rightTable: SimpleTable, options?: {
1517
+ commonColumn?: string | string[];
1518
+ type?: "inner" | "left" | "right" | "full";
1519
+ outputTable?: string | boolean;
1520
+ }): Promise<this>;
1521
+ /**
1522
+ * Performs a fuzzy left join between this table (considered the left table) and another table
1523
+ * (the right table) based on string similarity between two text columns. Uses the
1524
+ * [rapidfuzz](https://query.farm/duckdb_extension_rapidfuzz) DuckDB community extension.
1525
+ *
1526
+ * If a similarity score column is added to the results, the rows will be ordered alphabetically by the left column, and then by descending similarity score within each group of identical left column values. Otherwise, the rows will be order alphabetically by the left column and then by the right column.
1527
+ *
1528
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
1529
+ *
1530
+ * @param rightTable - The SimpleTable instance to be joined with this table.
1531
+ * @param leftColumn - The name of the column in this (left) table containing the text to compare.
1532
+ * @param rightColumn - The name of the column in the right table containing the text to compare.
1533
+ * @param threshold - The minimum similarity score (0–100) required for two rows to be joined. For `method: "ratio"`, a length-based pre-filter is automatically applied based on the threshold to improve performance without losing accuracy.
1534
+ * @param options - An optional object with configuration options:
1535
+ * @param options.method - The rapidfuzz similarity algorithm to use. Defaults to `"ratio"`.
1536
+ * - `"ratio"`: Overall similarity (Levenshtein-based).
1537
+ * - `"partial_ratio"`: Best partial/substring similarity.
1538
+ * - `"token_sort_ratio"`: Similarity after sorting tokens (words), useful for reordered words.
1539
+ * - `"token_set_ratio"`: Similarity based on sets of tokens, ignoring duplicates and word order.
1540
+ * @param options.similarityColumn - If provided, a column with this name is added to the result containing the similarity score (0–100). If omitted, the score is not included in the output.
1541
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
1542
+ * @param options.preFilterPrefixLen - An optional prefix length. Only strings sharing the same first N characters are compared. Note that prefix filtering is lossy (e.g. "John" vs. "Phon" will not match despite high similarity).
1543
+ * @returns A promise that resolves to a table instance containing the fuzzy-joined data (either the modified current table or a new table).
1544
+ * @category Table Operations
1545
+ *
1546
+ * @example
1547
+ * ```ts
1548
+ * // Fuzzy left join tableA with tableB on 'name' (left) and 'standardName' (right) with a threshold of 80
1549
+ * // A length-based pre-filter is automatically applied.
1550
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80);
1551
+ * ```
1552
+ *
1553
+ * @example
1554
+ * ```ts
1555
+ * // Fuzzy join with a prefix-based pre-filter and a threshold of 80
1556
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80, {
1557
+ * preFilterPrefixLen: 3, // Must share the same first 3 characters
1558
+ * });
1559
+ * ```
1560
+ *
1561
+ * @example
1562
+ * ```ts
1563
+ * // Fuzzy join with a custom threshold and method, storing results in a new table
1564
+ * const tableC = await tableA.fuzzyJoin(tableB, "name", "standardName", 90, {
1565
+ * method: "token_sort_ratio",
1566
+ * outputTable: "tableC",
1567
+ * });
1568
+ * ```
1569
+ *
1570
+ * @example
1571
+ * ```ts
1572
+ * // Fuzzy join with a custom similarity column name and a threshold of 80
1573
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80, {
1574
+ * similarityColumn: "matchScore",
1575
+ * });
1576
+ * ```
1577
+ */
1578
+ fuzzyJoin(rightTable: SimpleTable, leftColumn: string, rightColumn: string, threshold: number, options?: {
1579
+ method?: "ratio" | "partial_ratio" | "token_sort_ratio" | "token_set_ratio";
1580
+ similarityColumn?: string;
1581
+ outputTable?: string | boolean;
1582
+ preFilterPrefixLen?: number;
1583
+ }): Promise<this>;
1584
+ /**
1585
+ * Normalizes string values in a column by detecting fuzzy duplicates and replacing them with a single canonical value.
1586
+ *
1587
+ * Similar strings are grouped into clusters. Matching is transitive: if `"New York"` is similar to `"New Yorke"` and
1588
+ * `"New Yorke"` is similar to `"New Yorkk"`, all three land in the same cluster even if `"New York"` and `"New Yorkk"`
1589
+ * would not match directly. Each cluster is then collapsed to one representative value based on the `keep` strategy.
1590
+ *
1591
+ * Similarity is computed using the [rapidfuzz](https://query.farm/duckdb_extension_rapidfuzz) DuckDB community extension,
1592
+ * which is installed and loaded automatically.
1593
+ *
1594
+ * @param column - The name of the column containing the strings to normalize.
1595
+ * @param newColumn - The name of the column to write the normalized values to. Use the same name as `column` to normalize in-place.
1596
+ * @param threshold - The minimum similarity score (0–100) for two strings to be considered duplicates. For `method: "ratio"`, a length-based pre-filter is automatically applied based on the threshold to improve performance without losing accuracy.
1597
+ * @param options - An optional object with configuration options:
1598
+ * @param options.method - The rapidfuzz similarity algorithm to use. Defaults to `"ratio"`.
1599
+ * - `"ratio"`: Overall similarity.
1600
+ * - `"partial_ratio"`: Best partial/substring similarity.
1601
+ * - `"token_sort_ratio"`: Similarity after sorting tokens (words), useful for reordered words.
1602
+ * - `"token_set_ratio"`: Similarity based on sets of tokens, ignoring duplicates and word order.
1603
+ * @param options.keep - The strategy for choosing the canonical value within each cluster of similar strings. Defaults to `"mostCommon"`.
1604
+ * - `"mostCommon"`: Keep the value that appears most frequently in the original column.
1605
+ * - `"longestString"`: Keep the longest string in the cluster.
1606
+ * - `"shortestString"`: Keep the shortest string in the cluster.
1607
+ * - `"mostCentral"`: Keep the string with the highest total similarity score to all other cluster members (the most "central" string).
1608
+ * - `"maxScore"`: Keep the string that participates in the single highest-scoring pairwise match within the cluster.
1609
+ * @param options.preFilterPrefixLen - An optional prefix length. Only strings sharing the same first N characters are compared. Note that prefix filtering is lossy (e.g. "John" vs. "Phon" will not match despite high similarity).
1610
+ * @returns A promise that resolves when the column has been normalized.
1611
+ * @category Updating Data
1612
+ *
1613
+ * @example
1614
+ * ```ts
1615
+ * // Normalize 'city' into a new 'cityClean' column, keeping the most common string per cluster with a threshold of 80
1616
+ * // A length-based pre-filter is automatically applied.
1617
+ * await table.fuzzyClean("city", "cityClean", 80);
1618
+ * ```
1619
+ *
1620
+ * @example
1621
+ * ```ts
1622
+ * // Normalize with a prefix-based pre-filter and a threshold of 80
1623
+ * await table.fuzzyClean("city", "cityClean", 80, {
1624
+ * preFilterPrefixLen: 5, // Must share the same first 5 characters
1625
+ * });
1626
+ * ```
1627
+ *
1628
+ * @example
1629
+ * ```ts
1630
+ * // Normalize 'companyName' into a new column using token_sort_ratio and a threshold of 90
1631
+ * await table.fuzzyClean("companyName", "companyNameClean", 90, { method: "token_sort_ratio" });
1632
+ * ```
1633
+ *
1634
+ * @example
1635
+ * ```ts
1636
+ * // Normalize 'category' in-place, keeping the longest string in each cluster and a threshold of 80
1637
+ * await table.fuzzyClean("category", "category", 80, { keep: "longestString" });
1638
+ * ```
1639
+ */
1640
+ fuzzyClean(column: string, newColumn: string, threshold: number, options?: {
1641
+ method?: "ratio" | "partial_ratio" | "token_sort_ratio" | "token_set_ratio";
1642
+ keep?: "mostCommon" | "longestString" | "shortestString" | "mostCentral" | "maxScore";
1643
+ preFilterPrefixLen?: number;
1644
+ }): Promise<void>;
1645
+ /**
1646
+ * Replaces specified strings in the selected columns.
1647
+ *
1648
+ * @param columns - The column name or an array of column names where string replacements will occur.
1649
+ * @param strings - An object mapping old strings to new strings (e.g., `{ "oldValue": "newValue" }`).
1650
+ * @param options - An optional object with configuration options:
1651
+ * @param options.entireString - A boolean indicating whether the entire cell content must match the `oldString` for replacement to occur. Defaults to `false` (replaces substrings).
1652
+ * @param options.regex - A boolean indicating whether the `oldString` should be treated as a regular expression for global replacement. Cannot be used with `entireString: true`. Defaults to `false`.
1653
+ * @returns A promise that resolves when the string replacements are complete.
1654
+ * @category Updating Data
1655
+ *
1656
+ * @example
1657
+ * ```ts
1658
+ * // Replace all occurrences of "kilograms" with "kg" in 'column1'
1659
+ * await table.replace("column1", { "kilograms": "kg" });
1660
+ * ```
1661
+ *
1662
+ * @example
1663
+ * ```ts
1664
+ * // Replace "kilograms" with "kg" and "liters" with "l" in 'column1' and 'column2'
1665
+ * await table.replace(["column1", "column2"], { "kilograms": "kg", "liters": "l" });
1666
+ * ```
1667
+ *
1668
+ * @example
1669
+ * ```ts
1670
+ * // Replace only if the entire string in 'column1' is "kilograms"
1671
+ * await table.replace("column1", { "kilograms": "kg" }, { entireString: true });
1672
+ * ```
1673
+ *
1674
+ * @example
1675
+ * ```ts
1676
+ * // Replace any sequence of one or more digits with a hyphen in 'column1' using regex
1677
+ * await table.replace("column1", { "\d+": "-" }, { regex: true });
1678
+ * ```
1679
+ */
1680
+ replace(columns: string | string[], strings: {
1681
+ [key: string]: string;
1682
+ }, options?: {
1683
+ entireString?: boolean;
1684
+ regex?: boolean;
1685
+ }): Promise<void>;
1686
+ /**
1687
+ * Converts string values in the specified columns to lowercase.
1688
+ *
1689
+ * @param columns - The column name or an array of column names to be converted to lowercase.
1690
+ * @returns A promise that resolves when the strings have been converted to lowercase.
1691
+ * @category Updating Data
1692
+ *
1693
+ * @example
1694
+ * ```ts
1695
+ * // Convert strings in 'column1' to lowercase
1696
+ * await table.lower("column1");
1697
+ * ```
1698
+ *
1699
+ * @example
1700
+ * ```ts
1701
+ * // Convert strings in 'column1' and 'column2' to lowercase
1702
+ * await table.lower(["column1", "column2"]);
1703
+ * ```
1704
+ */
1705
+ lower(columns: string | string[]): Promise<void>;
1706
+ /**
1707
+ * Converts string values in the specified columns to uppercase.
1708
+ *
1709
+ * @param columns - The column name or an array of column names to be converted to uppercase.
1710
+ * @returns A promise that resolves when the strings have been converted to uppercase.
1711
+ * @category Updating Data
1712
+ *
1713
+ * @example
1714
+ * ```ts
1715
+ * // Convert strings in 'column1' to uppercase
1716
+ * await table.upper("column1");
1717
+ * ```
1718
+ *
1719
+ * @example
1720
+ * ```ts
1721
+ * // Convert strings in 'column1' and 'column2' to uppercase
1722
+ * await table.upper(["column1", "column2"]);
1723
+ * ```
1724
+ */
1725
+ upper(columns: string | string[]): Promise<void>;
1726
+ /**
1727
+ * Capitalizes the first letter of each string in the specified columns and converts the rest of the string to lowercase.
1728
+ *
1729
+ * @param columns - The column name or an array of column names to be capitalized.
1730
+ * @returns A promise that resolves when the strings have been capitalized.
1731
+ * @category Updating Data
1732
+ *
1733
+ * @example
1734
+ * ```ts
1735
+ * // Capitalize strings in 'column1' (e.g., "hello world" becomes "Hello world")
1736
+ * await table.capitalize("column1");
1737
+ * ```
1738
+ *
1739
+ * @example
1740
+ * ```ts
1741
+ * // Capitalize strings in 'column1' and 'column2'
1742
+ * await table.capitalize(["column1", "column2"]);
1743
+ * ```
1744
+ */
1745
+ capitalize(columns: string | string[]): Promise<void>;
1746
+ /**
1747
+ * Truncates string values in a specified column to a maximum number of characters.
1748
+ *
1749
+ * @param column - The column name containing strings to be truncated.
1750
+ * @param length - The maximum number of characters to keep.
1751
+ * @returns A promise that resolves when the strings have been truncated.
1752
+ * @category Updating Data
1753
+ *
1754
+ * @example
1755
+ * ```ts
1756
+ * // Truncate strings in 'description' column to 50 characters
1757
+ * await table.truncate("description", 50);
1758
+ * ```
1759
+ *
1760
+ * @example
1761
+ * ```ts
1762
+ * // Truncate strings in 'name' column to 10 characters
1763
+ * await table.truncate("name", 10);
1764
+ * ```
1765
+ */
1766
+ truncate(column: string, length: number): Promise<void>;
1767
+ /**
1768
+ * Pads the strings in the specified columns to a target length.
1769
+ *
1770
+ * The columns must contain string (VARCHAR) values. An error is thrown if any
1771
+ * column is of a different type. `null` values remain `null`. If any string
1772
+ * already exceeds the target length, an error is thrown (no silent truncation).
1773
+ *
1774
+ * @param columns - The column name(s) containing strings to be padded.
1775
+ * @param length - The target length of the padded strings.
1776
+ * @param options - An optional object with configuration options:
1777
+ * @param options.method - Which side to pad. `'left'` (default) or `'right'`.
1778
+ * @param options.char - The character to use for padding. Defaults to `'0'`.
1779
+ * @returns A promise that resolves when the padding operation is complete.
1780
+ * @throws {Error} If any column is not of string (VARCHAR) type.
1781
+ * @throws {Error} If any string value exceeds the target length.
1782
+ * @category Updating Data
1783
+ *
1784
+ * @example
1785
+ * ```ts
1786
+ * // Left-pad 'id' column to 3 characters with zeros (default)
1787
+ * await table.pad("id", 3);
1788
+ * // Result: '1' -> '001', '23' -> '023', null -> null
1789
+ * ```
1790
+ *
1791
+ * @example
1792
+ * ```ts
1793
+ * // Right-pad 'code' column to 5 characters with spaces
1794
+ * await table.pad("code", 5, { method: "right", char: " " });
1795
+ * // Result: '123' -> '123 ', '45' -> '45 ', null -> null
1796
+ * ```
1797
+ *
1798
+ * @example
1799
+ * ```ts
1800
+ * // Left-pad multiple columns to 5 characters with dashes
1801
+ * await table.pad(["id", "code"], 5, { method: "left", char: "-" });
1802
+ * // Result: '1' -> '----1', '23' -> '---23'
1803
+ * ```
1804
+ */
1805
+ pad(columns: string | string[], length: number, options?: {
1806
+ method?: "left" | "right";
1807
+ char?: string;
1808
+ }): Promise<void>;
1809
+ /**
1810
+ * Splits strings in a specified column by a separator and extracts a substring at a given index, storing the result in a new or existing column.
1811
+ * If the index is out of bounds, an empty string will be returned for that row.
1812
+ *
1813
+ * @param column - The name of the column containing the strings to be split.
1814
+ * @param separator - The substring to use as a delimiter for splitting the strings.
1815
+ * @param index - The zero-based index of the substring to extract after splitting. For example, `0` for the first part, `1` for the second, etc.
1816
+ * @param newColumn - The name of the column where the extracted substrings will be stored. To overwrite the original column, use the same name as `column`.
1817
+ * @returns A promise that resolves when the strings have been split and extracted.
1818
+ * @category Updating Data
1819
+ *
1820
+ * @example
1821
+ * ```ts
1822
+ * // Split 'address' by comma and extract the second part (index 1) into a new 'city' column
1823
+ * // e.g., "123 Main St, Anytown, USA" -> "Anytown"
1824
+ * await table.splitExtract("address", ",", 1, "city");
1825
+ * ```
1826
+ *
1827
+ * @example
1828
+ * ```ts
1829
+ * // Split 'fileName' by dot and extract the first part (index 0), overwriting 'fileName'
1830
+ * // e.g., "document.pdf" -> "document"
1831
+ * await table.splitExtract("fileName", ".", 0, "fileName");
1832
+ * ```
1833
+ */
1834
+ splitExtract(column: string, separator: string, index: number, newColumn: string): Promise<void>;
1835
+ /**
1836
+ * Splits strings in a specified column by a separator and spreads the resulting parts into multiple new columns.
1837
+ *
1838
+ * Each part of the split string will be stored in a separate column. The number of columns created is determined by the length of the `newColumns` array.
1839
+ * If a row has fewer parts than the number of new columns, a warning will be logged and the extra columns will contain empty strings (unless `noCheck` is set to true).
1840
+ * If a row has more parts than the number of new columns, an error will be thrown unless `noCheck` is set to true.
1841
+ *
1842
+ * @param column - The name of the column containing the strings to be split.
1843
+ * @param separator - The substring to use as a delimiter for splitting the strings.
1844
+ * @param newColumns - An array of column names for the extracted parts.
1845
+ * @param options - Optional configuration.
1846
+ * @param options.noCheck - If true, skips all validation checks (both max and min parts). Default is false.
1847
+ * @returns A promise that resolves when the strings have been split and spread into new columns.
1848
+ * @category Updating Data
1849
+ *
1850
+ * @example
1851
+ * ```ts
1852
+ * // Split 'fullName' by comma and spread into 'lastName' and 'firstName'
1853
+ * // e.g., "Shiab, Nael" -> lastName: "Shiab", firstName: "Nael"
1854
+ * await table.splitSpread("fullName", ",", ["lastName", "firstName"]);
1855
+ * ```
1856
+ *
1857
+ * @example
1858
+ * ```ts
1859
+ * // Split 'address' by comma and spread into three columns
1860
+ * // e.g., "123 Main St, Anytown, USA" -> street: "123 Main St", city: "Anytown", country: "USA"
1861
+ * await table.splitSpread("address", ",", ["street", "city", "country"]);
1862
+ * ```
1863
+ *
1864
+ * @example
1865
+ * ```ts
1866
+ * // Skip validation for performance with noCheck option
1867
+ * await table.splitSpread("data", "|", ["col1", "col2"], { noCheck: true });
1868
+ * ```
1869
+ */
1870
+ splitSpread(column: string, separator: string, newColumns: string[], options?: {
1871
+ noCheck?: boolean;
1872
+ }): Promise<void>;
1873
+ /**
1874
+ * Extracts a specific number of characters from the beginning (left side) of string values in the specified column.
1875
+ *
1876
+ * @param column - The name of the column containing the strings to be modified.
1877
+ * @param numberOfCharacters - The number of characters to extract from the left side of each string.
1878
+ * @returns A promise that resolves when the strings have been updated.
1879
+ * @category Updating Data
1880
+ *
1881
+ * @example
1882
+ * ```ts
1883
+ * // Replace strings in 'productCode' with their first two characters
1884
+ * // e.g., "ABC-123" becomes "AB"
1885
+ * await table.left("productCode", 2);
1886
+ * ```
1887
+ */
1888
+ left(column: string, numberOfCharacters: number): Promise<void>;
1889
+ /**
1890
+ * Extracts a specific number of characters from the end (right side) of string values in the specified column.
1891
+ *
1892
+ * @param column - The name of the column containing the strings to be modified.
1893
+ * @param numberOfCharacters - The number of characters to extract from the right side of each string.
1894
+ * @returns A promise that resolves when the strings have been updated.
1895
+ * @category Updating Data
1896
+ *
1897
+ * @example
1898
+ * ```ts
1899
+ * // Replace strings in 'productCode' with their last two characters
1900
+ * // e.g., "ABC-123" becomes "23"
1901
+ * await table.right("productCode", 2);
1902
+ * ```
1903
+ */
1904
+ right(column: string, numberOfCharacters: number): Promise<void>;
1905
+ /**
1906
+ * Replaces `NULL` values in the specified columns with a given value.
1907
+ *
1908
+ * @param columns - The column name or an array of column names in which to replace `NULL` values.
1909
+ * @param value - The value to replace `NULL` occurrences with.
1910
+ * @returns A promise that resolves when the `NULL` values have been replaced.
1911
+ * @category Updating Data
1912
+ *
1913
+ * @example
1914
+ * ```ts
1915
+ * // Replace NULL values in 'column1' with 0
1916
+ * await table.replaceNulls("column1", 0);
1917
+ * ```
1918
+ *
1919
+ * @example
1920
+ * ```ts
1921
+ * // Replace NULL values in 'columnA' and 'columnB' with the string "N/A"
1922
+ * await table.replaceNulls(["columnA", "columnB"], "N/A");
1923
+ * ```
1924
+ *
1925
+ * @example
1926
+ * ```ts
1927
+ * // Replace NULL values in 'dateColumn' with a specific date
1928
+ * await table.replaceNulls("dateColumn", new Date("2023-01-01"));
1929
+ * ```
1930
+ */
1931
+ replaceNulls(columns: string | string[], value: number | string | Date | boolean): Promise<void>;
1932
+ /**
1933
+ * Concatenates values from specified columns into a new column.
1934
+ *
1935
+ * @param columns - An array of column names whose values will be concatenated.
1936
+ * @param newColumn - The name of the new column to store the concatenated values.
1937
+ * @param options - An optional object with configuration options:
1938
+ * @param options.separator - The string used to separate concatenated values. Defaults to an empty string (`""`).
1939
+ * @returns A promise that resolves when the concatenation is complete.
1940
+ * @category Updating Data
1941
+ *
1942
+ * @example
1943
+ * ```ts
1944
+ * // Concatenate 'firstName' and 'lastName' into a new 'fullName' column
1945
+ * await table.concatenate(["firstName", "lastName"], "fullName");
1946
+ * ```
1947
+ *
1948
+ * @example
1949
+ * ```ts
1950
+ * // Concatenate 'city' and 'country' into 'location', separated by a comma and space
1951
+ * await table.concatenate(["city", "country"], "location", { separator: ", " });
1952
+ * ```
1953
+ */
1954
+ concatenate(columns: string[], newColumn: string, options?: {
1955
+ separator?: string;
1956
+ }): Promise<void>;
1957
+ /**
1958
+ * Concatenates values from multiple columns into a new column with labeled rows.
1959
+ *
1960
+ * This method creates a new column where each value is a concatenation of the specified columns,
1961
+ * with each column value prefixed by its column name and a colon, followed by a newline.
1962
+ * Column entries are separated by double newlines ("\n\n").
1963
+ *
1964
+ * All values must be string, otherwise an error will be thrown. Use the `convert()` method first to convert non-string columns to string.
1965
+ *
1966
+ * If a column value is `NULL`, it will be replaced by `'Unknown'` in the concatenated result.
1967
+ *
1968
+ * @param columns - An array of column names whose values will be concatenated with labels.
1969
+ * @param newColumn - The name of the new column to create with the concatenated values.
1970
+ * @returns A promise that resolves when the concatenation is complete.
1971
+ * @category Updating Data
1972
+ *
1973
+ * @example
1974
+ * ```ts
1975
+ * // Concatenate multiple string columns into a labeled text field
1976
+ * await table.concatenateRow(
1977
+ * ["summary", "findings", "context", "date", "quote"],
1978
+ * "fullText"
1979
+ * );
1980
+ * // Result in "fullText" will look like:
1981
+ * // summary:
1982
+ * // [value]
1983
+ * //
1984
+ * // findings:
1985
+ * // [value]
1986
+ * //
1987
+ * // context:
1988
+ * // [value]
1989
+ * //
1990
+ * // date:
1991
+ * // [value]
1992
+ * //
1993
+ * // quote:
1994
+ * // [value]
1995
+ * ```
1996
+ *
1997
+ * @example
1998
+ * ```ts
1999
+ * // Convert numeric columns to strings first, then concatenate
2000
+ * // NULL values will appear as 'Unknown'
2001
+ * await table.convert({ age: "string", salary: "string" });
2002
+ * await table.concatenateRow(["name", "age", "salary"], "profile");
2003
+ * ```
2004
+ */
2005
+ concatenateRow(columns: string[], newColumn: string): Promise<void>;
2006
+ /**
2007
+ * Unnests (expands) rows by splitting a column's string values into multiple rows based on a separator.
2008
+ *
2009
+ * Each value in the specified column is split using the provided separator, and a new row is created for each resulting substring. All other column values are duplicated across the newly created rows.
2010
+ *
2011
+ * @param column - The name of the column containing string values to be split and unnested.
2012
+ * @param separator - The delimiter string used to split the column values.
2013
+ * @returns A promise that resolves when the unnesting is complete.
2014
+ * @category Updating Data
2015
+ *
2016
+ * @example
2017
+ * ```ts
2018
+ * // Unnest 'tags' column separated by commas
2019
+ * // Before: [{ id: 1, tags: "red,blue,green" }]
2020
+ * // After: [{ id: 1, tags: "red" }, { id: 1, tags: "blue" }, { id: 1, tags: "green" }]
2021
+ * await table.unnest("tags", ",");
2022
+ * ```
2023
+ *
2024
+ * @example
2025
+ * ```ts
2026
+ * // Unnest 'neighborhoods' column separated by " / "
2027
+ * // Before: [{ city: "Montreal", neighborhoods: "Old Montreal / Chinatown / Griffintown" }]
2028
+ * // After: [{ city: "Montreal", neighborhoods: "Old Montreal" },
2029
+ * // { city: "Montreal", neighborhoods: "Chinatown" },
2030
+ * // { city: "Montreal", neighborhoods: "Griffintown" }]
2031
+ * await table.unnest("neighborhoods", " / ");
2032
+ * ```
2033
+ */
2034
+ unnest(column: string, separator: string): Promise<void>;
2035
+ /**
2036
+ * Repeats rows based on the values in a column.
2037
+ *
2038
+ * If a row has a value of 3 in the specified column, it will be repeated 3 times. If the value is 0 or negative, the row will be removed.
2039
+ *
2040
+ * @param column - The name of the column containing the number of times each row should be repeated.
2041
+ * @param options - An optional object with configuration options:
2042
+ * @param options.index - The name of a new column to store the index of the repeated row (starting at 0).
2043
+ * @category Updating Data
2044
+ *
2045
+ * @example
2046
+ * ```ts
2047
+ * // Before: [{ id: 1, count: 2, category: "A" }, { id: 2, count: 3, category: "B" }]
2048
+ * await table.repeatRows("count");
2049
+ * // After: [{ id: 1, count: 2, category: "A" }, { id: 1, count: 2, category: "A" },
2050
+ * // { id: 2, count: 3, category: "B" }, { id: 2, count: 3, category: "B" }, { id: 2, count: 3, category: "B" }]
2051
+ * ```
2052
+ *
2053
+ * @example
2054
+ * ```ts
2055
+ * // With an index column
2056
+ * await table.repeatRows("count", { index: "copyId" });
2057
+ * // After: [{ id: 1, count: 2, category: "A", copyId: 0 }, { id: 1, count: 2, category: "A", copyId: 1 },
2058
+ * // { id: 2, count: 3, category: "B", copyId: 0 }, { id: 2, count: 3, category: "B", copyId: 1 }, { id: 2, count: 3, category: "B", copyId: 2 }]
2059
+ * ```
2060
+ */
2061
+ repeatRows(column: string, options?: {
2062
+ index?: string;
2063
+ }): Promise<void>;
2064
+ /**
2065
+ * Nests (collapses) rows by aggregating a column's values into a single string per group, separated by a delimiter.
2066
+ *
2067
+ * This is the inverse operation of `unnest()`. Multiple rows are combined into fewer rows by grouping on specified category columns and concatenating the target column values with a separator.
2068
+ *
2069
+ * @param column - The name of the column whose values will be aggregated and concatenated.
2070
+ * @param separator - The delimiter string used to join the column values.
2071
+ * @param categories - The column name or an array of column names to group by.
2072
+ * @returns A promise that resolves when the nesting is complete.
2073
+ * @category Updating Data
2074
+ *
2075
+ * @example
2076
+ * ```ts
2077
+ * // Nest 'neighborhoods' column separated by " / " for each city
2078
+ * // Before: [{ city: "Montreal", neighborhoods: "Old Montreal" },
2079
+ * // { city: "Montreal", neighborhoods: "Chinatown" },
2080
+ * // { city: "Montreal", neighborhoods: "Griffintown" }]
2081
+ * // After: [{ city: "Montreal", neighborhoods: "Old Montreal / Chinatown / Griffintown" }]
2082
+ * await table.nest("neighborhoods", " / ", "city");
2083
+ * ```
2084
+ *
2085
+ * @example
2086
+ * ```ts
2087
+ * // Nest with multiple category columns
2088
+ * // Before: [{ country: "Canada", city: "Montreal", tags: "red" },
2089
+ * // { country: "Canada", city: "Montreal", tags: "blue" }]
2090
+ * // After: [{ country: "Canada", city: "Montreal", tags: "red,blue" }]
2091
+ * await table.nest("tags", ",", ["country", "city"]);
2092
+ * ```
2093
+ */
2094
+ nest(column: string, separator: string, categories: string | string[]): Promise<void>;
2095
+ /**
2096
+ * Rounds numeric values in specified columns.
2097
+ *
2098
+ * @param columns - The column name or an array of column names containing numeric values to be rounded.
2099
+ * @param options - An optional object with configuration options:
2100
+ * @param options.decimals - The number of decimal places to round to. Defaults to `0` (rounds to the nearest integer).
2101
+ * @param options.method - The rounding method to use: `"round"` (rounds to the nearest integer, with halves rounding up), `"ceiling"` (rounds up to the nearest integer), or `"floor"` (rounds down to the nearest integer). Defaults to `"round"`.
2102
+ * @returns A promise that resolves when the numeric values have been rounded.
2103
+ * @category Updating Data
2104
+ *
2105
+ * @example
2106
+ * ```ts
2107
+ * // Round 'column1' values to the nearest integer
2108
+ * await table.round("column1");
2109
+ * ```
2110
+ *
2111
+ * @example
2112
+ * ```ts
2113
+ * // Round 'column1' values to 2 decimal places
2114
+ * await table.round("column1", { decimals: 2 });
2115
+ * ```
2116
+ *
2117
+ * @example
2118
+ * ```ts
2119
+ * // Round 'column1' values down to the nearest integer (floor)
2120
+ * await table.round("column1", { method: "floor" });
2121
+ * ```
2122
+ *
2123
+ * @example
2124
+ * ```ts
2125
+ * // Round 'columnA' and 'columnB' values to 1 decimal place using ceiling method
2126
+ * await table.round(["columnA", "columnB"], { decimals: 1, method: "ceiling" });
2127
+ * ```
2128
+ *
2129
+ * @example
2130
+ * ```ts
2131
+ * // Round 'column1' values to 2 decimal places using the shorthand
2132
+ * await table.round("column1", 2);
2133
+ * ```
2134
+ */
2135
+ round(columns: string | string[], options?: number | {
2136
+ decimals?: number;
2137
+ method?: "round" | "ceiling" | "floor";
2138
+ }): Promise<void>;
2139
+ /**
2140
+ * Updates values in a specified column using a SQL expression.
2141
+ *
2142
+ * @param column - The name of the column to be updated.
2143
+ * @param definition - The SQL expression used to set the new values in the column (e.g., `"column1 * 2"`, `"UPPER(column_name)"`).
2144
+ * @returns A promise that resolves when the column has been updated.
2145
+ * @category Updating Data
2146
+ *
2147
+ * @example
2148
+ * ```ts
2149
+ * // Update 'column1' with the left 5 characters of 'column2'
2150
+ * await table.updateColumn("column1", `LEFT(column2, 5)`);
2151
+ * ```
2152
+ *
2153
+ * @example
2154
+ * ```ts
2155
+ * // Double the values in 'price' column
2156
+ * await table.updateColumn("price", `price * 2`);
2157
+ * ```
2158
+ *
2159
+ * @example
2160
+ * ```ts
2161
+ * // Set 'status' to 'active' where 'isActive' is true
2162
+ * await table.updateColumn("status", `CASE WHEN isActive THEN 'active' ELSE 'inactive' END`);
2163
+ * ```
2164
+ */
2165
+ updateColumn(column: string, definition: string): Promise<void>;
2166
+ /**
2167
+ * Assigns ranks to rows in a new column based on the values of a specified column.
2168
+ *
2169
+ * @param values - The column containing the values to be used for ranking.
2170
+ * @param newColumn - The name of the new column where the ranks will be stored.
2171
+ * @param options - An optional object with configuration options:
2172
+ * @param options.order - The order of values for ranking: `"asc"` for ascending (default) or `"desc"` for descending.
2173
+ * @param options.categories - The column name or an array of column names that define categories for ranking. Ranks will be assigned independently within each category.
2174
+ * @param options.noGaps - A boolean indicating whether to assign ranks without gaps (dense ranking). If `true`, ranks will be consecutive integers (e.g., 1, 2, 2, 3). If `false` (default), ranks might have gaps (e.g., 1, 2, 2, 4).
2175
+ * @returns A promise that resolves when the ranks have been assigned.
2176
+ * @category Analyzing Data
2177
+ *
2178
+ * @example
2179
+ * ```ts
2180
+ * // Compute ranks in a new 'rank' column based on 'score' values (ascending)
2181
+ * await table.ranks("score", "rank");
2182
+ * ```
2183
+ *
2184
+ * @example
2185
+ * ```ts
2186
+ * // Compute ranks in a new 'descRank' column based on 'score' values (descending)
2187
+ * await table.ranks("score", "descRank", { order: "desc" });
2188
+ * ```
2189
+ *
2190
+ * @example
2191
+ * ```ts
2192
+ * // Compute ranks within 'department' categories, based on 'salary' values, without gaps
2193
+ * await table.ranks("salary", "salaryRank", { categories: "department", noGaps: true });
2194
+ * ```
2195
+ *
2196
+ * @example
2197
+ * ```ts
2198
+ * // Compute ranks within multiple categories ('department' and 'city')
2199
+ * await table.ranks("sales", "salesRank", { categories: ["department", "city"] });
2200
+ * ```
2201
+ */
2202
+ ranks(values: string, newColumn: string, options?: {
2203
+ order?: "asc" | "desc";
2204
+ categories?: string | string[];
2205
+ noGaps?: boolean;
2206
+ }): Promise<void>;
2207
+ /**
2208
+ * Assigns quantiles to rows in a new column based on specified column values.
2209
+ *
2210
+ * @param values - The column containing values from which quantiles will be assigned.
2211
+ * @param nbQuantiles - The number of quantiles to divide the data into (e.g., `4` for quartiles, `10` for deciles).
2212
+ * @param newColumn - The name of the new column where the assigned quantiles will be stored.
2213
+ * @param options - An optional object with configuration options:
2214
+ * @param options.categories - The column name or an array of column names that define categories for computing quantiles. Quantiles will be assigned independently within each category.
2215
+ * @returns A promise that resolves when the quantiles have been assigned.
2216
+ * @category Analyzing Data
2217
+ *
2218
+ * @example
2219
+ * ```ts
2220
+ * // Assigns a quantile from 1 to 10 for each row in a new 'quantiles' column, based on 'column1' values.
2221
+ * await table.quantiles("column1", 10, "quantiles");
2222
+ * ```
2223
+ *
2224
+ * @example
2225
+ * ```ts
2226
+ * // Assigns quantiles within 'column2' categories, based on 'column1' values.
2227
+ * await table.quantiles("column1", 10, "quantiles", { categories: "column2" });
2228
+ * ```
2229
+ *
2230
+ * @example
2231
+ * ```ts
2232
+ * // Assigns quartiles (4 quantiles) to 'sales' data, storing results in 'salesQuartile'
2233
+ * await table.quantiles("sales", 4, "salesQuartile");
2234
+ * ```
2235
+ */
2236
+ quantiles(values: string, nbQuantiles: number, newColumn: string, options?: {
2237
+ categories?: string | string[];
2238
+ }): Promise<void>;
2239
+ /**
2240
+ * Assigns bins for specified column values based on an interval size.
2241
+ *
2242
+ * @param values - The column containing values from which bins will be computed.
2243
+ * @param interval - The interval size for binning the values.
2244
+ * @param newColumn - The name of the new column where the bins will be stored.
2245
+ * @param options - An optional object with configuration options:
2246
+ * @param options.startValue - The starting value for binning. Defaults to the minimum value in the specified column.
2247
+ * @returns A promise that resolves when the bins have been assigned.
2248
+ * @category Analyzing Data
2249
+ *
2250
+ * @example
2251
+ * ```ts
2252
+ * // Assigns a bin for each row in a new 'bins' column based on 'column1' values, with an interval of 10.
2253
+ * // If the minimum value in 'column1' is 5, the bins will follow this pattern: "[5-14]", "[15-24]", etc.
2254
+ * await table.bins("column1", 10, "bins");
2255
+ * ```
2256
+ *
2257
+ * @example
2258
+ * ```ts
2259
+ * // Assigns bins starting at a specific value (0) with an interval of 10.
2260
+ * // The bins will follow this pattern: "[0-9]", "[10-19]", "[20-29]", etc.
2261
+ * await table.bins("column1", 10, "bins", { startValue: 0 });
2262
+ * ```
2263
+ */
2264
+ bins(values: string, interval: number, newColumn: string, options?: {
2265
+ startValue?: number;
2266
+ }): Promise<void>;
2267
+ /**
2268
+ * Computes proportions horizontally across specified columns for each row.
2269
+ *
2270
+ * For example, given a table showing counts of men, women, and non-binary individuals per year:
2271
+ *
2272
+ * | Year | Men | Women | NonBinary |
2273
+ * | :--- | :-- | :---- | :-------- |
2274
+ * | 2021 | 564 | 685 | 145 |
2275
+ * | 2022 | 354 | 278 | 56 |
2276
+ * | 2023 | 856 | 321 | 221 |
2277
+ *
2278
+ * This method computes the proportion of men, women, and non-binary individuals on each row, adding new columns for these proportions.
2279
+ *
2280
+ * @example
2281
+ * ```ts
2282
+ * // Compute horizontal proportions for 'Men', 'Women', and 'NonBinary' columns, rounded to 2 decimal places
2283
+ * await table.proportionsHorizontal(["Men", "Women", "NonBinary"], { decimals: 2 });
2284
+ * ```
2285
+ *
2286
+ * The table will then look like this:
2287
+ *
2288
+ * | Year | Men | Women | NonBinary | MenPerc | WomenPerc | NonBinaryPerc |
2289
+ * | :--- | :-- | :---- | :-------- | :------ | :-------- | :------------ |
2290
+ * | 2021 | 564 | 685 | 145 | 0.4 | 0.49 | 0.10 |
2291
+ * | 2022 | 354 | 278 | 56 | 0.51 | 0.4 | 0.08 |
2292
+ * | 2023 | 856 | 321 | 221 | 0.61 | 0.23 | 0.16 |
2293
+ *
2294
+ * By default, the new columns will be named with a suffix of `"Perc"`. You can customize this suffix using the `suffix` option.
2295
+ *
2296
+ * @example
2297
+ * ```ts
2298
+ * // Compute horizontal proportions with a custom suffix "Prop"
2299
+ * await table.proportionsHorizontal(["Men", "Women", "NonBinary"], { suffix: "Prop", decimals: 2 });
2300
+ * ```
2301
+ *
2302
+ * The table will then look like this:
2303
+ *
2304
+ * | Year | Men | Women | NonBinary | MenProp | WomenProp | NonBinaryProp |
2305
+ * | :--- | :-- | :---- | :-------- | :------ | :-------- | :------------ |
2306
+ * | 2021 | 564 | 685 | 145 | 0.4 | 0.49 | 0.10 |
2307
+ * | 2022 | 354 | 278 | 56 | 0.51 | 0.4 | 0.08 |
2308
+ * | 2023 | 856 | 321 | 221 | 0.61 | 0.23 | 0.16 |
2309
+ *
2310
+ * @param columns - An array of column names for which proportions will be computed on each row.
2311
+ * @param options - An optional object with configuration options:
2312
+ * @param options.suffix - A string suffix to append to the names of the new columns storing the computed proportions. Defaults to `"Perc"`.
2313
+ * @param options.decimals - The number of decimal places to round the computed proportions. Defaults to `undefined` (no rounding).
2314
+ * @returns A promise that resolves when the horizontal proportions have been computed.
2315
+ * @category Analyzing Data
2316
+ */
2317
+ proportionsHorizontal(columns: string[], options?: {
2318
+ suffix?: string;
2319
+ decimals?: number;
2320
+ }): Promise<void>;
2321
+ /**
2322
+ * Computes proportions vertically over a column's values, relative to the sum of all values in that column (or within specified categories).
2323
+ *
2324
+ * @param column - The column containing values for which proportions will be computed. The proportions are calculated based on the sum of values in the specified column.
2325
+ * @param newColumn - The name of the new column where the proportions will be stored.
2326
+ * @param options - An optional object with configuration options:
2327
+ * @param options.categories - The column name or an array of column names that define categories for computing proportions. Proportions will be calculated independently within each category.
2328
+ * @param options.decimals - The number of decimal places to round the computed proportions. Defaults to `undefined` (no rounding).
2329
+ * @returns A promise that resolves when the vertical proportions have been computed.
2330
+ * @category Analyzing Data
2331
+ *
2332
+ * @example
2333
+ * ```ts
2334
+ * // Add a new column 'perc' with each 'column1' value divided by the sum of all 'column1' values
2335
+ * await table.proportionsVertical("column1", "perc");
2336
+ * ```
2337
+ *
2338
+ * @example
2339
+ * ```ts
2340
+ * // Compute proportions for 'column1' within 'column2' categories, rounded to two decimal places
2341
+ * await table.proportionsVertical("column1", "perc", { categories: "column2", decimals: 2 });
2342
+ * ```
2343
+ *
2344
+ * @example
2345
+ * ```ts
2346
+ * // Compute proportions for 'sales' within 'region' and 'product_type' categories
2347
+ * await table.proportionsVertical("sales", "sales_proportion", { categories: ["region", "product_type"] });
2348
+ * ```
2349
+ */
2350
+ proportionsVertical(column: string, newColumn: string, options?: {
2351
+ categories?: string | string[];
2352
+ decimals?: number;
2353
+ }): Promise<void>;
2354
+ /**
2355
+ * Creates a summary table based on specified values, categories, and summary operations.
2356
+ * This method allows you to aggregate data, calculate statistics (e.g., count, mean, sum), and group results by categorical columns.
2357
+ *
2358
+ * @param options - An object with configuration options for summarization:
2359
+ * @param options.values - The column name or an array of column names whose values will be summarized. If omitted, all columns will be summarized.
2360
+ * @param options.categories - The column name or an array of column names that define categories for the summarization. Results will be grouped by these categories.
2361
+ * @param options.summaries - The summary operations to be performed. Can be a single operation (e.g., `"mean"`), an array of operations (e.g., `["min", "max"]`), or an object mapping new column names to operations (e.g., `{ avgSalary: "mean" }`). Supported operations include: `"count"`, `"countUnique"`, `"countNull"`, `"min"`, `"max"`, `"mean"`, `"median"`, `"sum"`, `"skew"`, `"stdDev"`, `"var"`.
2362
+ * @param options.decimals - The number of decimal places to round the summarized values. Defaults to `undefined` (no rounding).
2363
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
2364
+ * @param options.toMs - If `true`, timestamps, dates, and times will be converted to milliseconds before summarizing. This is useful when summarizing mixed data types (numbers and dates) as values must be of the same type for aggregation.
2365
+ * @param options.noColumnValue - If `true`, the default `value` column will be removed. This option only works when summarizing a single column without categories. Defaults to `false`.
2366
+ * @returns A promise that resolves to a table instance containing the summarized data (either the modified current table or a new table).
2367
+ * @category Analyzing Data
2368
+ *
2369
+ * @example
2370
+ * ```ts
2371
+ * // Summarize all columns with all available summary operations, overwriting the current table
2372
+ * const columns = await table.getColumns();
2373
+ * await table.summarize({ values: columns });
2374
+ * ```
2375
+ *
2376
+ * @example
2377
+ * ```ts
2378
+ * // Summarize all columns and store the results in a new table with a generated name
2379
+ * const columns = await table.getColumns();
2380
+ * const summaryTable = await table.summarize({ values: columns, outputTable: true });
2381
+ * ```
2382
+ *
2383
+ * @example
2384
+ * ```ts
2385
+ * // Summarize all columns and store the results in a new table named 'mySummary'
2386
+ * const columns = await table.getColumns();
2387
+ * const mySummaryTable = await table.summarize({ values: columns, outputTable: "mySummary" });
2388
+ * ```
2389
+ *
2390
+ * @example
2391
+ * ```ts
2392
+ * // Summarize a single column ('sales') with all available summary operations
2393
+ * await table.summarize({ values: "sales" });
2394
+ * ```
2395
+ *
2396
+ * @example
2397
+ * ```ts
2398
+ * // Summarize multiple columns ('sales' and 'profit') with all available summary operations
2399
+ * await table.summarize({ values: ["sales", "profit"] });
2400
+ * ```
2401
+ *
2402
+ * @example
2403
+ * ```ts
2404
+ * // Summarize 'sales' by 'region' (single category)
2405
+ * await table.summarize({ values: "sales", categories: "region" });
2406
+ * ```
2407
+ *
2408
+ * @example
2409
+ * ```ts
2410
+ * // Summarize 'sales' by 'region' and 'product_type' (multiple categories)
2411
+ * await table.summarize({ values: "sales", categories: ["region", "product_type"] });
2412
+ * ```
2413
+ *
2414
+ * @example
2415
+ * ```ts
2416
+ * // Summarize 'sales' by 'region' with a specific summary operation (mean)
2417
+ * await table.summarize({ values: "sales", categories: "region", summaries: "mean" });
2418
+ * ```
2419
+ *
2420
+ * @example
2421
+ * ```ts
2422
+ * // Summarize 'sales' by 'region' with specific summary operations (mean and sum)
2423
+ * await table.summarize({ values: "sales", categories: "region", summaries: ["mean", "sum"] });
2424
+ * ```
2425
+ *
2426
+ * @example
2427
+ * ```ts
2428
+ * // Summarize 'sales' by 'region' with custom named summary operations
2429
+ * await table.summarize({ values: "sales", categories: "region", summaries: { averageSales: "mean", totalSales: "sum" } });
2430
+ * ```
2431
+ *
2432
+ * @example
2433
+ * ```ts
2434
+ * // Summarize 'price' and 'cost', rounding aggregated values to 2 decimal places
2435
+ * await table.summarize({ values: ["price", "cost"], decimals: 2 });
2436
+ * ```
2437
+ *
2438
+ * @example
2439
+ * ```ts
2440
+ * // Summarize 'timestamp_column' by converting to milliseconds first
2441
+ * await table.summarize({ values: "timestamp_column", toMs: true, summaries: "mean" });
2442
+ * ```
2443
+ *
2444
+ * @example
2445
+ * ```ts
2446
+ * // Summarize a single column 'value_column' without the default 'value' column in the output
2447
+ * await table.summarize({ values: "value_column", noColumnValue: true });
2448
+ * ```
2449
+ */
2450
+ summarize(options?: {
2451
+ values?: string | string[];
2452
+ categories?: string | string[];
2453
+ summaries?: ("count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var") | ("count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var")[] | {
2454
+ [key: string]: "count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var";
2455
+ };
2456
+ decimals?: number;
2457
+ outputTable?: string | boolean;
2458
+ toMs?: boolean;
2459
+ noColumnValue?: boolean;
2460
+ }): Promise<this>;
2461
+ /**
2462
+ * Computes the cumulative sum of values in a column. For this method to work properly, ensure your data is sorted first.
2463
+ *
2464
+ * @param column - The name of the column storing the values to be accumulated.
2465
+ * @param newColumn - The name of the new column in which the computed cumulative values will be stored.
2466
+ * @param options - An optional object with configuration options:
2467
+ * @param options.categories - The column name or an array of column names that define categories for the accumulation. Accumulation will be performed independently within each category.
2468
+ * @returns A promise that resolves when the cumulative sum has been computed.
2469
+ * @category Analyzing Data
2470
+ *
2471
+ * @example
2472
+ * ```ts
2473
+ * // Compute the cumulative sum of 'sales' in a new 'cumulativeSales' column
2474
+ * // Ensure the table is sorted by a relevant column (e.g., date) before calling this method.
2475
+ * await table.accumulate("sales", "cumulativeSales");
2476
+ * ```
2477
+ *
2478
+ * @example
2479
+ * ```ts
2480
+ * // Compute the cumulative sum of 'orders' within 'customer_id' categories
2481
+ * // Ensure the table is sorted by 'customer_id' and then by a relevant order column (e.g., order_date).
2482
+ * await table.accumulate("orders", "cumulativeOrders", { categories: "customer_id" });
2483
+ * ```
2484
+ *
2485
+ * @example
2486
+ * ```ts
2487
+ * // Compute the cumulative sum of 'revenue' within 'region' and 'product_category' categories
2488
+ * await table.accumulate("revenue", "cumulativeRevenue", { categories: ["region", "product_category"] });
2489
+ * ```
2490
+ */
2491
+ accumulate(column: string, newColumn: string, options?: {
2492
+ categories?: string | string[];
2493
+ }): Promise<void>;
2494
+ /**
2495
+ * Computes rolling aggregations (e.g., rolling average, min, max) over a specified column.
2496
+ * For rows without enough preceding or following rows to form a complete window, `NULL` will be returned.
2497
+ * For this method to work properly, ensure your data is sorted by the relevant column(s) first.
2498
+ *
2499
+ * @param column - The name of the column storing the values to be aggregated.
2500
+ * @param newColumn - The name of the new column in which the computed rolling values will be stored.
2501
+ * @param summary - The aggregation function to apply: `"min"`, `"max"`, `"mean"`, `"median"`, or `"sum"`.
2502
+ * @param preceding - The number of preceding rows to include in the rolling window.
2503
+ * @param following - The number of following rows to include in the rolling window.
2504
+ * @param options - An optional object with configuration options:
2505
+ * @param options.categories - The column name or an array of column names that define categories for the aggregation. Rolling aggregations will be computed independently within each category.
2506
+ * @param options.decimals - The number of decimal places to round the aggregated values. Defaults to `undefined` (no rounding).
2507
+ * @returns A promise that resolves when the rolling aggregation is complete.
2508
+ * @category Analyzing Data
2509
+ *
2510
+ * @example
2511
+ * ```ts
2512
+ * // Compute a 7-day rolling average of 'sales' with 3 preceding and 3 following rows
2513
+ * // (total window size of 7: 3 preceding + current + 3 following)
2514
+ * await table.rolling("sales", "rollingAvgSales", "mean", 3, 3);
2515
+ * ```
2516
+ *
2517
+ * @example
2518
+ * ```ts
2519
+ * // Compute a rolling sum of 'transactions' within 'customer_id' categories
2520
+ * await table.rolling("transactions", "rollingSumTransactions", "sum", 5, 0, { categories: "customer_id" });
2521
+ * ```
2522
+ *
2523
+ * @example
2524
+ * ```ts
2525
+ * // Compute a rolling maximum of 'temperature' rounded to 1 decimal place
2526
+ * await table.rolling("temperature", "rollingMaxTemp", "max", 2, 2, { decimals: 1 });
2527
+ * ```
2528
+ */
2529
+ rolling(column: string, newColumn: string, summary: "min" | "max" | "mean" | "median" | "sum", preceding: number, following: number, options?: {
2530
+ categories?: string | string[];
2531
+ decimals?: number;
2532
+ }): Promise<void>;
2533
+ /**
2534
+ * Calculates correlations between columns. If no `x` and `y` columns are specified, the method computes the correlations for all numeric column combinations.
2535
+ * Note that correlation is symmetrical: the correlation of `x` with `y` is the same as `y` with `x`.
2536
+ *
2537
+ * @param options - An optional object with configuration options:
2538
+ * @param options.x - The name of the column for the x-values. If omitted, correlations will be computed for all numeric columns.
2539
+ * @param options.y - The name of the column for the y-values. If omitted, correlations will be computed for all numeric columns.
2540
+ * @param options.categories - The column name or an array of column names that define categories. Correlation calculations will be performed independently for each category.
2541
+ * @param options.decimals - The number of decimal places to round the correlation values. Defaults to `undefined` (no rounding).
2542
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
2543
+ * @returns A promise that resolves to a table instance containing the correlation results (either the modified current table or a new table).
2544
+ * @category Analyzing Data
2545
+ *
2546
+ * @example
2547
+ * ```ts
2548
+ * // Compute correlations between all numeric columns, overwriting the current table
2549
+ * await table.correlations();
2550
+ * ```
2551
+ *
2552
+ * @example
2553
+ * ```ts
2554
+ * // Compute correlations between 'column1' and all other numeric columns
2555
+ * await table.correlations({ x: "column1" });
2556
+ * ```
2557
+ *
2558
+ * @example
2559
+ * ```ts
2560
+ * // Compute the correlation between 'column1' and 'column2'
2561
+ * await table.correlations({ x: "column1", y: "column2" });
2562
+ * ```
2563
+ *
2564
+ * @example
2565
+ * ```ts
2566
+ * // Compute correlations within 'categoryColumn' and store results in a new table
2567
+ * const correlationTable = await table.correlations({ categories: "categoryColumn", outputTable: true });
2568
+ * ```
2569
+ *
2570
+ * @example
2571
+ * ```ts
2572
+ * // Compute correlations, rounded to 2 decimal places
2573
+ * await table.correlations({ decimals: 2 });
2574
+ * ```
2575
+ */
2576
+ correlations(options?: {
2577
+ x?: string;
2578
+ y?: string;
2579
+ categories?: string | string[];
2580
+ decimals?: number;
2581
+ outputTable?: string | boolean;
2582
+ }): Promise<this>;
2583
+ /**
2584
+ * Performs linear regression analysis. The results include the slope, the y-intercept, and the R-squared value.
2585
+ * If no `x` and `y` columns are specified, the method computes linear regression analysis for all numeric column permutations.
2586
+ * Note that linear regression analysis is asymmetrical: the linear regression of `x` over `y` is not the same as `y` over `x`.
2587
+ *
2588
+ * @param options - An optional object with configuration options:
2589
+ * @param options.x - The name of the column for the independent variable (x-values). If omitted, linear regressions will be computed for all numeric columns as x.
2590
+ * @param options.y - The name of the column for the dependent variable (y-values). If omitted, linear regressions will be computed for all numeric columns as y.
2591
+ * @param options.categories - The column name or an array of column names that define categories. Linear regression analysis will be performed independently for each category.
2592
+ * @param options.decimals - The number of decimal places to round the regression values (slope, intercept, r-squared). Defaults to `undefined` (no rounding).
2593
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
2594
+ * @returns A promise that resolves to a table instance containing the linear regression results (either the modified current table or a new table).
2595
+ * @category Analyzing Data
2596
+ *
2597
+ * @example
2598
+ * ```ts
2599
+ * // Compute all linear regressions between all numeric columns, overwriting the current table
2600
+ * await table.linearRegressions();
2601
+ * ```
2602
+ *
2603
+ * @example
2604
+ * ```ts
2605
+ * // Compute linear regressions with 'column1' as the independent variable and all other numeric columns as dependent variables
2606
+ * await table.linearRegressions({ x: "column1" });
2607
+ * ```
2608
+ *
2609
+ * @example
2610
+ * ```ts
2611
+ * // Compute the linear regression of 'sales' (y) over 'advertising' (x)
2612
+ * await table.linearRegressions({ x: "advertising", y: "sales" });
2613
+ * ```
2614
+ *
2615
+ * @example
2616
+ * ```ts
2617
+ * // Compute linear regressions within 'region' categories and store results in a new table
2618
+ * const regressionTable = await table.linearRegressions({ categories: "region", outputTable: true });
2619
+ * ```
2620
+ *
2621
+ * @example
2622
+ * ```ts
2623
+ * // Compute linear regressions, rounded to 3 decimal places
2624
+ * await table.linearRegressions({ decimals: 3 });
2625
+ * ```
2626
+ */
2627
+ linearRegressions(options?: {
2628
+ x?: string;
2629
+ y?: string;
2630
+ categories?: string | string[];
2631
+ decimals?: number;
2632
+ outputTable?: string | boolean;
2633
+ }): Promise<this>;
2634
+ /**
2635
+ * Identifies outliers in a specified column using the Interquartile Range (IQR) method.
2636
+ *
2637
+ * @param column - The name of the column in which outliers will be identified.
2638
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for outlier, `FALSE` otherwise) will be stored.
2639
+ * @param options - An optional object with configuration options:
2640
+ * @param options.categories - The column name or an array of column names that define categories. Outlier detection will be performed independently within each category.
2641
+ * @returns A promise that resolves when the outliers have been identified.
2642
+ * @category Analyzing Data
2643
+ *
2644
+ * @example
2645
+ * ```ts
2646
+ * // Look for outliers in the 'age' column and store results in a new 'isOutlier' column
2647
+ * await table.outliersIQR("age", "isOutlier");
2648
+ * ```
2649
+ *
2650
+ * @example
2651
+ * ```ts
2652
+ * // Look for outliers in 'salary' within 'gender' categories
2653
+ * await table.outliersIQR("salary", "salaryOutlier", { categories: "gender" });
2654
+ * ```
2655
+ */
2656
+ outliersIQR(column: string, newColumn: string, options?: {
2657
+ categories?: string | string[];
2658
+ }): Promise<void>;
2659
+ /**
2660
+ * Computes the Z-score for values in a specified column.
2661
+ *
2662
+ * @param column - The name of the column for which Z-scores will be calculated.
2663
+ * @param newColumn - The name of the new column where the computed Z-scores will be stored.
2664
+ * @param options - An optional object with configuration options:
2665
+ * @param options.categories - The column name or an array of column names that define categories. Z-scores will be calculated independently within each category.
2666
+ * @param options.decimals - The number of decimal places to round the Z-score values. Defaults to `undefined` (no rounding).
2667
+ * @returns A promise that resolves when the Z-scores have been computed.
2668
+ * @category Analyzing Data
2669
+ *
2670
+ * @example
2671
+ * ```ts
2672
+ * // Calculate the Z-score for 'age' values and store results in a new 'ageZScore' column
2673
+ * await table.zScore("age", "ageZScore");
2674
+ * ```
2675
+ *
2676
+ * @example
2677
+ * ```ts
2678
+ * // Calculate Z-scores for 'salary' within 'department' categories
2679
+ * await table.zScore("salary", "salaryZScore", { categories: "department" });
2680
+ * ```
2681
+ *
2682
+ * @example
2683
+ * ```ts
2684
+ * // Calculate Z-scores for 'score', rounded to 2 decimal places
2685
+ * await table.zScore("score", "scoreZScore", { decimals: 2 });
2686
+ * ```
2687
+ */
2688
+ zScore(column: string, newColumn: string, options?: {
2689
+ categories?: string | string[];
2690
+ decimals?: number;
2691
+ }): Promise<void>;
2692
+ /**
2693
+ * Normalizes the values in a column using min-max normalization.
2694
+ *
2695
+ * @param column - The name of the column in which values will be normalized.
2696
+ * @param newColumn - The name of the new column where normalized values will be stored.
2697
+ * @param options - An optional object with configuration options:
2698
+ * @param options.categories - The column name or an array of column names that define categories for the normalization. Normalization will be performed independently within each category.
2699
+ * @param options.decimals - The number of decimal places to round the normalized values. Defaults to `undefined` (no rounding).
2700
+ * @returns A promise that resolves when the values have been normalized.
2701
+ * @category Analyzing Data
2702
+ *
2703
+ * @example
2704
+ * ```ts
2705
+ * // Normalize the values in 'column1' and store them in a new 'normalizedColumn1' column
2706
+ * await table.normalize("column1", "normalizedColumn1");
2707
+ * ```
2708
+ *
2709
+ * @example
2710
+ * ```ts
2711
+ * // Normalize 'value' within 'group' categories
2712
+ * await table.normalize("value", "normalizedValue", { categories: "group" });
2713
+ * ```
2714
+ *
2715
+ * @example
2716
+ * ```ts
2717
+ * // Normalize 'data' values, rounded to 2 decimal places
2718
+ * await table.normalize("data", "normalizedData", { decimals: 2 });
2719
+ * ```
2720
+ */
2721
+ normalize(column: string, newColumn: string, options?: {
2722
+ categories?: string | string[];
2723
+ decimals?: number;
2724
+ }): Promise<void>;
2725
+ /**
2726
+ * Updates data in the table using a JavaScript function. The function receives the existing rows as an array of objects and must return the modified rows as an array of objects.
2727
+ * This method offers high flexibility for data manipulation but can be slow for large tables as it involves transferring data between DuckDB and JavaScript.
2728
+ * This method does not work with tables containing geometries.
2729
+ *
2730
+ * @param dataModifier - A synchronous or asynchronous function that takes the existing rows (as an array of objects) and returns the modified rows (as an array of objects).
2731
+ * @returns A promise that resolves when the data has been updated.
2732
+ * @category Updating Data
2733
+ *
2734
+ * @example
2735
+ * ```ts
2736
+ * // Add 1 to values in 'column1'. If values are not numbers, they are replaced by null.
2737
+ * await table.updateWithJS((rows) => {
2738
+ * const modifiedRows = rows.map(d => ({
2739
+ * ...d,
2740
+ * column1: typeof d.column1 === "number" ? d.column1 + 1 : null,
2741
+ * }));
2742
+ * return modifiedRows;
2743
+ * });
2744
+ * ```
2745
+ *
2746
+ * @example
2747
+ * ```ts
2748
+ * // Convert a date string to a Date object in 'dateColumn'
2749
+ * await table.updateWithJS((rows) => {
2750
+ * const modifiedRows = rows.map(d => ({
2751
+ * ...d,
2752
+ * dateColumn: typeof d.dateColumn === "string" ? new Date(d.dateColumn) : d.dateColumn,
2753
+ * }));
2754
+ * return modifiedRows;
2755
+ * });
2756
+ * ```
2757
+ */
2758
+ updateWithJS(dataModifier: ((rows: {
2759
+ [key: string]: number | string | Date | boolean | null;
2760
+ }[]) => Promise<{
2761
+ [key: string]: number | string | Date | boolean | null;
2762
+ }[]>) | ((rows: {
2763
+ [key: string]: number | string | Date | boolean | null;
2764
+ }[]) => {
2765
+ [key: string]: number | string | Date | boolean | null;
2766
+ }[])): Promise<void>;
2767
+ /**
2768
+ * Returns the schema of the table, including column names and their data types.
2769
+ *
2770
+ * @returns A promise that resolves to an array of objects, where each object represents a column with its name and data type.
2771
+ * @category Getting Data
2772
+ *
2773
+ * @example
2774
+ * ```ts
2775
+ * // Get the schema of the table
2776
+ * const schema = await table.getSchema();
2777
+ * console.table(schema); // Log the schema in a readable table format
2778
+ * ```
2779
+ */
2780
+ getSchema(): Promise<{
2781
+ [key: string]: string | null;
2782
+ }[]>;
2783
+ /**
2784
+ * Returns descriptive statistical information about the columns, including details like data types, number of null values, and distinct values.
2785
+ *
2786
+ * @returns A promise that resolves to an array of objects, each representing descriptive statistics for a column.
2787
+ * @category Getting Data
2788
+ *
2789
+ * @example
2790
+ * ```ts
2791
+ * // Get and log descriptive information about the table's columns
2792
+ * const description = await table.getDescription();
2793
+ * console.table(description);
2794
+ * ```
2795
+ */
2796
+ getDescription(): Promise<{
2797
+ [key: string]: unknown;
2798
+ }[]>;
2799
+ /**
2800
+ * Returns the name of the table.
2801
+ *
2802
+ * @returns The name of the table as a string.
2803
+ * @category Getting Data
2804
+ *
2805
+ * @example
2806
+ * ```ts
2807
+ * // Get the table name
2808
+ * const tableName = table.getTableName();
2809
+ * console.log(tableName); // e.g., "employees"
2810
+ * ```
2811
+ */
2812
+ getTableName(): string;
2813
+ /**
2814
+ * Returns a list of all column names in the table.
2815
+ *
2816
+ * @returns A promise that resolves to an array of strings, where each string is a column name.
2817
+ * @category Getting Data
2818
+ *
2819
+ * @example
2820
+ * ```ts
2821
+ * // Get all column names from the table
2822
+ * const columns = await table.getColumns();
2823
+ * console.log(columns); // e.g., ["id", "name", "age"]
2824
+ * ```
2825
+ */
2826
+ getColumns(): Promise<string[]>;
2827
+ /**
2828
+ * Normalizes string values in a column by:
2829
+ * 1. Stripping accents
2830
+ * 2. Optionally stripping punctuation (default: true)
2831
+ * 3. Converting to lowercase
2832
+ * 4. Normalizing whitespace (multiple spaces/tabs/newlines → single space)
2833
+ * 5. Trimming leading/trailing whitespace
2834
+ *
2835
+ * Produces identical output to `journalism-format`'s `normalizeString()` function
2836
+ * for all common cases including accented Latin characters.
2837
+ *
2838
+ * @param column The column containing the text to normalize
2839
+ * @param newColumn The column to store the normalized results
2840
+ * @param options Configuration options
2841
+ * @param options.stripPunctuation Strip punctuation and underscores (default: true)
2842
+ *
2843
+ * @returns A promise that resolves when the operation is complete
2844
+ *
2845
+ * @example
2846
+ * ```ts
2847
+ * // Normalize text column and store in new column
2848
+ * await table.normalizeString("recipeName", "recipeNameNormalized");
2849
+ * // "Épicerie Parisienne!" → "epicerie parisienne"
2850
+ * ```
2851
+ *
2852
+ * @example
2853
+ * ```ts
2854
+ * // Keep punctuation for emails and URLs
2855
+ * await table.normalizeString("email", "emailNormalized", { stripPunctuation: false });
2856
+ * // "User@Example.com" → "user@example.com"
2857
+ * await table.normalizeString("url", "urlNormalized", { stripPunctuation: false });
2858
+ * // "https://Example.com/path" → "https://example.com/path"
2859
+ * ```
2860
+ *
2861
+ * @category Text Processing
2862
+ */
2863
+ normalizeString(column: string, newColumn: string, options?: {
2864
+ stripPunctuation?: boolean;
2865
+ }): Promise<void>;
2866
+ /**
2867
+ * Returns the number of columns in the table.
2868
+ *
2869
+ * @returns A promise that resolves to a number representing the total count of columns.
2870
+ * @category Getting Data
2871
+ *
2872
+ * @example
2873
+ * ```ts
2874
+ * // Get the number of columns in the table
2875
+ * const nbColumns = await table.getNbColumns();
2876
+ * console.log(nbColumns); // e.g., 3
2877
+ * ```
2878
+ */
2879
+ getNbColumns(): Promise<number>;
2880
+ /**
2881
+ * Returns the total number of characters in a column storing strings.
2882
+ *
2883
+ * @param column - The name of the string column to count characters from.
2884
+ * @returns A promise that resolves to the total number of characters across all rows in the specified column.
2885
+ * @category Getting Data
2886
+ *
2887
+ * @example
2888
+ * ```ts
2889
+ * // Get the total number of characters in the 'name' column
2890
+ * const totalChars = await table.getNbCharacters("name");
2891
+ * console.log(totalChars); // e.g., 523
2892
+ * ```
2893
+ */
2894
+ getNbCharacters(column: string): Promise<number>;
2895
+ /**
2896
+ * Returns the number of rows in the table.
2897
+ *
2898
+ * @param options - An optional object with configuration options:
2899
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
2900
+ * @returns A promise that resolves to a number representing the total count of rows.
2901
+ * @category Getting Data
2902
+ *
2903
+ * @example
2904
+ * ```ts
2905
+ * // Get the number of rows in the table
2906
+ * const nbRows = await table.getNbRows();
2907
+ * console.log(nbRows); // e.g., 100
2908
+ * ```
2909
+ *
2910
+ * @example
2911
+ * ```ts
2912
+ * // Get the number of rows where 'category' is 'Book'
2913
+ * const nbBooks = await table.getNbRows({ conditions: "category = 'Book'" });
2914
+ * console.log(nbBooks);
2915
+ * ```
2916
+ */
2917
+ getNbRows(options?: {
2918
+ conditions?: string;
2919
+ }): Promise<number>;
2920
+ /**
2921
+ * Returns the total number of values in the table (number of columns multiplied by the number of rows).
2922
+ *
2923
+ * @returns A promise that resolves to a number representing the total count of values.
2924
+ * @category Getting Data
2925
+ *
2926
+ * @example
2927
+ * ```ts
2928
+ * // Get the total number of values in the table
2929
+ * const nbValues = await table.getNbValues();
2930
+ * console.log(nbValues); // e.g., 300 (if 3 columns and 100 rows)
2931
+ * ```
2932
+ */
2933
+ getNbValues(): Promise<number>;
2934
+ /**
2935
+ * Returns the data types of all columns in the table.
2936
+ *
2937
+ * @returns A promise that resolves to an object where keys are column names and values are their corresponding data types (e.g., `{ "id": "BIGINT", "name": "VARCHAR" }`).
2938
+ * @category Getting Data
2939
+ *
2940
+ * @example
2941
+ * ```ts
2942
+ * // Get the data types of all columns
2943
+ * const dataTypes = await table.getTypes();
2944
+ * console.log(dataTypes);
2945
+ * ```
2946
+ */
2947
+ getTypes(): Promise<{
2948
+ [key: string]: string;
2949
+ }>;
2950
+ /**
2951
+ * Returns all values from a specific column.
2952
+ *
2953
+ * @param column - The name of the column from which to retrieve values.
2954
+ * @returns A promise that resolves to an array containing all values from the specified column.
2955
+ * @category Getting Data
2956
+ *
2957
+ * @example
2958
+ * ```ts
2959
+ * // Get all values from the 'productName' column
2960
+ * const productNames = await table.getValues("productName");
2961
+ * console.log(productNames); // e.g., ["Laptop", "Mouse", "Keyboard"]
2962
+ * ```
2963
+ */
2964
+ getValues(column: string): Promise<(string | number | boolean | Date | null)[]>;
2965
+ /**
2966
+ * Returns the minimum value from a specific column.
2967
+ *
2968
+ * @param column - The name of the column from which to retrieve the minimum value.
2969
+ * @returns A promise that resolves to the minimum value of the specified column.
2970
+ * @category Getting Data
2971
+ *
2972
+ * @example
2973
+ * ```ts
2974
+ * // Get the minimum value from the 'price' column
2975
+ * const minPrice = await table.getMin("price");
2976
+ * console.log(minPrice); // e.g., 10.50
2977
+ * ```
2978
+ */
2979
+ getMin(column: string): Promise<string | number | boolean | Date | null>;
2980
+ /**
2981
+ * Returns the maximum value from a specific column.
2982
+ *
2983
+ * @param column - The name of the column from which to retrieve the maximum value.
2984
+ * @returns A promise that resolves to the maximum value of the specified column.
2985
+ * @category Getting Data
2986
+ *
2987
+ * @example
2988
+ * ```ts
2989
+ * // Get the maximum value from the 'price' column
2990
+ * const maxPrice = await table.getMax("price");
2991
+ * console.log(maxPrice); // e.g., 99.99
2992
+ * ```
2993
+ */
2994
+ getMax(column: string): Promise<string | number | boolean | Date | null>;
2995
+ /**
2996
+ * Returns the extent (minimum and maximum values) of a specific column as an array.
2997
+ *
2998
+ * @param column - The name of the column from which to retrieve the extent.
2999
+ * @returns A promise that resolves to an array `[min, max]` containing the minimum and maximum values of the specified column.
3000
+ * @category Getting Data
3001
+ *
3002
+ * @example
3003
+ * ```ts
3004
+ * // Get the extent of the 'temperature' column
3005
+ * const tempExtent = await table.getExtent("temperature");
3006
+ * console.log(tempExtent); // e.g., [15.2, 30.1]
3007
+ * ```
3008
+ */
3009
+ getExtent(column: string): Promise<[
3010
+ string | number | boolean | Date | null,
3011
+ string | number | boolean | Date | null
3012
+ ]>;
3013
+ /**
3014
+ * Returns the mean (average) value from a specific numeric column.
3015
+ *
3016
+ * @param column - The name of the numeric column from which to retrieve the mean value.
3017
+ * @param options - An optional object with configuration options:
3018
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3019
+ * @returns A promise that resolves to the mean value of the specified column.
3020
+ * @category Getting Data
3021
+ *
3022
+ * @example
3023
+ * ```ts
3024
+ * // Get the mean of the 'age' column
3025
+ * const meanAge = await table.getMean("age");
3026
+ * console.log(meanAge); // e.g., 35.75
3027
+ * ```
3028
+ *
3029
+ * @example
3030
+ * ```ts
3031
+ * // Get the mean of the 'salary' column, rounded to 2 decimal places
3032
+ * const meanSalary = await table.getMean("salary", { decimals: 2 });
3033
+ * console.log(meanSalary); // e.g., 55000.23
3034
+ * ```
3035
+ */
3036
+ getMean(column: string, options?: {
3037
+ decimals?: number;
3038
+ }): Promise<number>;
3039
+ /**
3040
+ * Returns the median value from a specific numeric column.
3041
+ *
3042
+ * @param column - The name of the numeric column from which to retrieve the median value.
3043
+ * @param options - An optional object with configuration options:
3044
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3045
+ * @returns A promise that resolves to the median value of the specified column.
3046
+ * @category Getting Data
3047
+ *
3048
+ * @example
3049
+ * ```ts
3050
+ * // Get the median of the 'age' column
3051
+ * const medianAge = await table.getMedian("age");
3052
+ * console.log(medianAge); // e.g., 30
3053
+ * ```
3054
+ *
3055
+ * @example
3056
+ * ```ts
3057
+ * // Get the median of the 'salary' column, rounded to 2 decimal places
3058
+ * const medianSalary = await table.getMedian("salary", { decimals: 2 });
3059
+ * console.log(medianSalary); // e.g., 50000.00
3060
+ * ```
3061
+ */
3062
+ getMedian(column: string, options?: {
3063
+ decimals?: number;
3064
+ }): Promise<number>;
3065
+ /**
3066
+ * Returns the sum of values from a specific numeric column.
3067
+ *
3068
+ * @param column - The name of the numeric column from which to retrieve the sum.
3069
+ * @returns A promise that resolves to the sum of values in the specified column.
3070
+ * @category Getting Data
3071
+ *
3072
+ * @example
3073
+ * ```ts
3074
+ * // Get the sum of the 'quantity' column
3075
+ * const totalQuantity = await table.getSum("quantity");
3076
+ * console.log(totalQuantity); // e.g., 1250
3077
+ * ```
3078
+ */
3079
+ getSum(column: string): Promise<number>;
3080
+ /**
3081
+ * Returns the skewness of values from a specific numeric column.
3082
+ *
3083
+ * @param column - The name of the numeric column from which to retrieve the skewness.
3084
+ * @param options - An optional object with configuration options:
3085
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3086
+ * @returns A promise that resolves to the skewness value of the specified column.
3087
+ * @category Getting Data
3088
+ *
3089
+ * @example
3090
+ * ```ts
3091
+ * // Get the skewness of the 'data' column
3092
+ * const dataSkew = await table.getSkew("data");
3093
+ * console.log(dataSkew); // e.g., 0.5
3094
+ * ```
3095
+ *
3096
+ * @example
3097
+ * ```ts
3098
+ * // Get the skewness of the 'values' column, rounded to 2 decimal places
3099
+ * const valuesSkew = await table.getSkew("values", { decimals: 2 });
3100
+ * console.log(valuesSkew); // e.g., -0.25
3101
+ * ```
3102
+ */
3103
+ getSkew(column: string, options?: {
3104
+ decimals?: number;
3105
+ }): Promise<number>;
3106
+ /**
3107
+ * Returns the standard deviation of values from a specific numeric column.
3108
+ *
3109
+ * @param column - The name of the numeric column from which to retrieve the standard deviation.
3110
+ * @param options - An optional object with configuration options:
3111
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3112
+ * @returns A promise that resolves to the standard deviation value of the specified column.
3113
+ * @category Getting Data
3114
+ *
3115
+ * @example
3116
+ * ```ts
3117
+ * // Get the standard deviation of the 'height' column
3118
+ * const heightStdDev = await table.getStdDev("height");
3119
+ * console.log(heightStdDev); // e.g., 5.2
3120
+ * ```
3121
+ *
3122
+ * @example
3123
+ * ```ts
3124
+ * // Get the standard deviation of the 'score' column, rounded to 3 decimal places
3125
+ * const scoreStdDev = await table.getStdDev("score", { decimals: 3 });
3126
+ * console.log(scoreStdDev); // e.g., 12.345
3127
+ * ```
3128
+ */
3129
+ getStdDev(column: string, options?: {
3130
+ decimals?: number;
3131
+ }): Promise<number>;
3132
+ /**
3133
+ * Returns the variance of values from a specific numeric column.
3134
+ *
3135
+ * @param column - The name of the numeric column from which to retrieve the variance.
3136
+ * @param options - An optional object with configuration options:
3137
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3138
+ * @returns A promise that resolves to the variance value of the specified column.
3139
+ * @category Getting Data
3140
+ *
3141
+ * @example
3142
+ * ```ts
3143
+ * // Get the variance of the 'data' column
3144
+ * const dataVariance = await table.getVar("data");
3145
+ * console.log(dataVariance); // e.g., 25.5
3146
+ * ```
3147
+ *
3148
+ * @example
3149
+ * ```ts
3150
+ * // Get the variance of the 'values' column, rounded to 2 decimal places
3151
+ * const valuesVariance = await table.getVar("values", { decimals: 2 });
3152
+ * console.log(valuesVariance); // e.g., 10.23
3153
+ * ```
3154
+ */
3155
+ getVar(column: string, options?: {
3156
+ decimals?: number;
3157
+ }): Promise<number>;
3158
+ /**
3159
+ * Returns the value of a specific quantile from the values in a given numeric column.
3160
+ *
3161
+ * @param column - The name of the numeric column from which to calculate the quantile.
3162
+ * @param quantile - The quantile to calculate, expressed as a number between 0 and 1 (e.g., `0.25` for the first quartile, `0.5` for the median, `0.75` for the third quartile).
3163
+ * @param options - An optional object with configuration options:
3164
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3165
+ * @returns A promise that resolves to the quantile value of the specified column.
3166
+ * @category Getting Data
3167
+ *
3168
+ * @example
3169
+ * ```ts
3170
+ * // Get the first quartile (25th percentile) of 'column1'
3171
+ * const firstQuartile = await table.getQuantile("column1", 0.25);
3172
+ * console.log(firstQuartile); // e.g., 15.7
3173
+ * ```
3174
+ *
3175
+ * @example
3176
+ * ```ts
3177
+ * // Get the 90th percentile of 'score' values, rounded to 2 decimal places
3178
+ * const ninetiethPercentile = await table.getQuantile("score", 0.9, { decimals: 2 });
3179
+ * console.log(ninetiethPercentile); // e.g., 88.55
3180
+ * ```
3181
+ */
3182
+ getQuantile(column: string, quantile: number, options?: {
3183
+ decimals?: number;
3184
+ }): Promise<number>;
3185
+ /**
3186
+ * Returns unique values from a specific column. The values are returned in ascending order.
3187
+ *
3188
+ * @param column - The name of the column from which to retrieve unique values.
3189
+ * @returns A promise that resolves to an array containing the unique values from the specified column, sorted in ascending order.
3190
+ * @category Getting Data
3191
+ *
3192
+ * @example
3193
+ * ```ts
3194
+ * // Get unique values from the 'category' column
3195
+ * const uniqueCategories = await table.getUniques("category");
3196
+ * console.log(uniqueCategories); // e.g., ["Books", "Clothing", "Electronics"]
3197
+ * ```
3198
+ */
3199
+ getUniques(column: string): Promise<(string | number | boolean | Date | null)[]>;
3200
+ /**
3201
+ * Returns the first row of the table, optionally filtered by SQL conditions.
3202
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3203
+ *
3204
+ * @param options - An optional object with configuration options:
3205
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3206
+ * @returns A promise that resolves to an object representing the first row, or `null` if no rows match the conditions.
3207
+ * @category Getting Data
3208
+ *
3209
+ * @example
3210
+ * ```ts
3211
+ * // Get the very first row of the table
3212
+ * const firstRow = await table.getFirstRow();
3213
+ * console.log(firstRow);
3214
+ * ```
3215
+ *
3216
+ * @example
3217
+ * ```ts
3218
+ * // Get the first row where the 'category' is 'Book'
3219
+ * const firstRowBooks = await table.getFirstRow({ conditions: `category === 'Book'` }); // Using JS syntax
3220
+ * console.log(firstRowBooks);
3221
+ * ```
3222
+ */
3223
+ getFirstRow(options?: {
3224
+ conditions?: string;
3225
+ }): Promise<{
3226
+ [key: string]: string | number | boolean | Date | null;
3227
+ }>;
3228
+ /**
3229
+ * Returns the last row of the table, optionally filtered by SQL conditions.
3230
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3231
+ *
3232
+ * @param options - An optional object with configuration options:
3233
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3234
+ * @returns A promise that resolves to an object representing the last row, or `null` if no rows match the conditions.
3235
+ * @category Getting Data
3236
+ *
3237
+ * @example
3238
+ * ```ts
3239
+ * // Get the very last row of the table
3240
+ * const lastRow = await table.getLastRow();
3241
+ * console.log(lastRow);
3242
+ * ```
3243
+ *
3244
+ * @example
3245
+ * ```ts
3246
+ * // Get the last row where the 'category' is 'Book'
3247
+ * const lastRowBooks = await table.getLastRow({ conditions: `category === 'Book'` }); // Using JS syntax
3248
+ * console.log(lastRowBooks);
3249
+ * ```
3250
+ */
3251
+ getLastRow(options?: {
3252
+ conditions?: string;
3253
+ }): Promise<{
3254
+ [key: string]: string | number | boolean | Date | null;
3255
+ }>;
3256
+ /**
3257
+ * Returns the top `n` rows of the table, optionally filtered by SQL conditions.
3258
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3259
+ *
3260
+ * @param count - The number of rows to return from the top of the table.
3261
+ * @param options - An optional object with configuration options:
3262
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Books'"`).
3263
+ * @returns A promise that resolves to an array of objects representing the top `n` rows.
3264
+ * @category Getting Data
3265
+ *
3266
+ * @example
3267
+ * ```ts
3268
+ * // Get the first 10 rows of the table
3269
+ * const top10 = await table.getTop(10);
3270
+ * console.log(top10);
3271
+ * ```
3272
+ *
3273
+ * @example
3274
+ * ```ts
3275
+ * // Get the first 5 rows where the 'category' is 'Books'
3276
+ * const top5Books = await table.getTop(5, { conditions: `category === 'Books'` }); // Using JS syntax
3277
+ * console.log(top5Books);
3278
+ * ```
3279
+ */
3280
+ getTop(count: number, options?: {
3281
+ conditions?: string;
3282
+ }): Promise<{
3283
+ [key: string]: string | number | boolean | Date | null;
3284
+ }[]>;
3285
+ /**
3286
+ * Returns the bottom `n` rows of the table, optionally filtered by SQL conditions.
3287
+ * By default, the last row will be returned first. To preserve the original order, use the `originalOrder` option.
3288
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3289
+ *
3290
+ * @param count - The number of rows to return from the bottom of the table.
3291
+ * @param options - An optional object with configuration options:
3292
+ * @param options.originalOrder - A boolean indicating whether the rows should be returned in their original order (`true`) or in reverse order (last row first, `false`). Defaults to `false`.
3293
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Books'"`).
3294
+ * @returns A promise that resolves to an array of objects representing the bottom `n` rows.
3295
+ * @category Getting Data
3296
+ *
3297
+ * @example
3298
+ * ```ts
3299
+ * // Get the last 10 rows (last row first)
3300
+ * const bottom10 = await table.getBottom(10);
3301
+ * console.log(bottom10);
3302
+ * ```
3303
+ *
3304
+ * @example
3305
+ * ```ts
3306
+ * // Get the last 10 rows in their original order
3307
+ * const bottom10OriginalOrder = await table.getBottom(10, { originalOrder: true });
3308
+ * console.log(bottom10OriginalOrder);
3309
+ * ```
3310
+ *
3311
+ * @example
3312
+ * ```ts
3313
+ * // Get the last 5 rows where the 'category' is 'Books' (using JS syntax)
3314
+ * const bottom5Books = await table.getBottom(5, { conditions: `category === 'Books'` });
3315
+ * console.log(bottom5Books);
3316
+ * ```
3317
+ */
3318
+ getBottom(count: number, options?: {
3319
+ originalOrder?: boolean;
3320
+ conditions?: string;
3321
+ }): Promise<{
3322
+ [key: string]: string | number | boolean | Date | null;
3323
+ }[]>;
3324
+ /**
3325
+ * Returns a single row that matches the specified conditions. If no row matches or if more than one row matches, an error is thrown by default.
3326
+ * You can also use JavaScript syntax for conditions (e.g., `AND`, `||`, `===`, `!==`).
3327
+ *
3328
+ * @param conditions - The conditions to match, specified as a SQL `WHERE` clause.
3329
+ * @param options - Optional settings:
3330
+ * @param options.noCheck - If `true`, no error will be thrown when no row or more than one row match the condition. Defaults to `false`.
3331
+ * @returns A promise that resolves to an object representing the matched row.
3332
+ * @throws {Error} If `noCheck` is `false` and no row or more than one row matches the conditions.
3333
+ * @category Getting Data
3334
+ *
3335
+ * @example
3336
+ * ```ts
3337
+ * // Get a row where 'name' is 'John'
3338
+ * const johnsRow = await table.getRow(`name = 'John'`);
3339
+ * console.log(johnsRow);
3340
+ * ```
3341
+ *
3342
+ * @example
3343
+ * ```ts
3344
+ * // Get a row where 'id' is 123 (using JS syntax)
3345
+ * const rowById = await table.getRow(`id === 123`);
3346
+ * console.log(rowById);
3347
+ * ```
3348
+ *
3349
+ * @example
3350
+ * ```ts
3351
+ * // Get a row without throwing an error if multiple matches or no match
3352
+ * const flexibleRow = await table.getRow(`status = 'pending'`, { noCheck: true });
3353
+ * console.log(flexibleRow);
3354
+ * ```
3355
+ */
3356
+ getRow(conditions: string, options?: {
3357
+ noCheck?: boolean;
3358
+ }): Promise<{
3359
+ [key: string]: string | number | boolean | Date | null;
3360
+ } | undefined>;
3361
+ /**
3362
+ * Returns the data from the table as an array of objects, optionally filtered by SQL conditions.
3363
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3364
+ *
3365
+ * @param options - An optional object with configuration options:
3366
+ * @param options.columns - An array of column names to include in the result. If omitted, all columns will be included.
3367
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3368
+ * @returns A promise that resolves to an array of objects, where each object represents a row in the table.
3369
+ * @category Getting Data
3370
+ *
3371
+ * @example
3372
+ * ```ts
3373
+ * // Get all data from the table
3374
+ * const allData = await table.getData();
3375
+ * console.log(allData);
3376
+ * ```
3377
+ *
3378
+ * @example
3379
+ * ```ts
3380
+ * // Get data filtered by a condition (using JS or SQL syntax)
3381
+ * const booksData = await table.getData({ conditions: `category === 'Book'` });
3382
+ * console.log(booksData);
3383
+ * ```
3384
+ *
3385
+ * @example
3386
+ * ```ts
3387
+ * // Get data filtered by a condition and specific columns
3388
+ * const booksData = await table.getData({ columns: ["title", "author"], conditions: `category === 'Book'` });
3389
+ * console.log(booksData);
3390
+ * ```
3391
+ */
3392
+ getData(options?: {
3393
+ columns?: string | string[];
3394
+ conditions?: string;
3395
+ }): Promise<{
3396
+ [key: string]: string | number | boolean | Date | null;
3397
+ }[]>;
3398
+ /**
3399
+ * Returns the data from the table as a CSV string, optionally filtered by SQL conditions.
3400
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3401
+ *
3402
+ * @param options - An optional object with configuration options:
3403
+ * @param options.columns - An array of column names to include in the CSV. If omitted, all columns will be included.
3404
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3405
+ * @returns A promise that resolves to a CSV-formatted string representation of the table data.
3406
+ * @category Getting Data
3407
+ *
3408
+ * @example
3409
+ * ```ts
3410
+ * // Get all data from the table as CSV
3411
+ * const allDataCSV = await table.getDataAsCSV();
3412
+ * console.log(allDataCSV);
3413
+ * ```
3414
+ *
3415
+ * @example
3416
+ * ```ts
3417
+ * // Get data filtered by a condition (using JS syntax or SQL syntax) as CSV
3418
+ * const booksDataCSV = await table.getDataAsCSV({ conditions: `category === 'Book'` });
3419
+ * console.log(booksDataCSV);
3420
+ * ```
3421
+ *
3422
+ * @example
3423
+ * ```ts
3424
+ * // Get data filtered by a condition and specific columns as CSV
3425
+ * const booksDataCSV = await table.getDataAsCSV({ columns: ["title", "author"], conditions: `category === 'Book'` });
3426
+ * console.log(booksDataCSV);
3427
+ * ```
3428
+ */
3429
+ getDataAsCSV(options?: {
3430
+ columns?: string | string[];
3431
+ conditions?: string;
3432
+ }): Promise<string>;
3433
+ /**
3434
+ * Creates point geometries from latitude and longitude columns.
3435
+ *
3436
+ * @param columnLat - The name of the column storing the latitude values.
3437
+ * @param columnLon - The name of the column storing the longitude values.
3438
+ * @param newColumn - The name of the new column where the point geometries will be stored.
3439
+ * @returns A promise that resolves when the point geometries have been created.
3440
+ * @category Geospatial
3441
+ *
3442
+ * @example
3443
+ * ```ts
3444
+ * // Create point geometries in a new 'geom' column using 'lat' and 'lon' columns
3445
+ * await table.points("lat", "lon", "geom");
3446
+ * ```
3447
+ */
3448
+ points(columnLat: string, columnLon: string, newColumn: string): Promise<void>;
3449
+ /**
3450
+ * Adds a column with boolean values indicating the validity of geometries.
3451
+ *
3452
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for valid, `FALSE` for invalid) will be stored.
3453
+ * @param options - An optional object with configuration options:
3454
+ * @param options.column - The name of the column storing the geometries to be checked. If omitted, the method will automatically attempt to find a geometry column.
3455
+ * @returns A promise that resolves when the validity check is complete.
3456
+ * @category Geospatial
3457
+ *
3458
+ * @example
3459
+ * ```ts
3460
+ * // Check if geometries are valid and store results in a new 'isValid' column
3461
+ * // The method will automatically detect the geometry column.
3462
+ * await table.isValidGeo("isValid");
3463
+ * ```
3464
+ *
3465
+ * @example
3466
+ * ```ts
3467
+ * // Check validity of geometries in a specific column named 'myGeom'
3468
+ * await table.isValidGeo("isValidMyGeom", { column: "myGeom" });
3469
+ * ```
3470
+ */
3471
+ isValidGeo(newColumn: string, options?: {
3472
+ column?: string;
3473
+ }): Promise<void>;
3474
+ /**
3475
+ * Adds a column with the number of vertices (points) in each geometry.
3476
+ *
3477
+ * @param newColumn - The name of the new column where the vertex counts will be stored.
3478
+ * @param options - An optional object with configuration options:
3479
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3480
+ * @returns A promise that resolves when the vertex counts have been added.
3481
+ * @category Geospatial
3482
+ *
3483
+ * @example
3484
+ * ```ts
3485
+ * // Add a new column 'vertexCount' with the number of vertices for each geometry
3486
+ * // The method will automatically detect the geometry column.
3487
+ * await table.nbVertices("vertexCount");
3488
+ * ```
3489
+ *
3490
+ * @example
3491
+ * ```ts
3492
+ * // Add vertex counts for geometries in a specific column named 'myGeom'
3493
+ * await table.nbVertices("myGeomVertices", { column: "myGeom" });
3494
+ * ```
3495
+ */
3496
+ nbVertices(newColumn: string, options?: {
3497
+ column?: string;
3498
+ }): Promise<void>;
3499
+ /**
3500
+ * Attempts to make invalid geometries valid without removing any vertices.
3501
+ *
3502
+ * @param column - The name of the column storing the geometries to be fixed. If omitted, the method will automatically attempt to find a geometry column.
3503
+ * @returns A promise that resolves when the geometries have been processed.
3504
+ * @category Geospatial
3505
+ *
3506
+ * @example
3507
+ * ```ts
3508
+ * // Fix invalid geometries in the default geometry column
3509
+ * await table.fixGeo();
3510
+ * ```
3511
+ *
3512
+ * @example
3513
+ * ```ts
3514
+ * // Fix invalid geometries in a specific column named 'myGeom'
3515
+ * await table.fixGeo("myGeom");
3516
+ * ```
3517
+ */
3518
+ fixGeo(column?: string): Promise<void>;
3519
+ /**
3520
+ * Adds a column with boolean values indicating whether geometries are closed (e.g., polygons) or open (e.g., linestrings).
3521
+ *
3522
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for closed, `FALSE` for open) will be stored.
3523
+ * @param options - An optional object with configuration options:
3524
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3525
+ * @returns A promise that resolves when the closed geometry check is complete.
3526
+ * @category Geospatial
3527
+ *
3528
+ * @example
3529
+ * ```ts
3530
+ * // Check if geometries are closed and store results in a new 'isClosed' column
3531
+ * await table.isClosedGeo("isClosed");
3532
+ * ```
3533
+ *
3534
+ * @example
3535
+ * ```ts
3536
+ * // Check closed status of geometries in a specific column named 'boundaryGeom'
3537
+ * await table.isClosedGeo("boundaryClosed", { column: "boundaryGeom" });
3538
+ * ```
3539
+ */
3540
+ isClosedGeo(newColumn: string, options?: {
3541
+ column?: string;
3542
+ }): Promise<void>;
3543
+ /**
3544
+ * Adds a column with the geometry type (e.g., `"POINT"`, `"LINESTRING"`, `"POLYGON"`) for each geometry.
3545
+ *
3546
+ * @param newColumn - The name of the new column where the geometry types will be stored.
3547
+ * @param options - An optional object with configuration options:
3548
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3549
+ * @returns A promise that resolves when the geometry types have been added.
3550
+ * @category Geospatial
3551
+ *
3552
+ * @example
3553
+ * ```ts
3554
+ * // Add a new column 'geometryType' with the type of each geometry
3555
+ * await table.typeGeo("geometryType");
3556
+ * ```
3557
+ *
3558
+ * @example
3559
+ * ```ts
3560
+ * // Get the geometry type for geometries in a specific column named 'featureGeom'
3561
+ * await table.typeGeo("featureType", { column: "featureGeom" });
3562
+ * ```
3563
+ */
3564
+ typeGeo(newColumn: string, options?: {
3565
+ column?: string;
3566
+ }): Promise<void>;
3567
+ /**
3568
+ * Flips the coordinate order of geometries in a specified column (e.g., from `[lon, lat]` to `[lat, lon]` or vice-versa).
3569
+ * **Warning:** This method should be used with caution as it directly manipulates coordinate order and can affect the accuracy of geospatial operations if not used correctly.
3570
+ *
3571
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3572
+ * @returns A promise that resolves when the coordinates have been flipped.
3573
+ * @category Geospatial
3574
+ *
3575
+ * @example
3576
+ * ```ts
3577
+ * // Flip coordinates in the default geometry column
3578
+ * await table.flipCoordinates();
3579
+ * ```
3580
+ *
3581
+ * @example
3582
+ * ```ts
3583
+ * // Flip coordinates in a specific column named 'myGeom'
3584
+ * await table.flipCoordinates("myGeom");
3585
+ * ```
3586
+ */
3587
+ flipCoordinates(column?: string): Promise<void>;
3588
+ /**
3589
+ * Reduces the precision of geometries in a specified column to a given number of decimal places.
3590
+ *
3591
+ * @param decimals - The number of decimal places to keep in the coordinates of the geometries.
3592
+ * @param options - An optional object with configuration options:
3593
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3594
+ * @returns A promise that resolves when the precision of the geometries has been reduced.
3595
+ * @category Geospatial
3596
+ *
3597
+ * @example
3598
+ * ```ts
3599
+ * // Reduce the precision of geometries in the default column to 3 decimal places
3600
+ * await table.reducePrecision(3);
3601
+ * ```
3602
+ *
3603
+ * @example
3604
+ * ```ts
3605
+ * // Reduce the precision of geometries in a specific column named 'myGeom' to 2 decimal places
3606
+ * await table.reducePrecision(2, { column: "myGeom" });
3607
+ * ```
3608
+ */
3609
+ reducePrecision(decimals: number, options?: {
3610
+ column?: string;
3611
+ }): Promise<void>;
3612
+ /**
3613
+ * Reprojects the geometries in a specified column to another Spatial Reference System (SRS).
3614
+ *
3615
+ * @param to - The target SRS (e.g., `"EPSG:3347"`, `"WGS84"`).
3616
+ * @param options - An optional object with configuration options:
3617
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3618
+ * @returns A promise that resolves when the geometries have been reprojected.
3619
+ * @category Geospatial
3620
+ *
3621
+ * @example
3622
+ * ```ts
3623
+ * // Reproject geometries in the default column to EPSG:3347 (NAD83/Statistics Canada Lambert)
3624
+ * await table.reproject("EPSG:3347");
3625
+ * ```
3626
+ *
3627
+ * @example
3628
+ * ```ts
3629
+ * // Reproject geometries in a specific column named 'myGeom' to EPSG:3347
3630
+ * await table.reproject("EPSG:3347", { column: "myGeom" });
3631
+ * ```
3632
+ */
3633
+ reproject(to: string, options?: {
3634
+ column?: string;
3635
+ }): Promise<void>;
3636
+ /**
3637
+ * Computes the area of geometries in square meters (`"m2"`) or optionally square kilometers (`"km2"`).
3638
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84).
3639
+ *
3640
+ * @param newColumn - The name of the new column where the computed areas will be stored.
3641
+ * @param options - An optional object with configuration options:
3642
+ * @param options.unit - The unit for the computed area: `"m2"` (square meters) or `"km2"` (square kilometers). Defaults to `"m2"`.
3643
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3644
+ * @returns A promise that resolves when the areas have been computed.
3645
+ * @category Geospatial
3646
+ *
3647
+ * @example
3648
+ * ```ts
3649
+ * // Compute the area of geometries in square meters and store in 'area_m2'
3650
+ * await table.area("area_m2");
3651
+ * ```
3652
+ *
3653
+ * @example
3654
+ * ```ts
3655
+ * // Compute the area of geometries in square kilometers and store in 'area_km2'
3656
+ * await table.area("area_km2", { unit: "km2" });
3657
+ * ```
3658
+ *
3659
+ * @example
3660
+ * ```ts
3661
+ * // Compute the area of geometries in a specific column named 'myGeom'
3662
+ * await table.area("myGeomArea", { column: "myGeom" });
3663
+ * ```
3664
+ */
3665
+ area(newColumn: string, options?: {
3666
+ unit?: "m2" | "km2";
3667
+ column?: string;
3668
+ }): Promise<void>;
3669
+ /**
3670
+ * Computes the length of line geometries in meters (`"m"`) or optionally kilometers (`"km"`).
3671
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84).
3672
+ *
3673
+ * @param newColumn - The name of the new column where the computed lengths will be stored.
3674
+ * @param options - An optional object with configuration options:
3675
+ * @param options.unit - The unit for the computed length: `"m"` (meters) or `"km"` (kilometers). Defaults to `"m"`.
3676
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3677
+ * @returns A promise that resolves when the lengths have been computed.
3678
+ * @category Geospatial
3679
+ *
3680
+ * @example
3681
+ * ```ts
3682
+ * // Compute the length of line geometries in meters and store in 'length_m'
3683
+ * await table.length("length_m");
3684
+ * ```
3685
+ *
3686
+ * @example
3687
+ * ```ts
3688
+ * // Compute the length of line geometries in kilometers and store in 'length_km'
3689
+ * await table.length("length_km", { unit: "km" });
3690
+ * ```
3691
+ *
3692
+ * @example
3693
+ * ```ts
3694
+ * // Compute the length of geometries in a specific column named 'routeGeom'
3695
+ * await table.length("routeLength", { column: "routeGeom" });
3696
+ * ```
3697
+ */
3698
+ length(newColumn: string, options?: {
3699
+ unit?: "m" | "km";
3700
+ column?: string;
3701
+ }): Promise<void>;
3702
+ /**
3703
+ * Computes the perimeter of polygon geometries in meters (`"m"`) or optionally kilometers (`"km"`).
3704
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84).
3705
+ *
3706
+ * @param newColumn - The name of the new column where the computed perimeters will be stored.
3707
+ * @param options - An optional object with configuration options:
3708
+ * @param options.unit - The unit for the computed perimeter: `"m"` (meters) or `"km"` (kilometers). Defaults to `"m"`.
3709
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3710
+ * @returns A promise that resolves when the perimeters have been computed.
3711
+ * @category Geospatial
3712
+ *
3713
+ * @example
3714
+ * ```ts
3715
+ * // Compute the perimeter of polygon geometries in meters and store in 'perimeter_m'
3716
+ * await table.perimeter("perimeter_m");
3717
+ * ```
3718
+ *
3719
+ * @example
3720
+ * ```ts
3721
+ * // Compute the perimeter of polygon geometries in kilometers and store in 'perimeter_km'
3722
+ * await table.perimeter("perimeter_km", { unit: "km" });
3723
+ * ```
3724
+ *
3725
+ * @example
3726
+ * ```ts
3727
+ * // Compute the perimeter of geometries in a specific column named 'landParcelGeom'
3728
+ * await table.perimeter("landParcelPerimeter", { column: "landParcelGeom" });
3729
+ * ```
3730
+ */
3731
+ perimeter(newColumn: string, options?: {
3732
+ unit?: "m" | "km";
3733
+ column?: string;
3734
+ }): Promise<void>;
3735
+ /**
3736
+ * Computes a buffer (a polygon representing a specified distance around a geometry) for geometries in a specified column.
3737
+ * The distance is in the Spatial Reference System (SRS) unit of the input geometries.
3738
+ *
3739
+ * @param newColumn - The name of the new column where the buffered geometries will be stored.
3740
+ * @param distance - The distance for the buffer. This value is in the units of the geometry's SRS.
3741
+ * @param options - An optional object with configuration options:
3742
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3743
+ * @returns A promise that resolves when the buffers have been computed.
3744
+ * @category Geospatial
3745
+ *
3746
+ * @example
3747
+ * ```ts
3748
+ * // Create a buffer of 1 unit around geometries in the default column, storing results in 'bufferedGeom'
3749
+ * await table.buffer("bufferedGeom", 1);
3750
+ * ```
3751
+ *
3752
+ * @example
3753
+ * ```ts
3754
+ * // Create a buffer of 10 units around geometries in a specific column named 'pointsGeom'
3755
+ * await table.buffer("pointsBuffer", 10, { column: "pointsGeom" });
3756
+ * ```
3757
+ */
3758
+ buffer(newColumn: string, distance: number, options?: {
3759
+ column?: string;
3760
+ }): Promise<void>;
3761
+ /**
3762
+ * Merges the data of this table (considered the left table) with another table (the right table) based on a spatial relationship.
3763
+ * Note that the order of rows in the returned data is not guaranteed to be the same as in the original tables.
3764
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
3765
+ *
3766
+ * @param rightTable - The SimpleTable instance to be joined with this table.
3767
+ * @param method - The spatial join method to use: `"intersect"` (geometries overlap), `"inside"` (geometries of the left table are entirely within geometries of the right table), or `"within"` (geometries of the left table are within a specified distance of geometries in the right table).
3768
+ * @param options - An optional object with configuration options:
3769
+ * @param options.leftTableColumn - The name of the column storing geometries in the left table (this table). If omitted, the method attempts to find one.
3770
+ * @param options.rightTableColumn - The name of the column storing geometries in the right table. If omitted, the method attempts to find one.
3771
+ * @param options.type - The type of join operation to perform: `"inner"`, `"left"` (default), `"right"`, or `"full"`. For some types (like `"inside"`), the table order is important.
3772
+ * @param options.distance - Required if `method` is `"within"`. The target distance for the spatial join. The unit depends on `distanceMethod`.
3773
+ * @param options.distanceMethod - The method for distance calculations: `"srs"` (default, uses the SRS unit), `"haversine"` (uses meters, requires EPSG:4326 input), or `"spheroid"` (uses meters, requires EPSG:4326 input, most accurate but slowest).
3774
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
3775
+ * @returns A promise that resolves to a table instance containing the spatially joined data (either the modified current table or a new table).
3776
+ * @category Geospatial
3777
+ *
3778
+ * @example
3779
+ * ```ts
3780
+ * // Merge data based on intersecting geometries, overwriting tableA
3781
+ * await tableA.joinGeo(tableB, "intersect");
3782
+ * ```
3783
+ *
3784
+ * @example
3785
+ * ```ts
3786
+ * // Merge data where geometries in tableA are inside geometries in tableB
3787
+ * await tableA.joinGeo(tableB, "inside");
3788
+ * ```
3789
+ *
3790
+ * @example
3791
+ * ```ts
3792
+ * // Merge data where geometries in tableA are within 10 units (SRS) of geometries in tableB
3793
+ * await tableA.joinGeo(tableB, "within", { distance: 10 });
3794
+ * ```
3795
+ *
3796
+ * @example
3797
+ * ```ts
3798
+ * // Merge data where geometries in tableA are within 10 kilometers (Haversine) of geometries in tableB
3799
+ * // Input geometries must be in EPSG:4326.
3800
+ * await tableA.joinGeo(tableB, "within", { distance: 10, distanceMethod: "haversine", unit: "km" });
3801
+ * ```
3802
+ *
3803
+ * @example
3804
+ * ```ts
3805
+ * // Merge data with specific geometry columns and an inner join type, storing results in a new table
3806
+ * const tableC = await tableA.joinGeo(tableB, "intersect", {
3807
+ * leftTableColumn: "geometriesA",
3808
+ * rightTableColumn: "geometriesB",
3809
+ * type: "inner",
3810
+ * outputTable: true,
3811
+ * });
3812
+ * ```
3813
+ */
3814
+ joinGeo(rightTable: SimpleTable, method: "intersect" | "inside" | "within", options?: {
3815
+ leftTableColumn?: string;
3816
+ rightTableColumn?: string;
3817
+ type?: "inner" | "left" | "right" | "full";
3818
+ distance?: number;
3819
+ distanceMethod?: "srs" | "haversine" | "spheroid";
3820
+ outputTable?: string | boolean;
3821
+ }): Promise<this>;
3822
+ /**
3823
+ * Computes the intersection of two sets of geometries, creating new geometries where they overlap.
3824
+ *
3825
+ * @param column1 - The name of the first column storing geometries.
3826
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3827
+ * @param newColumn - The name of the new column where the computed intersection geometries will be stored.
3828
+ * @returns A promise that resolves when the intersection geometries have been computed.
3829
+ * @category Geospatial
3830
+ *
3831
+ * @example
3832
+ * ```ts
3833
+ * // Compute the intersection of geometries in 'geomA' and 'geomB' columns, storing results in 'intersectGeom'
3834
+ * await table.intersection("geomA", "geomB", "intersectGeom");
3835
+ * ```
3836
+ */
3837
+ intersection(column1: string, column2: string, newColumn: string): Promise<void>;
3838
+ /**
3839
+ * Removes the intersection of two geometries from the first geometry, effectively computing the geometric difference.
3840
+ *
3841
+ * @param column1 - The name of the column storing the reference geometries. These geometries will have the intersection removed.
3842
+ * @param column2 - The name of the column storing the geometries used to compute the intersection. Both columns must have the same projection.
3843
+ * @param newColumn - The name of the new column where the resulting geometries (without the intersection) will be stored.
3844
+ * @returns A promise that resolves when the geometries have been processed.
3845
+ * @category Geospatial
3846
+ *
3847
+ * @example
3848
+ * ```ts
3849
+ * // Remove the intersection of 'geomB' from 'geomA', storing the result in 'geomA_minus_geomB'
3850
+ * await table.removeIntersection("geomA", "geomB", "geomA_minus_geomB");
3851
+ * ```
3852
+ */
3853
+ removeIntersection(column1: string, column2: string, newColumn: string): Promise<void>;
3854
+ /**
3855
+ * Fills holes in polygon geometries.
3856
+ *
3857
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3858
+ * @returns A promise that resolves when the holes have been filled.
3859
+ * @category Geospatial
3860
+ *
3861
+ * @example
3862
+ * ```ts
3863
+ * // Fill holes in geometries in the default geometry column
3864
+ * await table.fillHoles();
3865
+ * ```
3866
+ *
3867
+ * @example
3868
+ * ```ts
3869
+ * // Fill holes in geometries in a specific column named 'polygonGeom'
3870
+ * await table.fillHoles("polygonGeom");
3871
+ * ```
3872
+ */
3873
+ fillHoles(column?: string): Promise<void>;
3874
+ /**
3875
+ * Returns `TRUE` if two geometries intersect (overlap in any way), and `FALSE` otherwise.
3876
+ *
3877
+ * @param column1 - The name of the first column storing geometries.
3878
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3879
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for intersection, `FALSE` otherwise) will be stored.
3880
+ * @returns A promise that resolves when the intersection check is complete.
3881
+ * @category Geospatial
3882
+ *
3883
+ * @example
3884
+ * ```ts
3885
+ * // Check if geometries in 'geomA' and 'geomB' intersect, storing results in 'doIntersect'
3886
+ * await table.intersect("geomA", "geomB", "doIntersect");
3887
+ * ```
3888
+ */
3889
+ intersect(column1: string, column2: string, newColumn: string): Promise<void>;
3890
+ /**
3891
+ * Returns `TRUE` if all points of a geometry in `column1` lie inside a geometry in `column2`, and `FALSE` otherwise.
3892
+ *
3893
+ * @param column1 - The name of the column storing the geometries to be tested for containment.
3894
+ * @param column2 - The name of the column storing the geometries to be tested as containers. Both columns must have the same projection.
3895
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for inside, `FALSE` otherwise) will be stored.
3896
+ * @returns A promise that resolves when the containment check is complete.
3897
+ * @category Geospatial
3898
+ *
3899
+ * @example
3900
+ * ```ts
3901
+ * // Check if geometries in 'pointGeom' are inside 'polygonGeom', storing results in 'isInsidePolygon'
3902
+ * await table.inside("pointGeom", "polygonGeom", "isInsidePolygon");
3903
+ * ```
3904
+ */
3905
+ inside(column1: string, column2: string, newColumn: string): Promise<void>;
3906
+ /**
3907
+ * Computes the union of two geometries, creating a new geometry that represents the merged area of both.
3908
+ *
3909
+ * @param column1 - The name of the first column storing geometries.
3910
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3911
+ * @param newColumn - The name of the new column where the computed union geometries will be stored.
3912
+ * @returns A promise that resolves when the union geometries have been computed.
3913
+ * @category Geospatial
3914
+ *
3915
+ * @example
3916
+ * ```ts
3917
+ * // Compute the union of geometries in 'geomA' and 'geomB', storing results in 'unionGeom'
3918
+ * await table.union("geomA", "geomB", "unionGeom");
3919
+ * ```
3920
+ */
3921
+ union(column1: string, column2: string, newColumn: string): Promise<void>;
3922
+ /**
3923
+ * Extracts the latitude and longitude coordinates from point geometries.
3924
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84).
3925
+ *
3926
+ * @param column - The name of the column storing the point geometries.
3927
+ * @param columnLat - The name of the new column where the extracted latitude values will be stored.
3928
+ * @param columnLon - The name of the new column where the extracted longitude values will be stored.
3929
+ * @returns A promise that resolves when the latitude and longitude have been extracted.
3930
+ * @category Geospatial
3931
+ *
3932
+ * @example
3933
+ * ```ts
3934
+ * // Extract latitude and longitude from 'geom' column into new 'lat' and 'lon' columns
3935
+ * await table.latLon("geom", "lat", "lon");
3936
+ * ```
3937
+ */
3938
+ latLon(column: string, columnLat: string, columnLon: string): Promise<void>;
3939
+ /**
3940
+ * Simplifies geometries while preserving their overall coverage. A higher tolerance results in more significant simplification.
3941
+ *
3942
+ * @param tolerance - A numeric value representing the simplification tolerance. A higher value leads to greater simplification.
3943
+ * @param options - An optional object with configuration options:
3944
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3945
+ * @param options.simplifyBoundary - If `true` (default), the boundary of the geometries will also be simplified. If `false`, only the interior of the geometries will be simplified, preserving the original boundary.
3946
+ * @returns A promise that resolves when the geometries have been simplified.
3947
+ * @category Geospatial
3948
+ *
3949
+ * @example
3950
+ * ```ts
3951
+ * // Simplify geometries in the default column with a tolerance of 0.1
3952
+ * await table.simplify(0.1);
3953
+ * ```
3954
+ *
3955
+ * @example
3956
+ * ```ts
3957
+ * // Simplify geometries in 'myGeom' column, preserving the boundary
3958
+ * await table.simplify(0.05, { column: "myGeom", simplifyBoundary: false });
3959
+ * ```
3960
+ */
3961
+ simplify(tolerance: number, options?: {
3962
+ column?: string;
3963
+ simplifyBoundary?: boolean;
3964
+ }): Promise<void>;
3965
+ /**
3966
+ * Computes the centroid of geometries.
3967
+ * The values are returned in the SRS unit of the input geometries.
3968
+ *
3969
+ * @param newColumn - The name of the new column where the computed centroid geometries will be stored.
3970
+ * @param options - An optional object with configuration options:
3971
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3972
+ * @returns A promise that resolves when the centroids have been computed.
3973
+ * @category Geospatial
3974
+ *
3975
+ * @example
3976
+ * ```ts
3977
+ * // Compute the centroid of geometries in the default column, storing results in 'centerPoint'
3978
+ * await table.centroid("centerPoint");
3979
+ * ```
3980
+ *
3981
+ * @example
3982
+ * ```ts
3983
+ * // Compute the centroid of geometries in a specific column named 'areaGeom'
3984
+ * await table.centroid("areaCentroid", { column: "areaGeom" });
3985
+ * ```
3986
+ */
3987
+ centroid(newColumn: string, options?: {
3988
+ column?: string;
3989
+ }): Promise<void>;
3990
+ /**
3991
+ * Generates a random point within the geometries of a specified column.
3992
+ *
3993
+ * @param newColumn - The name of the new column where the random points will be stored.
3994
+ * @param nbPointsToTry - The number of points to generate within the bounding box of each geometry to find one that is within the geometry itself.
3995
+ * @param options - An optional object with configuration options:
3996
+ * @param options.column - The name of the column storing the geometries within which the random points will be generated. If omitted, the method will automatically attempt to find a geometry column.
3997
+ * @param options.try - If `true`, the method will not throw an error if some points cannot be generated. Corresponding rows will have `NULL` in the new column.
3998
+ *
3999
+ * @example
4000
+ * ```ts
4001
+ * // Generate a random point for each geometry in the default column, trying 100 points
4002
+ * await table.randomPoint("randomPoint", 100);
4003
+ * ```
4004
+ *
4005
+ * @example
4006
+ * ```ts
4007
+ * // Generate a random point for each geometry in a specific column named 'areaGeom', trying 50 points
4008
+ * await table.randomPoint("pointInArea", 50, { column: "areaGeom" });
4009
+ * ```
4010
+ *
4011
+ * @example
4012
+ * ```ts
4013
+ * // Generate a random point for each geometry, but don't throw if some points cannot be generated
4014
+ * await table.randomPoint("pointInArea", 1, { try: true });
4015
+ * ```
4016
+ */
4017
+ randomPoint(newColumn: string, nbPointsToTry: number, options?: {
4018
+ column?: string;
4019
+ try?: boolean;
4020
+ }): Promise<void>;
4021
+ /**
4022
+ * Computes the distance between geometries in two specified columns.
4023
+ * By default, the distance is calculated in the Spatial Reference System (SRS) unit of the input geometries.
4024
+ * You can optionally specify `"spheroid"` or `"haversine"` methods to get results in meters or kilometers.
4025
+ * If using `"spheroid"` or `"haversine"`, the input geometries must be in the EPSG:4326 coordinate system (WGS84).
4026
+ *
4027
+ * @param column1 - The name of the first column storing geometries.
4028
+ * @param column2 - The name of the second column storing geometries.
4029
+ * @param newColumn - The name of the new column where the computed distances will be stored.
4030
+ * @param options - An optional object with configuration options:
4031
+ * @param options.method - The method to use for distance calculations: `"srs"` (default, uses SRS unit), `"haversine"` (meters, requires EPSG:4326), or `"spheroid"` (meters, requires EPSG:4326, most accurate but slowest).
4032
+ * @param options.unit - If `method` is `"spheroid"` or `"haversine"`, you can choose between `"m"` (meters, default) or `"km"` (kilometers).
4033
+ * @param options.decimals - The number of decimal places to round the distance values. Defaults to `undefined` (no rounding).
4034
+ * @returns A promise that resolves when the distances have been computed.
4035
+ * @category Geospatial
4036
+ *
4037
+ * @example
4038
+ * ```ts
4039
+ * // Compute distance between 'geomA' and 'geomB' in SRS units, store in 'distance_srs'
4040
+ * await table.distance("geomA", "geomB", "distance_srs");
4041
+ * ```
4042
+ *
4043
+ * @example
4044
+ * ```ts
4045
+ * // Compute Haversine distance in meters between 'point1' and 'point2', store in 'distance_m'
4046
+ * // Input geometries must be in EPSG:4326.
4047
+ * await table.distance("point1", "point2", "distance_m", { method: "haversine" });
4048
+ * ```
4049
+ *
4050
+ * @example
4051
+ * ```ts
4052
+ * // Compute Haversine distance in kilometers, rounded to 2 decimal places
4053
+ * // Input geometries must be in EPSG:4326.
4054
+ * await table.distance("point1", "point2", "distance_km", { method: "haversine", unit: "km", decimals: 2 });
4055
+ * ```
4056
+ *
4057
+ * @example
4058
+ * ```ts
4059
+ * // Compute Spheroid distance in kilometers
4060
+ * // Input geometries must be in EPSG:4326.
4061
+ * await table.distance("area1", "area2", "distance_spheroid_km", { method: "spheroid", unit: "km" });
4062
+ * ```
4063
+ */
4064
+ distance(column1: string, column2: string, newColumn: string, options?: {
4065
+ unit?: "m" | "km";
4066
+ method?: "srs" | "haversine" | "spheroid";
4067
+ decimals?: number;
4068
+ }): Promise<void>;
4069
+ /**
4070
+ * Unnests geometries recursively, transforming multi-part geometries (e.g., MultiPolygon) into individual single-part geometries (e.g., Polygon).
4071
+ *
4072
+ * @param column - The name of the column storing the geometries to be unnested. If omitted, the method will automatically attempt to find a geometry column.
4073
+ * @returns A promise that resolves when the geometries have been unnested.
4074
+ * @category Geospatial
4075
+ *
4076
+ * @example
4077
+ * ```ts
4078
+ * // Unnest geometries in the default column
4079
+ * await table.unnestGeo();
4080
+ * ```
4081
+ *
4082
+ * @example
4083
+ * ```ts
4084
+ * // Unnest geometries in a specific column named 'multiGeom'
4085
+ * await table.unnestGeo("multiGeom");
4086
+ * ```
4087
+ */
4088
+ unnestGeo(column?: string): Promise<void>;
4089
+ /**
4090
+ * Computes the bounding box of geometries in a specified column, creating four new columns: `minLon`, `minLat`, `maxLon`, and `maxLat`.
4091
+ *
4092
+ * @param options - An optional object with configuration options:
4093
+ * @param options.column - The name of the column storing the geometries for which the bounding box will be computed. If omitted, the method will automatically attempt to find a geometry column.
4094
+ * @param options.decimals - The number of decimal places to round the bounding box coordinates. Defaults to `undefined` (no rounding).
4095
+ * @returns A promise that resolves when the bounding box coordinates have been computed and stored in new columns.
4096
+ * @category Geospatial
4097
+ *
4098
+ * @example
4099
+ * ```ts
4100
+ * // Compute the bounding box for geometries in the default column
4101
+ * await table.boundingBox();
4102
+ * // The table now has minLon, minLat, maxLon, and maxLat columns.
4103
+ * ```
4104
+ *
4105
+ * @example
4106
+ * ```ts
4107
+ * // Compute the bounding box for geometries in 'geom' column and round coordinates to 2 decimal places
4108
+ * await table.boundingBox({ column: "geom", decimals: 2 });
4109
+ * // The table now has minLon, minLat, maxLon, and maxLat columns with values rounded to 2 decimal places.
4110
+ * ```
4111
+ */
4112
+ boundingBox(options?: {
4113
+ column?: string;
4114
+ decimals?: number;
4115
+ }): Promise<void>;
4116
+ /**
4117
+ * Aggregates geometries in a specified column based on a chosen aggregation method.
4118
+ *
4119
+ * @param method - The aggregation method to apply: `"union"` (combines all geometries into a single multi-geometry) or `"intersection"` (computes the intersection of all geometries).
4120
+ * @param options - An optional object with configuration options:
4121
+ * @param options.column - The name of the column storing the geometries to be aggregated. If omitted, the method will automatically attempt to find a geometry column.
4122
+ * @param options.categories - The column name or an array of column names that define categories for the aggregation. Aggregation will be performed independently within each category.
4123
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
4124
+ * @returns A promise that resolves to a table instance containing the aggregated geometries (either the modified current table or a new table).
4125
+ * @category Geospatial
4126
+ *
4127
+ * @example
4128
+ * ```ts
4129
+ * // Aggregate all geometries in the default column into a single union geometry
4130
+ * await table.aggregateGeo("union");
4131
+ * ```
4132
+ *
4133
+ * @example
4134
+ * ```ts
4135
+ * // Aggregate geometries by 'country' and compute their union
4136
+ * await table.aggregateGeo("union", { categories: "country" });
4137
+ * ```
4138
+ *
4139
+ * @example
4140
+ * ```ts
4141
+ * // Aggregate geometries in 'regions' column into their intersection, storing results in a new table
4142
+ * const intersectionTable = await table.aggregateGeo("intersection", { column: "regions", outputTable: true });
4143
+ * ```
4144
+ */
4145
+ aggregateGeo(method: "union" | "intersection", options?: {
4146
+ column?: string;
4147
+ categories?: string | string[];
4148
+ outputTable?: string | boolean;
4149
+ }): Promise<this>;
4150
+ /**
4151
+ * Transforms closed linestring geometries into polygon geometries.
4152
+ *
4153
+ * @param column - The name of the column storing the linestring geometries. If omitted, the method will automatically attempt to find a geometry column.
4154
+ * @returns A promise that resolves when the transformation is complete.
4155
+ * @category Geospatial
4156
+ *
4157
+ * @example
4158
+ * ```ts
4159
+ * // Transform closed linestrings in the default geometry column into polygons
4160
+ * await table.linesToPolygons();
4161
+ * ```
4162
+ *
4163
+ * @example
4164
+ * ```ts
4165
+ * // Transform closed linestrings in a specific column named 'routeLines' into polygons
4166
+ * await table.linesToPolygons("routeLines");
4167
+ * ```
4168
+ */
4169
+ linesToPolygons(column?: string): Promise<void>;
4170
+ /**
4171
+ * Returns the bounding box of geometries in `[minLon, minLat, maxLon, maxLat]` order.
4172
+ * By default, the method will try to find the column with the geometries. The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84).
4173
+ *
4174
+ * @param column - The name of the column storing geometries. If omitted, the method will automatically attempt to find a geometry column.
4175
+ * @returns A promise that resolves to an array `[minLon, minLat, maxLon, maxLat]` representing the bounding box.
4176
+ * @category Geospatial
4177
+ *
4178
+ * @example
4179
+ * ```ts
4180
+ * // Get the bounding box of geometries in the default column
4181
+ * const bbox = await table.getBoundingBox();
4182
+ * console.log(bbox); // e.g., [-75.0, 45.0, -73.0, 46.0]
4183
+ * ```
4184
+ *
4185
+ * @example
4186
+ * ```ts
4187
+ * // Get the bounding box of geometries in a specific column named 'areaGeom'
4188
+ * const areaBbox = await table.getBoundingBox("areaGeom");
4189
+ * console.log(areaBbox);
4190
+ * ```
4191
+ */
4192
+ getBoundingBox(column?: string): Promise<[number, number, number, number]>;
4193
+ /**
4194
+ * Returns the table's geospatial data as a GeoJSON object.
4195
+ * If the table has multiple geometry columns, you must specify which one to use.
4196
+ *
4197
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
4198
+ * @param options - An optional object with configuration options:
4199
+ * @param options.rewind - If `true`, rewinds the coordinates of polygons to follow the spherical winding order (important for D3.js). Defaults to `false`.
4200
+ * @returns A promise that resolves to a GeoJSON object representing the table's geospatial data.
4201
+ * @category Getting Data
4202
+ *
4203
+ * @example
4204
+ * ```ts
4205
+ * // Get GeoJSON data from the default geometry column
4206
+ * const geojson = await table.getGeoData();
4207
+ * console.log(geojson);
4208
+ * ```
4209
+ *
4210
+ * @example
4211
+ * ```ts
4212
+ * // Get GeoJSON data from a specific geometry column named 'myGeometries'
4213
+ * const myGeomJson = await table.getGeoData("myGeometries");
4214
+ * console.log(myGeomJson);
4215
+ * ```
4216
+ *
4217
+ * @example
4218
+ * ```ts
4219
+ * // Get GeoJSON data and rewind polygon coordinates for D3.js compatibility
4220
+ * const rewoundGeojson = await table.getGeoData(undefined, { rewind: true });
4221
+ * console.log(rewoundGeojson);
4222
+ * ```
4223
+ */
4224
+ getGeoData(column?: string, options?: {
4225
+ rewind?: boolean;
4226
+ }): Promise<{
4227
+ type: string;
4228
+ features: unknown[];
4229
+ }>;
4230
+ /**
4231
+ * Writes the table's data to a file in various formats (CSV, JSON, Parquet, DuckDB, SQLite).
4232
+ * If the specified path does not exist, it will be created.
4233
+ *
4234
+ * @param file - The absolute path to the output file (e.g., `"./output.csv"`, `"./output.json"`).
4235
+ * @param options - An optional object with configuration options:
4236
+ * @param options.compression - A boolean indicating whether to compress the output file. If `true`, CSV and JSON files will be compressed with GZIP, while Parquet files will use ZSTD. Defaults to `false`.
4237
+ * @param options.dataAsArrays - For JSON files only. If `true`, JSON files are written as a single object with arrays for each column (e.g., `{ "col1": [v1, v2], "col2": [v3, v4] }`) instead of an array of objects. This can reduce file size for web projects. You can use the `arraysToData` function from the [journalism library](https://jsr.io/@nshiab/journalism/doc/~/arraysToData) to convert it back.
4238
+ * @param options.formatDates - For CSV and JSON files only. If `true`, date and timestamp columns will be formatted as ISO 8601 strings (e.g., `"2025-01-01T01:00:00.000Z"`). Defaults to `false`.
4239
+ * @returns A promise that resolves when the data has been written to the file.
4240
+ * @category File Operations
4241
+ *
4242
+ * @example
4243
+ * ```ts
4244
+ * // Write data to a CSV file
4245
+ * await table.writeData("./output.csv");
4246
+ * ```
4247
+ *
4248
+ * @example
4249
+ * ```ts
4250
+ * // Write data to a JSON file with GZIP compression.
4251
+ * // The output file will be named output.json.gz.
4252
+ * await table.writeData("./output.json", { compression: true });
4253
+ * ```
4254
+ *
4255
+ * @example
4256
+ * ```ts
4257
+ * // Write data to a Parquet file
4258
+ * await table.writeData("./output.parquet");
4259
+ * ```
4260
+ *
4261
+ * @example
4262
+ * ```ts
4263
+ * // Write data to a DuckDB database file
4264
+ * await table.writeData("./my_database.db");
4265
+ * ```
4266
+ *
4267
+ * @example
4268
+ * ```ts
4269
+ * // Write data to a SQLite database file
4270
+ * await table.writeData("./my_database.sqlite");
4271
+ * ```
4272
+ *
4273
+ * @example
4274
+ * ```ts
4275
+ * // Write JSON data with dates formatted as ISO strings
4276
+ * await table.writeData("./output_dates.json", { formatDates: true });
4277
+ * ```
4278
+ */
4279
+ writeData(file: string, options?: {
4280
+ compression?: boolean;
4281
+ dataAsArrays?: boolean;
4282
+ formatDates?: boolean;
4283
+ }): Promise<void>;
4284
+ /**
4285
+ * Writes the table's geospatial data to a file in GeoJSON, GeoParquet, or Shapefile format.
4286
+ * If the specified path does not exist, it will be created.
4287
+ *
4288
+ * @param file - The absolute path to the output file (e.g., `"./output.geojson"`, `"./output.geoparquet"`, `"./shapefile-folder/output.shp"`).
4289
+ * @param options - An optional object with configuration options:
4290
+ * @param options.precision - For GeoJSON, the maximum number of figures after the decimal separator to write in coordinates. Defaults to `undefined` (full precision).
4291
+ * @param options.compression - For GeoParquet, if `true`, the output will be ZSTD compressed. Defaults to `false`.
4292
+ * @param options.rewind - For GeoJSON, if `true`, rewinds the coordinates of polygons to follow the right-hand rule (RFC 7946). Defaults to `false`.
4293
+ * @param options.metadata - For GeoJSON, an object to be added as top-level metadata to the GeoJSON output.
4294
+ * @param options.formatDates - For GeoJSON, if `true`, formats date and timestamp columns to ISO 8601 strings. Defaults to `false`.
4295
+ * @returns A promise that resolves when the geospatial data has been written to the file.
4296
+ * @category File Operations
4297
+ *
4298
+ * @example
4299
+ * ```ts
4300
+ * // Write geospatial data to a GeoJSON file
4301
+ * await table.writeGeoData("./output.geojson");
4302
+ * ```
4303
+ *
4304
+ * @example
4305
+ * ```ts
4306
+ * // Write geospatial data to a compressed GeoParquet file
4307
+ * await table.writeGeoData("./output.geoparquet", { compression: true });
4308
+ * ```
4309
+ *
4310
+ * @example
4311
+ * ```ts
4312
+ * // Write geospatial data to a Shapefile with all relevant files in the same folder
4313
+ * await table.writeGeoData("./shapefile-folder/output.shp");
4314
+ * ```
4315
+ *
4316
+ * @example
4317
+ * ```ts
4318
+ * // Write GeoJSON with specific precision and metadata
4319
+ * await table.writeGeoData("./output_high_precision.geojson", {
4320
+ * precision: 6,
4321
+ * metadata: { source: "SimpleDataAnalysis" },
4322
+ * });
4323
+ * ```
4324
+ */
4325
+ writeGeoData(file: string, options?: {
4326
+ precision?: number;
4327
+ compression?: boolean;
4328
+ rewind?: boolean;
4329
+ metadata?: unknown;
4330
+ formatDates?: boolean;
4331
+ }): Promise<void>;
4332
+ /**
4333
+ * Caches the results of computations in `./.sda-cache`.
4334
+ * You should add `./.sda-cache` to your `.gitignore` file.
4335
+ *
4336
+ * @param run - A function wrapping the computations to be cached. This function will be executed on the first run or if the cached data is invalid/expired.
4337
+ * @param options - An optional object with configuration options:
4338
+ * @param options.ttl - Time to live (in seconds). If the data in the cache is older than this duration, the `run` function will be executed again to refresh the cache. By default, there is no TTL, meaning the cache is only invalidated if the `run` function's content changes.
4339
+ * @returns A promise that resolves when the computations are complete or the data is loaded from cache.
4340
+ * @category Caching
4341
+ *
4342
+ * @example
4343
+ * ```ts
4344
+ * // Basic usage: computations are cached and re-run only if the function content changes
4345
+ * const sdb = new SimpleDB();
4346
+ * const table = sdb.newTable();
4347
+ *
4348
+ * await table.cache(async () => {
4349
+ * await table.loadData("items.csv");
4350
+ * await table.summarize({
4351
+ * values: "price",
4352
+ * categories: "department",
4353
+ * summaries: ["min", "max", "mean"],
4354
+ * });
4355
+ * });
4356
+ *
4357
+ * // It's important to call done() on the SimpleDB instance to clean up the cache.
4358
+ * // This prevents the cache from growing indefinitely.
4359
+ * await sdb.done();
4360
+ * ```
4361
+ *
4362
+ * @example
4363
+ * ```ts
4364
+ * // Cache with a Time-To-Live (TTL) of 60 seconds
4365
+ * // The computations will be re-run if the cached data is older than 1 minute or if the function content changes.
4366
+ * const sdb = new SimpleDB();
4367
+ * const table = sdb.newTable();
4368
+ *
4369
+ * await table.cache(async () => {
4370
+ * await table.loadData("items.csv");
4371
+ * await table.summarize({
4372
+ * values: "price",
4373
+ * categories: "department",
4374
+ * summaries: ["min", "max", "mean"],
4375
+ * });
4376
+ * }, { ttl: 60 });
4377
+ *
4378
+ * await sdb.done();
4379
+ * ```
4380
+ *
4381
+ * @example
4382
+ * ```ts
4383
+ * // Enable verbose logging for cache operations via SimpleDB instance
4384
+ * const sdb = new SimpleDB({ cacheVerbose: true });
4385
+ * const table = sdb.newTable();
4386
+ *
4387
+ * await table.cache(async () => {
4388
+ * await table.loadData("items.csv");
4389
+ * await table.summarize({
4390
+ * values: "price",
4391
+ * categories: "department",
4392
+ * summaries: ["min", "max", "mean"],
4393
+ * });
4394
+ * });
4395
+ *
4396
+ * await sdb.done();
4397
+ * ```
4398
+ */
4399
+ cache(run: () => Promise<void>, options?: {
4400
+ ttl?: number;
4401
+ }): Promise<void>;
4402
+ /**
4403
+ * Logs a specified number of rows from the table to the console. By default, the first 10 rows are logged.
4404
+ * You can optionally log the column types and filter the data based on conditions.
4405
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
4406
+ *
4407
+ * @param options - Either the number of rows to log (a specific number or `"all"`) or an object with configuration options:
4408
+ * @param options.nbRowsToLog - The number of rows to log. Defaults to 10 or the value set in the SimpleDB instance. Use `"all"` to log all rows.
4409
+ * @param options.types - If `true`, logs the column types along with the data. Defaults to `false`.
4410
+ * @param options.conditions - A SQL `WHERE` clause condition to filter the data before logging. Defaults to no condition.
4411
+ * @returns A promise that resolves when the table data has been logged.
4412
+ * @category Logging
4413
+ *
4414
+ * @example
4415
+ * ```ts
4416
+ * // Log the first 10 rows (default behavior)
4417
+ * await table.logTable();
4418
+ * ```
4419
+ *
4420
+ * @example
4421
+ * ```ts
4422
+ * // Log the first 50 rows
4423
+ * await table.logTable(50);
4424
+ * ```
4425
+ *
4426
+ * @example
4427
+ * ```ts
4428
+ * // Log all rows
4429
+ * await table.logTable("all");
4430
+ * ```
4431
+ *
4432
+ * @example
4433
+ * ```ts
4434
+ * // Log the first 20 rows and include column types
4435
+ * await table.logTable({ nbRowsToLog: 20, types: true });
4436
+ * ```
4437
+ *
4438
+ * @example
4439
+ * ```ts
4440
+ * // Log rows where 'status' is 'active' (using JS syntax for conditions)
4441
+ * await table.logTable({ conditions: `status === 'active'` });
4442
+ * ```
4443
+ */
4444
+ logTable(options?: "all" | number | {
4445
+ nbRowsToLog?: number | "all";
4446
+ types?: boolean;
4447
+ conditions?: string;
4448
+ }): Promise<void>;
4449
+ /**
4450
+ * Generates and logs a histogram of a numeric column to the console.
4451
+ *
4452
+ * @param values - The name of the numeric column for which to generate the histogram.
4453
+ * @param options - An optional object with configuration options:
4454
+ * @param options.bins - The number of bins (intervals) to use for the histogram. Defaults to 10.
4455
+ * @param options.formatLabels - A function to format the labels for the histogram bins. It receives the lower and upper bounds of each bin as arguments.
4456
+ * @param options.compact - If `true`, the histogram will be displayed in a more compact format. Defaults to `false`.
4457
+ * @param options.width - The maximum width of the histogram bars in characters.
4458
+ * @returns A promise that resolves when the histogram has been logged to the console.
4459
+ * @category Dataviz
4460
+ *
4461
+ * @example
4462
+ * // Basic histogram of the 'temperature' column
4463
+ * ```typescript
4464
+ * await table.logHistogram("temperature")
4465
+ * ```
4466
+ *
4467
+ * @example
4468
+ * // Histogram with 20 bins and custom label formatting
4469
+ * ```typescript
4470
+ * await table.logHistogram("age", {
4471
+ * bins: 20,
4472
+ * formatLabels: (min, max) => `${min}-${max} years`,
4473
+ * });
4474
+ * ```
4475
+ */
4476
+ /**
4477
+ * Logs descriptive information about the columns in the table to the console. This includes details such as data types, number of null values, and number of distinct values for each column.
4478
+ * It internally calls the `getDescription` method to retrieve the descriptive statistics.
4479
+ *
4480
+ * @returns A promise that resolves when the column description has been logged to the console.
4481
+ * @category Logging
4482
+ *
4483
+ * @example
4484
+ * ```ts
4485
+ * // Log descriptive information for all columns in the table
4486
+ * await table.logDescription();
4487
+ * ```
4488
+ */
4489
+ logDescription(): Promise<void>;
4490
+ /**
4491
+ * Retrieves the projection of a specified geospatial column.
4492
+ *
4493
+ * @param column - The name of the geospatial column for which to retrieve the projection.
4494
+ * @returns A promise that resolves to the projection of the specified column.
4495
+ * @category Geospatial
4496
+ *
4497
+ * @example
4498
+ * ```ts
4499
+ * // Get the projection of the 'geom' column
4500
+ * const projection = await table.getProjection("geom");
4501
+ * ```
4502
+ */
4503
+ getProjection(column: string): Promise<string>;
4504
+ /**
4505
+ * Logs the projections of the geospatial data (if any) to the console.
4506
+ *
4507
+ * @returns A promise that resolves to the SimpleTable instance after logging the projections.
4508
+ * @category Logging
4509
+ *
4510
+ * @example
4511
+ * ```ts
4512
+ * // Log the geospatial projections of the table
4513
+ * await table.logProjections();
4514
+ * ```
4515
+ */
4516
+ logProjections(): Promise<this>;
4517
+ /**
4518
+ * Logs the types of all columns in the table to the console.
4519
+ *
4520
+ * @returns A promise that resolves to the SimpleTable instance after logging the column types.
4521
+ * @category Logging
4522
+ *
4523
+ * @example
4524
+ * ```ts
4525
+ * // Log the data types of all columns in the table
4526
+ * await table.logTypes();
4527
+ * ```
4528
+ */
4529
+ logTypes(): Promise<this>;
4530
+ /**
4531
+ * Logs unique values for a specified column to the console. By default, a maximum of 100 values are logged (depending on your runtime).
4532
+ * You can optionally stringify the values to see them all.
4533
+ *
4534
+ * @param column - The name of the column from which to retrieve and log unique values.
4535
+ * @param options - An optional object with configuration options:
4536
+ * @param options.stringify - If `true`, converts the unique values to a JSON string before logging. Defaults to `false`.
4537
+ * @returns A promise that resolves to the SimpleTable instance after logging the unique values.
4538
+ * @category Logging
4539
+ *
4540
+ * @example
4541
+ * ```ts
4542
+ * // Logs unique values for the column "name"
4543
+ * await table.logUniques("name");
4544
+ * ```
4545
+ *
4546
+ * @example
4547
+ * ```ts
4548
+ * // Logs unique values for the column "name" and stringifies them
4549
+ * await table.logUniques("name", { stringify: true });
4550
+ * ```
4551
+ */
4552
+ logUniques(column: string, options?: {
4553
+ stringify?: boolean;
4554
+ }): Promise<this>;
4555
+ /**
4556
+ * Logs the columns in the table to the console. You can optionally include their data types.
4557
+ *
4558
+ * @param options - An optional object with configuration options:
4559
+ * @param options.types - If `true`, logs the column names along with their data types. Defaults to `false`.
4560
+ * @returns A promise that resolves to the SimpleTable instance after logging the columns.
4561
+ * @category Logging
4562
+ *
4563
+ * @example
4564
+ * ```ts
4565
+ * // Log only the column names
4566
+ * await table.logColumns();
4567
+ * ```
4568
+ *
4569
+ * @example
4570
+ * ```ts
4571
+ * // Log column names along with their types
4572
+ * await table.logColumns({ types: true });
4573
+ * ```
4574
+ */
4575
+ logColumns(options?: {
4576
+ types?: boolean;
4577
+ }): Promise<this>;
4578
+ /**
4579
+ * Logs the total number of rows in the table to the console.
4580
+ *
4581
+ * @returns A promise that resolves to the SimpleTable instance after logging the row count.
4582
+ * @category Logging
4583
+ *
4584
+ * @example
4585
+ * ```ts
4586
+ * // Log the total number of rows in the table
4587
+ * await table.logNbRows();
4588
+ * ```
4589
+ */
4590
+ logNbRows(): Promise<this>;
4591
+ /**
4592
+ * Logs the bottom `n` rows of the table to the console. By default, the last row will be returned first. To preserve the original order, use the `originalOrder` option.
4593
+ *
4594
+ * @param count - The number of rows to log from the bottom of the table. Defaults to the table's `nbRowsToLog` option if not specified.
4595
+ * @param options - An optional object with logging preferences.
4596
+ * @param options.originalOrder - If true, the rows are displayed in their original order (top to bottom). Defaults to false.
4597
+ * @returns A promise that resolves when the rows have been logged to the console.
4598
+ * @category Logging
4599
+ *
4600
+ * @example
4601
+ * ```ts
4602
+ * // Log bottom rows with default count (uses table's nbRowsToLog option)
4603
+ * await table.logBottom();
4604
+ * ```
4605
+ *
4606
+ * @example
4607
+ * ```ts
4608
+ * // Log the last 10 rows (displayed with last row first)
4609
+ * await table.logBottom(10);
4610
+ * ```
4611
+ *
4612
+ * @example
4613
+ * ```ts
4614
+ * // Log the last 5 rows in original order (top to bottom)
4615
+ * await table.logBottom(5, { originalOrder: true });
4616
+ * ```
4617
+ */
4618
+ logBottom(count?: number, options?: {
4619
+ originalOrder?: boolean;
4620
+ }): Promise<void>;
4621
+ /**
4622
+ * Logs the extent (minimum and maximum values) of a numeric column to the console.
4623
+ *
4624
+ * @param column - The name of the numeric column for which to log the extent.
4625
+ * @returns A promise that resolves when the column extent has been logged to the console.
4626
+ * @category Logging
4627
+ *
4628
+ * @example
4629
+ * ```ts
4630
+ * // Log the extent of the 'price' column
4631
+ * await table.logExtent("price");
4632
+ * ```
4633
+ */
4634
+ logExtent(column: string): Promise<void>;
4635
+ }
4636
+ //# sourceMappingURL=SimpleTable.d.ts.map