@nshiab/simple-data-analysis 5.19.18 → 5.19.19

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 (1097) 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.0.27/src/class/Simple.d.ts.map +1 -0
  6. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleDB.d.ts.map +1 -0
  7. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleTable.d.ts +4608 -0
  8. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleTable.d.ts.map +1 -0
  9. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleTable.js +5601 -0
  10. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/accumulateQuery.d.ts.map +1 -0
  11. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/camelCase.d.ts.map +1 -0
  12. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/capitalize.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/checkVssIndexes.d.ts.map +1 -0
  14. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/cleanCache.d.ts.map +1 -0
  15. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/cleanPath.d.ts.map +1 -0
  16. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/cleanSQL.d.ts.map +1 -0
  17. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/concatenateRowQuery.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/convertForJS.d.ts.map +1 -0
  19. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/createDirectory.d.ts.map +1 -0
  20. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/csvFormat.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/dataToArrays.d.ts.map +1 -0
  22. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/extractTypes.d.ts.map +1 -0
  23. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/findGeoColumn.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/formatDate.d.ts.map +1 -0
  25. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/formatNumber.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getCombinations.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getExtension.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getIdenticalColumns.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getName.d.ts.map +1 -0
  30. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getProjection.d.ts.map +1 -0
  31. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getProjectionParquet.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/hasGeometryColumn.d.ts.map +1 -0
  33. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/index.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/keepNumericalColumns.d.ts.map +1 -0
  35. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/logData.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/mergeOptions.d.ts.map +1 -0
  37. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/nestQuery.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/parseDuckDBType.d.ts.map +1 -0
  39. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/parseTypes.d.ts.map +1 -0
  40. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/parseValue.d.ts.map +1 -0
  41. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/prettyDuration.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/printTable.d.ts.map +1 -0
  43. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/queryDB.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/repeatRowsQuery.d.ts.map +1 -0
  45. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/rewind.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/runQuery.d.ts.map +1 -0
  47. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/setDbProps.d.ts.map +1 -0
  48. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/shouldFlipBeforeExport.d.ts.map +1 -0
  49. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/stringToArray.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/stringifyDates.d.ts.map +1 -0
  51. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/stringifyDatesInvert.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/unifyColumns.d.ts.map +1 -0
  53. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/unnestQuery.d.ts.map +1 -0
  54. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/wrapString.d.ts.map +1 -0
  55. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/writeDataAsArrays.d.ts.map +1 -0
  56. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/writeGeoData.d.ts.map +1 -0
  57. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/writeProjectionsAndIndexes.d.ts.map +1 -0
  58. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/index.d.ts.map +1 -0
  59. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/aggregateGeoQuery.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/binsQuery.d.ts.map +1 -0
  61. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/bm25.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/cache.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/capitalizeQuery.d.ts.map +1 -0
  64. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/cloneColumn.d.ts.map +1 -0
  65. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/cloneQuery.d.ts.map +1 -0
  66. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/concatenateQuery.d.ts.map +1 -0
  67. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/convertQuery.d.ts.map +1 -0
  68. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/correlations.d.ts.map +1 -0
  69. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/correlationsQuery.d.ts.map +1 -0
  70. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/createFtsIndex.d.ts.map +1 -0
  71. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/createVssIndex.d.ts.map +1 -0
  72. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/crossJoinQuery.d.ts.map +1 -0
  73. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/distanceQuery.d.ts.map +1 -0
  74. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fill.d.ts.map +1 -0
  75. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fuzzyClean.d.ts.map +1 -0
  76. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fuzzyJoin.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fuzzyJoinQuery.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getBottom.d.ts.map +1 -0
  79. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getColumns.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getDescription.d.ts.map +1 -0
  81. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getFirstRow.d.ts.map +1 -0
  82. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getGeoData.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getLastRow.d.ts.map +1 -0
  84. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMax.d.ts.map +1 -0
  85. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMean.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMedian.d.ts.map +1 -0
  87. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMin.d.ts.map +1 -0
  88. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbCharacters.d.ts.map +1 -0
  89. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbRows.d.ts +5 -0
  90. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbRows.d.ts.map +1 -0
  91. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbRows.js +15 -0
  92. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getQuantile.d.ts.map +1 -0
  93. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getSkew.d.ts.map +1 -0
  94. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getStdDev.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getSum.d.ts.map +1 -0
  96. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getTableNames.d.ts.map +1 -0
  97. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getTop.d.ts.map +1 -0
  98. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getTypes.d.ts.map +1 -0
  99. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getUniques.d.ts.map +1 -0
  100. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getValues.d.ts.map +1 -0
  101. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getVar.d.ts.map +1 -0
  102. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/insertRowsQuery.d.ts.map +1 -0
  103. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/join.d.ts.map +1 -0
  104. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/joinGeo.d.ts.map +1 -0
  105. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/joinGeoQuery.d.ts.map +1 -0
  106. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/joinQuery.d.ts.map +1 -0
  107. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/keepQuery.d.ts.map +1 -0
  108. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/linearRegressionQuery.d.ts.map +1 -0
  109. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/linearRegressions.d.ts.map +1 -0
  110. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/loadArray.d.ts.map +1 -0
  111. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/loadDataQuery.d.ts.map +1 -0
  112. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/loadSample.d.ts.map +1 -0
  113. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/lowerQuery.d.ts.map +1 -0
  114. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/normalizeQuery.d.ts.map +1 -0
  115. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/normalizeString.d.ts.map +1 -0
  116. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/outliersIQRQuery.d.ts.map +1 -0
  117. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/padQuery.d.ts.map +1 -0
  118. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/proportionsHorizontalQuery.d.ts.map +1 -0
  119. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/proportionsVerticalQuery.d.ts.map +1 -0
  120. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/quantilesQuery.d.ts.map +1 -0
  121. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/randomPointQuery.d.ts.map +1 -0
  122. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/randomPointQuery.js +66 -0
  123. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/ranksQuery.d.ts.map +1 -0
  124. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeDuplicatesQuery.d.ts.map +1 -0
  125. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeMissing.d.ts.map +1 -0
  126. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeMissingQuery.d.ts.map +1 -0
  127. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeQuery.d.ts.map +1 -0
  128. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/renameColumnQuery.d.ts.map +1 -0
  129. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/replaceNullsQuery.d.ts.map +1 -0
  130. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/replaceQuery.d.ts.map +1 -0
  131. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/rollingQuery.d.ts.map +1 -0
  132. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/roundQuery.d.ts.map +1 -0
  133. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/selectRowsQuery.d.ts.map +1 -0
  134. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/sortQuery.d.ts.map +1 -0
  135. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/splitSpread.d.ts.map +1 -0
  136. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/summarize.d.ts.map +1 -0
  137. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/summarizeQuery.d.ts.map +1 -0
  138. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/trimQuery.d.ts.map +1 -0
  139. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/truncateQuery.d.ts.map +1 -0
  140. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/upperQuery.d.ts.map +1 -0
  141. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/writeDataQuery.d.ts.map +1 -0
  142. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/writeGeoDataQuery.d.ts.map +1 -0
  143. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/zScoreQuery.d.ts.map +1 -0
  144. package/esm/methods/aiRowByRow.js +1 -1
  145. package/esm/methods/aiVectorSimilarity.js +1 -1
  146. package/esm/methods/hybridSearch.js +1 -1
  147. package/package.json +1 -1
  148. package/script/class/SimpleDB.d.ts +1 -1
  149. package/script/class/SimpleDB.js +1 -1
  150. package/script/class/SimpleTable.d.ts +1 -1
  151. package/script/class/SimpleTable.js +2 -2
  152. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/Simple.d.ts.map +1 -0
  153. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleDB.d.ts.map +1 -0
  154. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleTable.d.ts +4608 -0
  155. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleTable.d.ts.map +1 -0
  156. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/class/SimpleTable.js +5607 -0
  157. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/accumulateQuery.d.ts.map +1 -0
  158. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/camelCase.d.ts.map +1 -0
  159. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/capitalize.d.ts.map +1 -0
  160. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/checkVssIndexes.d.ts.map +1 -0
  161. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/cleanCache.d.ts.map +1 -0
  162. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/cleanPath.d.ts.map +1 -0
  163. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/cleanSQL.d.ts.map +1 -0
  164. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/concatenateRowQuery.d.ts.map +1 -0
  165. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/convertForJS.d.ts.map +1 -0
  166. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/createDirectory.d.ts.map +1 -0
  167. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/csvFormat.d.ts.map +1 -0
  168. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/dataToArrays.d.ts.map +1 -0
  169. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/extractTypes.d.ts.map +1 -0
  170. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/findGeoColumn.d.ts.map +1 -0
  171. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/formatDate.d.ts.map +1 -0
  172. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/formatNumber.d.ts.map +1 -0
  173. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getCombinations.d.ts.map +1 -0
  174. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getExtension.d.ts.map +1 -0
  175. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getIdenticalColumns.d.ts.map +1 -0
  176. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getName.d.ts.map +1 -0
  177. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getProjection.d.ts.map +1 -0
  178. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/getProjectionParquet.d.ts.map +1 -0
  179. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/hasGeometryColumn.d.ts.map +1 -0
  180. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/index.d.ts.map +1 -0
  181. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/keepNumericalColumns.d.ts.map +1 -0
  182. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/logData.d.ts.map +1 -0
  183. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/mergeOptions.d.ts.map +1 -0
  184. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/nestQuery.d.ts.map +1 -0
  185. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/parseDuckDBType.d.ts.map +1 -0
  186. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/parseTypes.d.ts.map +1 -0
  187. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/parseValue.d.ts.map +1 -0
  188. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/prettyDuration.d.ts.map +1 -0
  189. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/printTable.d.ts.map +1 -0
  190. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/queryDB.d.ts.map +1 -0
  191. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/repeatRowsQuery.d.ts.map +1 -0
  192. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/rewind.d.ts.map +1 -0
  193. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/runQuery.d.ts.map +1 -0
  194. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/setDbProps.d.ts.map +1 -0
  195. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/shouldFlipBeforeExport.d.ts.map +1 -0
  196. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/stringToArray.d.ts.map +1 -0
  197. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/stringifyDates.d.ts.map +1 -0
  198. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/stringifyDatesInvert.d.ts.map +1 -0
  199. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/unifyColumns.d.ts.map +1 -0
  200. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/unnestQuery.d.ts.map +1 -0
  201. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/wrapString.d.ts.map +1 -0
  202. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/writeDataAsArrays.d.ts.map +1 -0
  203. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/writeGeoData.d.ts.map +1 -0
  204. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/helpers/writeProjectionsAndIndexes.d.ts.map +1 -0
  205. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/index.d.ts.map +1 -0
  206. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/aggregateGeoQuery.d.ts.map +1 -0
  207. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/binsQuery.d.ts.map +1 -0
  208. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/bm25.d.ts.map +1 -0
  209. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/cache.d.ts.map +1 -0
  210. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/capitalizeQuery.d.ts.map +1 -0
  211. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/cloneColumn.d.ts.map +1 -0
  212. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/cloneQuery.d.ts.map +1 -0
  213. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/concatenateQuery.d.ts.map +1 -0
  214. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/convertQuery.d.ts.map +1 -0
  215. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/correlations.d.ts.map +1 -0
  216. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/correlationsQuery.d.ts.map +1 -0
  217. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/createFtsIndex.d.ts.map +1 -0
  218. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/createVssIndex.d.ts.map +1 -0
  219. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/crossJoinQuery.d.ts.map +1 -0
  220. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/distanceQuery.d.ts.map +1 -0
  221. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fill.d.ts.map +1 -0
  222. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fuzzyClean.d.ts.map +1 -0
  223. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fuzzyJoin.d.ts.map +1 -0
  224. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/fuzzyJoinQuery.d.ts.map +1 -0
  225. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getBottom.d.ts.map +1 -0
  226. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getColumns.d.ts.map +1 -0
  227. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getDescription.d.ts.map +1 -0
  228. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getFirstRow.d.ts.map +1 -0
  229. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getGeoData.d.ts.map +1 -0
  230. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getLastRow.d.ts.map +1 -0
  231. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMax.d.ts.map +1 -0
  232. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMean.d.ts.map +1 -0
  233. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMedian.d.ts.map +1 -0
  234. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getMin.d.ts.map +1 -0
  235. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbCharacters.d.ts.map +1 -0
  236. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbRows.d.ts +5 -0
  237. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbRows.d.ts.map +1 -0
  238. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getNbRows.js +21 -0
  239. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getQuantile.d.ts.map +1 -0
  240. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getSkew.d.ts.map +1 -0
  241. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getStdDev.d.ts.map +1 -0
  242. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getSum.d.ts.map +1 -0
  243. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getTableNames.d.ts.map +1 -0
  244. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getTop.d.ts.map +1 -0
  245. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getTypes.d.ts.map +1 -0
  246. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getUniques.d.ts.map +1 -0
  247. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getValues.d.ts.map +1 -0
  248. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/getVar.d.ts.map +1 -0
  249. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/insertRowsQuery.d.ts.map +1 -0
  250. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/join.d.ts.map +1 -0
  251. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/joinGeo.d.ts.map +1 -0
  252. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/joinGeoQuery.d.ts.map +1 -0
  253. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/joinQuery.d.ts.map +1 -0
  254. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/keepQuery.d.ts.map +1 -0
  255. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/linearRegressionQuery.d.ts.map +1 -0
  256. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/linearRegressions.d.ts.map +1 -0
  257. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/loadArray.d.ts.map +1 -0
  258. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/loadDataQuery.d.ts.map +1 -0
  259. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/loadSample.d.ts.map +1 -0
  260. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/lowerQuery.d.ts.map +1 -0
  261. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/normalizeQuery.d.ts.map +1 -0
  262. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/normalizeString.d.ts.map +1 -0
  263. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/outliersIQRQuery.d.ts.map +1 -0
  264. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/padQuery.d.ts.map +1 -0
  265. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/proportionsHorizontalQuery.d.ts.map +1 -0
  266. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/proportionsVerticalQuery.d.ts.map +1 -0
  267. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/quantilesQuery.d.ts.map +1 -0
  268. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/randomPointQuery.d.ts.map +1 -0
  269. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/randomPointQuery.js +69 -0
  270. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/ranksQuery.d.ts.map +1 -0
  271. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeDuplicatesQuery.d.ts.map +1 -0
  272. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeMissing.d.ts.map +1 -0
  273. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeMissingQuery.d.ts.map +1 -0
  274. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/removeQuery.d.ts.map +1 -0
  275. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/renameColumnQuery.d.ts.map +1 -0
  276. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/replaceNullsQuery.d.ts.map +1 -0
  277. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/replaceQuery.d.ts.map +1 -0
  278. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/rollingQuery.d.ts.map +1 -0
  279. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/roundQuery.d.ts.map +1 -0
  280. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/selectRowsQuery.d.ts.map +1 -0
  281. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/sortQuery.d.ts.map +1 -0
  282. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/splitSpread.d.ts.map +1 -0
  283. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/summarize.d.ts.map +1 -0
  284. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/summarizeQuery.d.ts.map +1 -0
  285. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/trimQuery.d.ts.map +1 -0
  286. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/truncateQuery.d.ts.map +1 -0
  287. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/upperQuery.d.ts.map +1 -0
  288. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/writeDataQuery.d.ts.map +1 -0
  289. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/writeGeoDataQuery.d.ts.map +1 -0
  290. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.27/src/methods/zScoreQuery.d.ts.map +1 -0
  291. package/script/methods/aiRowByRow.js +1 -1
  292. package/script/methods/aiVectorSimilarity.js +1 -1
  293. package/script/methods/hybridSearch.js +1 -1
  294. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/Simple.d.ts.map +0 -1
  295. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleDB.d.ts.map +0 -1
  296. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleTable.d.ts +0 -4579
  297. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleTable.d.ts.map +0 -1
  298. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleTable.js +0 -5565
  299. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/accumulateQuery.d.ts.map +0 -1
  300. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/camelCase.d.ts.map +0 -1
  301. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/capitalize.d.ts.map +0 -1
  302. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/checkVssIndexes.d.ts.map +0 -1
  303. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/cleanCache.d.ts.map +0 -1
  304. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/cleanPath.d.ts.map +0 -1
  305. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/cleanSQL.d.ts.map +0 -1
  306. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/concatenateRowQuery.d.ts.map +0 -1
  307. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/convertForJS.d.ts.map +0 -1
  308. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/createDirectory.d.ts.map +0 -1
  309. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/csvFormat.d.ts.map +0 -1
  310. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/dataToArrays.d.ts.map +0 -1
  311. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/extractTypes.d.ts.map +0 -1
  312. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/findGeoColumn.d.ts.map +0 -1
  313. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/formatDate.d.ts.map +0 -1
  314. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/formatNumber.d.ts.map +0 -1
  315. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getCombinations.d.ts.map +0 -1
  316. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getExtension.d.ts.map +0 -1
  317. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getIdenticalColumns.d.ts.map +0 -1
  318. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getName.d.ts.map +0 -1
  319. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getProjection.d.ts.map +0 -1
  320. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getProjectionParquet.d.ts.map +0 -1
  321. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/hasGeometryColumn.d.ts.map +0 -1
  322. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/index.d.ts.map +0 -1
  323. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/keepNumericalColumns.d.ts.map +0 -1
  324. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/logData.d.ts.map +0 -1
  325. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/mergeOptions.d.ts.map +0 -1
  326. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/nestQuery.d.ts.map +0 -1
  327. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/parseDuckDBType.d.ts.map +0 -1
  328. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/parseTypes.d.ts.map +0 -1
  329. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/parseValue.d.ts.map +0 -1
  330. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/prettyDuration.d.ts.map +0 -1
  331. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/printTable.d.ts.map +0 -1
  332. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/queryDB.d.ts.map +0 -1
  333. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/repeatRowsQuery.d.ts.map +0 -1
  334. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/rewind.d.ts.map +0 -1
  335. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/runQuery.d.ts.map +0 -1
  336. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/setDbProps.d.ts.map +0 -1
  337. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/shouldFlipBeforeExport.d.ts.map +0 -1
  338. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/stringToArray.d.ts.map +0 -1
  339. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/stringifyDates.d.ts.map +0 -1
  340. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/stringifyDatesInvert.d.ts.map +0 -1
  341. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/unifyColumns.d.ts.map +0 -1
  342. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/unnestQuery.d.ts.map +0 -1
  343. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/wrapString.d.ts.map +0 -1
  344. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/writeDataAsArrays.d.ts.map +0 -1
  345. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/writeGeoData.d.ts.map +0 -1
  346. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/writeProjectionsAndIndexes.d.ts.map +0 -1
  347. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/index.d.ts.map +0 -1
  348. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/aggregateGeoQuery.d.ts.map +0 -1
  349. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/binsQuery.d.ts.map +0 -1
  350. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/bm25.d.ts.map +0 -1
  351. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/cache.d.ts.map +0 -1
  352. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/capitalizeQuery.d.ts.map +0 -1
  353. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/cloneColumn.d.ts.map +0 -1
  354. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/cloneQuery.d.ts.map +0 -1
  355. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/concatenateQuery.d.ts.map +0 -1
  356. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/convertQuery.d.ts.map +0 -1
  357. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/correlations.d.ts.map +0 -1
  358. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/correlationsQuery.d.ts.map +0 -1
  359. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/createFtsIndex.d.ts.map +0 -1
  360. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/createVssIndex.d.ts.map +0 -1
  361. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/crossJoinQuery.d.ts.map +0 -1
  362. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/distanceQuery.d.ts.map +0 -1
  363. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fill.d.ts.map +0 -1
  364. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fuzzyClean.d.ts.map +0 -1
  365. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fuzzyJoin.d.ts.map +0 -1
  366. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fuzzyJoinQuery.d.ts.map +0 -1
  367. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getBottom.d.ts.map +0 -1
  368. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getColumns.d.ts.map +0 -1
  369. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getDescription.d.ts.map +0 -1
  370. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getFirstRow.d.ts.map +0 -1
  371. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getGeoData.d.ts.map +0 -1
  372. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getLastRow.d.ts.map +0 -1
  373. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMax.d.ts.map +0 -1
  374. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMean.d.ts.map +0 -1
  375. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMedian.d.ts.map +0 -1
  376. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMin.d.ts.map +0 -1
  377. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbCharacters.d.ts.map +0 -1
  378. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbRows.d.ts +0 -3
  379. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbRows.d.ts.map +0 -1
  380. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbRows.js +0 -15
  381. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getQuantile.d.ts.map +0 -1
  382. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getSkew.d.ts.map +0 -1
  383. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getStdDev.d.ts.map +0 -1
  384. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getSum.d.ts.map +0 -1
  385. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getTableNames.d.ts.map +0 -1
  386. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getTop.d.ts.map +0 -1
  387. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getTypes.d.ts.map +0 -1
  388. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getUniques.d.ts.map +0 -1
  389. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getValues.d.ts.map +0 -1
  390. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getVar.d.ts.map +0 -1
  391. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/insertRowsQuery.d.ts.map +0 -1
  392. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/join.d.ts.map +0 -1
  393. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/joinGeo.d.ts.map +0 -1
  394. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/joinGeoQuery.d.ts.map +0 -1
  395. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/joinQuery.d.ts.map +0 -1
  396. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/keepQuery.d.ts.map +0 -1
  397. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/linearRegressionQuery.d.ts.map +0 -1
  398. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/linearRegressions.d.ts.map +0 -1
  399. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/loadArray.d.ts.map +0 -1
  400. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/loadDataQuery.d.ts.map +0 -1
  401. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/loadSample.d.ts.map +0 -1
  402. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/lowerQuery.d.ts.map +0 -1
  403. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/normalizeQuery.d.ts.map +0 -1
  404. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/normalizeString.d.ts.map +0 -1
  405. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/outliersIQRQuery.d.ts.map +0 -1
  406. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/padQuery.d.ts.map +0 -1
  407. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/proportionsHorizontalQuery.d.ts.map +0 -1
  408. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/proportionsVerticalQuery.d.ts.map +0 -1
  409. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/quantilesQuery.d.ts.map +0 -1
  410. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/randomPointQuery.d.ts.map +0 -1
  411. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/randomPointQuery.js +0 -28
  412. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/ranksQuery.d.ts.map +0 -1
  413. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeDuplicatesQuery.d.ts.map +0 -1
  414. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeMissing.d.ts.map +0 -1
  415. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeMissingQuery.d.ts.map +0 -1
  416. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeQuery.d.ts.map +0 -1
  417. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/renameColumnQuery.d.ts.map +0 -1
  418. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/replaceNullsQuery.d.ts.map +0 -1
  419. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/replaceQuery.d.ts.map +0 -1
  420. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/rollingQuery.d.ts.map +0 -1
  421. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/roundQuery.d.ts.map +0 -1
  422. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/selectRowsQuery.d.ts.map +0 -1
  423. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/sortQuery.d.ts.map +0 -1
  424. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/splitSpread.d.ts.map +0 -1
  425. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/summarize.d.ts.map +0 -1
  426. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/summarizeQuery.d.ts.map +0 -1
  427. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/trimQuery.d.ts.map +0 -1
  428. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/truncateQuery.d.ts.map +0 -1
  429. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/upperQuery.d.ts.map +0 -1
  430. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/writeDataQuery.d.ts.map +0 -1
  431. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/writeGeoDataQuery.d.ts.map +0 -1
  432. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/zScoreQuery.d.ts.map +0 -1
  433. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/Simple.d.ts.map +0 -1
  434. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleDB.d.ts.map +0 -1
  435. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleTable.d.ts +0 -4579
  436. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleTable.d.ts.map +0 -1
  437. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/class/SimpleTable.js +0 -5571
  438. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/accumulateQuery.d.ts.map +0 -1
  439. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/camelCase.d.ts.map +0 -1
  440. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/capitalize.d.ts.map +0 -1
  441. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/checkVssIndexes.d.ts.map +0 -1
  442. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/cleanCache.d.ts.map +0 -1
  443. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/cleanPath.d.ts.map +0 -1
  444. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/cleanSQL.d.ts.map +0 -1
  445. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/concatenateRowQuery.d.ts.map +0 -1
  446. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/convertForJS.d.ts.map +0 -1
  447. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/createDirectory.d.ts.map +0 -1
  448. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/csvFormat.d.ts.map +0 -1
  449. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/dataToArrays.d.ts.map +0 -1
  450. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/extractTypes.d.ts.map +0 -1
  451. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/findGeoColumn.d.ts.map +0 -1
  452. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/formatDate.d.ts.map +0 -1
  453. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/formatNumber.d.ts.map +0 -1
  454. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getCombinations.d.ts.map +0 -1
  455. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getExtension.d.ts.map +0 -1
  456. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getIdenticalColumns.d.ts.map +0 -1
  457. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getName.d.ts.map +0 -1
  458. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getProjection.d.ts.map +0 -1
  459. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/getProjectionParquet.d.ts.map +0 -1
  460. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/hasGeometryColumn.d.ts.map +0 -1
  461. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/index.d.ts.map +0 -1
  462. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/keepNumericalColumns.d.ts.map +0 -1
  463. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/logData.d.ts.map +0 -1
  464. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/mergeOptions.d.ts.map +0 -1
  465. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/nestQuery.d.ts.map +0 -1
  466. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/parseDuckDBType.d.ts.map +0 -1
  467. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/parseTypes.d.ts.map +0 -1
  468. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/parseValue.d.ts.map +0 -1
  469. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/prettyDuration.d.ts.map +0 -1
  470. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/printTable.d.ts.map +0 -1
  471. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/queryDB.d.ts.map +0 -1
  472. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/repeatRowsQuery.d.ts.map +0 -1
  473. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/rewind.d.ts.map +0 -1
  474. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/runQuery.d.ts.map +0 -1
  475. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/setDbProps.d.ts.map +0 -1
  476. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/shouldFlipBeforeExport.d.ts.map +0 -1
  477. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/stringToArray.d.ts.map +0 -1
  478. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/stringifyDates.d.ts.map +0 -1
  479. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/stringifyDatesInvert.d.ts.map +0 -1
  480. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/unifyColumns.d.ts.map +0 -1
  481. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/unnestQuery.d.ts.map +0 -1
  482. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/wrapString.d.ts.map +0 -1
  483. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/writeDataAsArrays.d.ts.map +0 -1
  484. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/writeGeoData.d.ts.map +0 -1
  485. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/helpers/writeProjectionsAndIndexes.d.ts.map +0 -1
  486. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/index.d.ts.map +0 -1
  487. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/aggregateGeoQuery.d.ts.map +0 -1
  488. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/binsQuery.d.ts.map +0 -1
  489. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/bm25.d.ts.map +0 -1
  490. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/cache.d.ts.map +0 -1
  491. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/capitalizeQuery.d.ts.map +0 -1
  492. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/cloneColumn.d.ts.map +0 -1
  493. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/cloneQuery.d.ts.map +0 -1
  494. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/concatenateQuery.d.ts.map +0 -1
  495. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/convertQuery.d.ts.map +0 -1
  496. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/correlations.d.ts.map +0 -1
  497. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/correlationsQuery.d.ts.map +0 -1
  498. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/createFtsIndex.d.ts.map +0 -1
  499. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/createVssIndex.d.ts.map +0 -1
  500. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/crossJoinQuery.d.ts.map +0 -1
  501. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/distanceQuery.d.ts.map +0 -1
  502. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fill.d.ts.map +0 -1
  503. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fuzzyClean.d.ts.map +0 -1
  504. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fuzzyJoin.d.ts.map +0 -1
  505. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/fuzzyJoinQuery.d.ts.map +0 -1
  506. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getBottom.d.ts.map +0 -1
  507. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getColumns.d.ts.map +0 -1
  508. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getDescription.d.ts.map +0 -1
  509. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getFirstRow.d.ts.map +0 -1
  510. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getGeoData.d.ts.map +0 -1
  511. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getLastRow.d.ts.map +0 -1
  512. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMax.d.ts.map +0 -1
  513. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMean.d.ts.map +0 -1
  514. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMedian.d.ts.map +0 -1
  515. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getMin.d.ts.map +0 -1
  516. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbCharacters.d.ts.map +0 -1
  517. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbRows.d.ts +0 -3
  518. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbRows.d.ts.map +0 -1
  519. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getNbRows.js +0 -21
  520. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getQuantile.d.ts.map +0 -1
  521. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getSkew.d.ts.map +0 -1
  522. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getStdDev.d.ts.map +0 -1
  523. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getSum.d.ts.map +0 -1
  524. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getTableNames.d.ts.map +0 -1
  525. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getTop.d.ts.map +0 -1
  526. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getTypes.d.ts.map +0 -1
  527. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getUniques.d.ts.map +0 -1
  528. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getValues.d.ts.map +0 -1
  529. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/getVar.d.ts.map +0 -1
  530. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/insertRowsQuery.d.ts.map +0 -1
  531. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/join.d.ts.map +0 -1
  532. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/joinGeo.d.ts.map +0 -1
  533. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/joinGeoQuery.d.ts.map +0 -1
  534. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/joinQuery.d.ts.map +0 -1
  535. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/keepQuery.d.ts.map +0 -1
  536. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/linearRegressionQuery.d.ts.map +0 -1
  537. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/linearRegressions.d.ts.map +0 -1
  538. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/loadArray.d.ts.map +0 -1
  539. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/loadDataQuery.d.ts.map +0 -1
  540. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/loadSample.d.ts.map +0 -1
  541. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/lowerQuery.d.ts.map +0 -1
  542. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/normalizeQuery.d.ts.map +0 -1
  543. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/normalizeString.d.ts.map +0 -1
  544. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/outliersIQRQuery.d.ts.map +0 -1
  545. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/padQuery.d.ts.map +0 -1
  546. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/proportionsHorizontalQuery.d.ts.map +0 -1
  547. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/proportionsVerticalQuery.d.ts.map +0 -1
  548. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/quantilesQuery.d.ts.map +0 -1
  549. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/randomPointQuery.d.ts.map +0 -1
  550. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/randomPointQuery.js +0 -31
  551. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/ranksQuery.d.ts.map +0 -1
  552. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeDuplicatesQuery.d.ts.map +0 -1
  553. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeMissing.d.ts.map +0 -1
  554. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeMissingQuery.d.ts.map +0 -1
  555. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/removeQuery.d.ts.map +0 -1
  556. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/renameColumnQuery.d.ts.map +0 -1
  557. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/replaceNullsQuery.d.ts.map +0 -1
  558. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/replaceQuery.d.ts.map +0 -1
  559. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/rollingQuery.d.ts.map +0 -1
  560. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/roundQuery.d.ts.map +0 -1
  561. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/selectRowsQuery.d.ts.map +0 -1
  562. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/sortQuery.d.ts.map +0 -1
  563. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/splitSpread.d.ts.map +0 -1
  564. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/summarize.d.ts.map +0 -1
  565. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/summarizeQuery.d.ts.map +0 -1
  566. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/trimQuery.d.ts.map +0 -1
  567. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/truncateQuery.d.ts.map +0 -1
  568. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/upperQuery.d.ts.map +0 -1
  569. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/writeDataQuery.d.ts.map +0 -1
  570. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/writeGeoDataQuery.d.ts.map +0 -1
  571. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.26/src/methods/zScoreQuery.d.ts.map +0 -1
  572. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/Simple.d.ts +0 -0
  573. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/Simple.js +0 -0
  574. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/SimpleDB.d.ts +0 -0
  575. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/SimpleDB.js +0 -0
  576. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/accumulateQuery.d.ts +0 -0
  577. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/accumulateQuery.js +0 -0
  578. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/camelCase.d.ts +0 -0
  579. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/camelCase.js +0 -0
  580. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/capitalize.d.ts +0 -0
  581. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/capitalize.js +0 -0
  582. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/checkVssIndexes.d.ts +0 -0
  583. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/checkVssIndexes.js +0 -0
  584. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanCache.d.ts +0 -0
  585. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanCache.js +0 -0
  586. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanPath.d.ts +0 -0
  587. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanPath.js +0 -0
  588. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanSQL.d.ts +0 -0
  589. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanSQL.js +0 -0
  590. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/concatenateRowQuery.d.ts +0 -0
  591. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/concatenateRowQuery.js +0 -0
  592. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/convertForJS.d.ts +0 -0
  593. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/convertForJS.js +0 -0
  594. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/createDirectory.d.ts +0 -0
  595. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/createDirectory.js +0 -0
  596. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/csvFormat.d.ts +0 -0
  597. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/csvFormat.js +0 -0
  598. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/dataToArrays.d.ts +0 -0
  599. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/dataToArrays.js +0 -0
  600. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/extractTypes.d.ts +0 -0
  601. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/extractTypes.js +0 -0
  602. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/findGeoColumn.d.ts +0 -0
  603. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/findGeoColumn.js +0 -0
  604. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatDate.d.ts +0 -0
  605. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatDate.js +0 -0
  606. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatNumber.d.ts +0 -0
  607. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatNumber.js +0 -0
  608. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getCombinations.d.ts +0 -0
  609. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getCombinations.js +0 -0
  610. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getExtension.d.ts +0 -0
  611. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getExtension.js +0 -0
  612. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getIdenticalColumns.d.ts +0 -0
  613. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getIdenticalColumns.js +0 -0
  614. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getName.d.ts +0 -0
  615. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getName.js +0 -0
  616. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjection.d.ts +0 -0
  617. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjection.js +0 -0
  618. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjectionParquet.d.ts +0 -0
  619. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjectionParquet.js +0 -0
  620. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/hasGeometryColumn.d.ts +0 -0
  621. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/hasGeometryColumn.js +0 -0
  622. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/index.d.ts +0 -0
  623. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/index.js +0 -0
  624. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/keepNumericalColumns.d.ts +0 -0
  625. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/keepNumericalColumns.js +0 -0
  626. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/logData.d.ts +0 -0
  627. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/logData.js +0 -0
  628. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/mergeOptions.d.ts +0 -0
  629. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/mergeOptions.js +0 -0
  630. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/nestQuery.d.ts +0 -0
  631. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/nestQuery.js +0 -0
  632. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseDuckDBType.d.ts +0 -0
  633. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseDuckDBType.js +0 -0
  634. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseTypes.d.ts +0 -0
  635. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseTypes.js +0 -0
  636. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseValue.d.ts +0 -0
  637. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseValue.js +0 -0
  638. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/prettyDuration.d.ts +0 -0
  639. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/prettyDuration.js +0 -0
  640. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/printTable.d.ts +0 -0
  641. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/printTable.js +0 -0
  642. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/queryDB.d.ts +0 -0
  643. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/queryDB.js +0 -0
  644. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/repeatRowsQuery.d.ts +0 -0
  645. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/repeatRowsQuery.js +0 -0
  646. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/rewind.d.ts +0 -0
  647. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/rewind.js +0 -0
  648. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/runQuery.d.ts +0 -0
  649. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/runQuery.js +0 -0
  650. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/setDbProps.d.ts +0 -0
  651. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/setDbProps.js +0 -0
  652. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/shouldFlipBeforeExport.d.ts +0 -0
  653. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/shouldFlipBeforeExport.js +0 -0
  654. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringToArray.d.ts +0 -0
  655. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringToArray.js +0 -0
  656. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDates.d.ts +0 -0
  657. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDates.js +0 -0
  658. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDatesInvert.d.ts +0 -0
  659. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDatesInvert.js +0 -0
  660. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unifyColumns.d.ts +0 -0
  661. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unifyColumns.js +0 -0
  662. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unnestQuery.d.ts +0 -0
  663. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unnestQuery.js +0 -0
  664. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/wrapString.d.ts +0 -0
  665. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/wrapString.js +0 -0
  666. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeDataAsArrays.d.ts +0 -0
  667. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeDataAsArrays.js +0 -0
  668. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeGeoData.d.ts +0 -0
  669. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeGeoData.js +0 -0
  670. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeProjectionsAndIndexes.d.ts +0 -0
  671. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeProjectionsAndIndexes.js +0 -0
  672. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/index.d.ts +0 -0
  673. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/index.js +0 -0
  674. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/aggregateGeoQuery.d.ts +0 -0
  675. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/aggregateGeoQuery.js +0 -0
  676. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/binsQuery.d.ts +0 -0
  677. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/binsQuery.js +0 -0
  678. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/bm25.d.ts +0 -0
  679. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/bm25.js +0 -0
  680. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cache.d.ts +0 -0
  681. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cache.js +0 -0
  682. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/capitalizeQuery.d.ts +0 -0
  683. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/capitalizeQuery.js +0 -0
  684. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneColumn.d.ts +0 -0
  685. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneColumn.js +0 -0
  686. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneQuery.d.ts +0 -0
  687. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneQuery.js +0 -0
  688. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/concatenateQuery.d.ts +0 -0
  689. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/concatenateQuery.js +0 -0
  690. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/convertQuery.d.ts +0 -0
  691. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/convertQuery.js +0 -0
  692. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlations.d.ts +0 -0
  693. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlations.js +0 -0
  694. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlationsQuery.d.ts +0 -0
  695. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlationsQuery.js +0 -0
  696. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createFtsIndex.d.ts +0 -0
  697. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createFtsIndex.js +0 -0
  698. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createVssIndex.d.ts +0 -0
  699. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createVssIndex.js +0 -0
  700. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/crossJoinQuery.d.ts +0 -0
  701. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/crossJoinQuery.js +0 -0
  702. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/distanceQuery.d.ts +0 -0
  703. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/distanceQuery.js +0 -0
  704. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fill.d.ts +0 -0
  705. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fill.js +0 -0
  706. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyClean.d.ts +0 -0
  707. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyClean.js +0 -0
  708. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoin.d.ts +0 -0
  709. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoin.js +0 -0
  710. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoinQuery.d.ts +0 -0
  711. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoinQuery.js +0 -0
  712. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getBottom.d.ts +0 -0
  713. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getBottom.js +0 -0
  714. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getColumns.d.ts +0 -0
  715. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getColumns.js +0 -0
  716. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getDescription.d.ts +0 -0
  717. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getDescription.js +0 -0
  718. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getFirstRow.d.ts +0 -0
  719. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getFirstRow.js +0 -0
  720. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getGeoData.d.ts +0 -0
  721. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getGeoData.js +0 -0
  722. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getLastRow.d.ts +0 -0
  723. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getLastRow.js +0 -0
  724. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMax.d.ts +0 -0
  725. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMax.js +0 -0
  726. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMean.d.ts +0 -0
  727. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMean.js +0 -0
  728. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMedian.d.ts +0 -0
  729. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMedian.js +0 -0
  730. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMin.d.ts +0 -0
  731. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMin.js +0 -0
  732. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getNbCharacters.d.ts +0 -0
  733. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getNbCharacters.js +0 -0
  734. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getQuantile.d.ts +0 -0
  735. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getQuantile.js +0 -0
  736. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSkew.d.ts +0 -0
  737. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSkew.js +0 -0
  738. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getStdDev.d.ts +0 -0
  739. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getStdDev.js +0 -0
  740. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSum.d.ts +0 -0
  741. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSum.js +0 -0
  742. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTableNames.d.ts +0 -0
  743. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTableNames.js +0 -0
  744. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTop.d.ts +0 -0
  745. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTop.js +0 -0
  746. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTypes.d.ts +0 -0
  747. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTypes.js +0 -0
  748. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getUniques.d.ts +0 -0
  749. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getUniques.js +0 -0
  750. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getValues.d.ts +0 -0
  751. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getValues.js +0 -0
  752. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getVar.d.ts +0 -0
  753. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getVar.js +0 -0
  754. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/insertRowsQuery.d.ts +0 -0
  755. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/insertRowsQuery.js +0 -0
  756. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/join.d.ts +0 -0
  757. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/join.js +0 -0
  758. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeo.d.ts +0 -0
  759. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeo.js +0 -0
  760. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeoQuery.d.ts +0 -0
  761. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeoQuery.js +0 -0
  762. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinQuery.d.ts +0 -0
  763. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinQuery.js +0 -0
  764. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/keepQuery.d.ts +0 -0
  765. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/keepQuery.js +0 -0
  766. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressionQuery.d.ts +0 -0
  767. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressionQuery.js +0 -0
  768. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressions.d.ts +0 -0
  769. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressions.js +0 -0
  770. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadArray.d.ts +0 -0
  771. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadArray.js +0 -0
  772. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadDataQuery.d.ts +0 -0
  773. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadDataQuery.js +0 -0
  774. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadSample.d.ts +0 -0
  775. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadSample.js +0 -0
  776. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/lowerQuery.d.ts +0 -0
  777. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/lowerQuery.js +0 -0
  778. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeQuery.d.ts +0 -0
  779. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeQuery.js +0 -0
  780. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeString.d.ts +0 -0
  781. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeString.js +0 -0
  782. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/outliersIQRQuery.d.ts +0 -0
  783. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/outliersIQRQuery.js +0 -0
  784. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/padQuery.d.ts +0 -0
  785. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/padQuery.js +0 -0
  786. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsHorizontalQuery.d.ts +0 -0
  787. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsHorizontalQuery.js +0 -0
  788. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsVerticalQuery.d.ts +0 -0
  789. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsVerticalQuery.js +0 -0
  790. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/quantilesQuery.d.ts +0 -0
  791. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/quantilesQuery.js +0 -0
  792. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/randomPointQuery.d.ts +0 -0
  793. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/ranksQuery.d.ts +0 -0
  794. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/ranksQuery.js +0 -0
  795. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeDuplicatesQuery.d.ts +0 -0
  796. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeDuplicatesQuery.js +0 -0
  797. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissing.d.ts +0 -0
  798. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissing.js +0 -0
  799. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissingQuery.d.ts +0 -0
  800. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissingQuery.js +0 -0
  801. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeQuery.d.ts +0 -0
  802. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeQuery.js +0 -0
  803. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/renameColumnQuery.d.ts +0 -0
  804. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/renameColumnQuery.js +0 -0
  805. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceNullsQuery.d.ts +0 -0
  806. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceNullsQuery.js +0 -0
  807. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceQuery.d.ts +0 -0
  808. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceQuery.js +0 -0
  809. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/rollingQuery.d.ts +0 -0
  810. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/rollingQuery.js +0 -0
  811. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/roundQuery.d.ts +0 -0
  812. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/roundQuery.js +0 -0
  813. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/selectRowsQuery.d.ts +0 -0
  814. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/selectRowsQuery.js +0 -0
  815. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/sortQuery.d.ts +0 -0
  816. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/sortQuery.js +0 -0
  817. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/splitSpread.d.ts +0 -0
  818. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/splitSpread.js +0 -0
  819. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarize.d.ts +0 -0
  820. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarize.js +0 -0
  821. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarizeQuery.d.ts +0 -0
  822. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarizeQuery.js +0 -0
  823. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/trimQuery.d.ts +0 -0
  824. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/trimQuery.js +0 -0
  825. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/truncateQuery.d.ts +0 -0
  826. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/truncateQuery.js +0 -0
  827. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/upperQuery.d.ts +0 -0
  828. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/upperQuery.js +0 -0
  829. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeDataQuery.d.ts +0 -0
  830. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeDataQuery.js +0 -0
  831. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeGeoDataQuery.d.ts +0 -0
  832. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeGeoDataQuery.js +0 -0
  833. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/zScoreQuery.d.ts +0 -0
  834. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/zScoreQuery.js +0 -0
  835. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/Simple.d.ts +0 -0
  836. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/Simple.js +0 -0
  837. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/SimpleDB.d.ts +0 -0
  838. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/class/SimpleDB.js +0 -0
  839. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/accumulateQuery.d.ts +0 -0
  840. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/accumulateQuery.js +0 -0
  841. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/camelCase.d.ts +0 -0
  842. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/camelCase.js +0 -0
  843. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/capitalize.d.ts +0 -0
  844. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/capitalize.js +0 -0
  845. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/checkVssIndexes.d.ts +0 -0
  846. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/checkVssIndexes.js +0 -0
  847. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanCache.d.ts +0 -0
  848. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanCache.js +0 -0
  849. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanPath.d.ts +0 -0
  850. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanPath.js +0 -0
  851. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanSQL.d.ts +0 -0
  852. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/cleanSQL.js +0 -0
  853. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/concatenateRowQuery.d.ts +0 -0
  854. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/concatenateRowQuery.js +0 -0
  855. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/convertForJS.d.ts +0 -0
  856. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/convertForJS.js +0 -0
  857. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/createDirectory.d.ts +0 -0
  858. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/createDirectory.js +0 -0
  859. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/csvFormat.d.ts +0 -0
  860. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/csvFormat.js +0 -0
  861. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/dataToArrays.d.ts +0 -0
  862. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/dataToArrays.js +0 -0
  863. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/extractTypes.d.ts +0 -0
  864. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/extractTypes.js +0 -0
  865. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/findGeoColumn.d.ts +0 -0
  866. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/findGeoColumn.js +0 -0
  867. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatDate.d.ts +0 -0
  868. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatDate.js +0 -0
  869. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatNumber.d.ts +0 -0
  870. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/formatNumber.js +0 -0
  871. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getCombinations.d.ts +0 -0
  872. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getCombinations.js +0 -0
  873. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getExtension.d.ts +0 -0
  874. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getExtension.js +0 -0
  875. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getIdenticalColumns.d.ts +0 -0
  876. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getIdenticalColumns.js +0 -0
  877. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getName.d.ts +0 -0
  878. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getName.js +0 -0
  879. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjection.d.ts +0 -0
  880. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjection.js +0 -0
  881. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjectionParquet.d.ts +0 -0
  882. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/getProjectionParquet.js +0 -0
  883. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/hasGeometryColumn.d.ts +0 -0
  884. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/hasGeometryColumn.js +0 -0
  885. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/index.d.ts +0 -0
  886. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/index.js +0 -0
  887. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/keepNumericalColumns.d.ts +0 -0
  888. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/keepNumericalColumns.js +0 -0
  889. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/logData.d.ts +0 -0
  890. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/logData.js +0 -0
  891. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/mergeOptions.d.ts +0 -0
  892. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/mergeOptions.js +0 -0
  893. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/nestQuery.d.ts +0 -0
  894. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/nestQuery.js +0 -0
  895. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseDuckDBType.d.ts +0 -0
  896. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseDuckDBType.js +0 -0
  897. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseTypes.d.ts +0 -0
  898. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseTypes.js +0 -0
  899. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseValue.d.ts +0 -0
  900. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/parseValue.js +0 -0
  901. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/prettyDuration.d.ts +0 -0
  902. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/prettyDuration.js +0 -0
  903. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/printTable.d.ts +0 -0
  904. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/printTable.js +0 -0
  905. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/queryDB.d.ts +0 -0
  906. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/queryDB.js +0 -0
  907. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/repeatRowsQuery.d.ts +0 -0
  908. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/repeatRowsQuery.js +0 -0
  909. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/rewind.d.ts +0 -0
  910. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/rewind.js +0 -0
  911. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/runQuery.d.ts +0 -0
  912. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/runQuery.js +0 -0
  913. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/setDbProps.d.ts +0 -0
  914. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/setDbProps.js +0 -0
  915. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/shouldFlipBeforeExport.d.ts +0 -0
  916. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/shouldFlipBeforeExport.js +0 -0
  917. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringToArray.d.ts +0 -0
  918. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringToArray.js +0 -0
  919. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDates.d.ts +0 -0
  920. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDates.js +0 -0
  921. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDatesInvert.d.ts +0 -0
  922. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/stringifyDatesInvert.js +0 -0
  923. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unifyColumns.d.ts +0 -0
  924. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unifyColumns.js +0 -0
  925. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unnestQuery.d.ts +0 -0
  926. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/unnestQuery.js +0 -0
  927. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/wrapString.d.ts +0 -0
  928. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/wrapString.js +0 -0
  929. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeDataAsArrays.d.ts +0 -0
  930. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeDataAsArrays.js +0 -0
  931. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeGeoData.d.ts +0 -0
  932. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeGeoData.js +0 -0
  933. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeProjectionsAndIndexes.d.ts +0 -0
  934. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/helpers/writeProjectionsAndIndexes.js +0 -0
  935. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/index.d.ts +0 -0
  936. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/index.js +0 -0
  937. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/aggregateGeoQuery.d.ts +0 -0
  938. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/aggregateGeoQuery.js +0 -0
  939. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/binsQuery.d.ts +0 -0
  940. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/binsQuery.js +0 -0
  941. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/bm25.d.ts +0 -0
  942. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/bm25.js +0 -0
  943. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cache.d.ts +0 -0
  944. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cache.js +0 -0
  945. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/capitalizeQuery.d.ts +0 -0
  946. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/capitalizeQuery.js +0 -0
  947. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneColumn.d.ts +0 -0
  948. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneColumn.js +0 -0
  949. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneQuery.d.ts +0 -0
  950. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/cloneQuery.js +0 -0
  951. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/concatenateQuery.d.ts +0 -0
  952. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/concatenateQuery.js +0 -0
  953. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/convertQuery.d.ts +0 -0
  954. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/convertQuery.js +0 -0
  955. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlations.d.ts +0 -0
  956. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlations.js +0 -0
  957. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlationsQuery.d.ts +0 -0
  958. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/correlationsQuery.js +0 -0
  959. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createFtsIndex.d.ts +0 -0
  960. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createFtsIndex.js +0 -0
  961. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createVssIndex.d.ts +0 -0
  962. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/createVssIndex.js +0 -0
  963. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/crossJoinQuery.d.ts +0 -0
  964. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/crossJoinQuery.js +0 -0
  965. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/distanceQuery.d.ts +0 -0
  966. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/distanceQuery.js +0 -0
  967. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fill.d.ts +0 -0
  968. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fill.js +0 -0
  969. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyClean.d.ts +0 -0
  970. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyClean.js +0 -0
  971. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoin.d.ts +0 -0
  972. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoin.js +0 -0
  973. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoinQuery.d.ts +0 -0
  974. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/fuzzyJoinQuery.js +0 -0
  975. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getBottom.d.ts +0 -0
  976. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getBottom.js +0 -0
  977. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getColumns.d.ts +0 -0
  978. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getColumns.js +0 -0
  979. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getDescription.d.ts +0 -0
  980. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getDescription.js +0 -0
  981. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getFirstRow.d.ts +0 -0
  982. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getFirstRow.js +0 -0
  983. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getGeoData.d.ts +0 -0
  984. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getGeoData.js +0 -0
  985. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getLastRow.d.ts +0 -0
  986. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getLastRow.js +0 -0
  987. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMax.d.ts +0 -0
  988. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMax.js +0 -0
  989. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMean.d.ts +0 -0
  990. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMean.js +0 -0
  991. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMedian.d.ts +0 -0
  992. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMedian.js +0 -0
  993. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMin.d.ts +0 -0
  994. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getMin.js +0 -0
  995. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getNbCharacters.d.ts +0 -0
  996. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getNbCharacters.js +0 -0
  997. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getQuantile.d.ts +0 -0
  998. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getQuantile.js +0 -0
  999. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSkew.d.ts +0 -0
  1000. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSkew.js +0 -0
  1001. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getStdDev.d.ts +0 -0
  1002. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getStdDev.js +0 -0
  1003. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSum.d.ts +0 -0
  1004. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getSum.js +0 -0
  1005. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTableNames.d.ts +0 -0
  1006. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTableNames.js +0 -0
  1007. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTop.d.ts +0 -0
  1008. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTop.js +0 -0
  1009. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTypes.d.ts +0 -0
  1010. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getTypes.js +0 -0
  1011. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getUniques.d.ts +0 -0
  1012. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getUniques.js +0 -0
  1013. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getValues.d.ts +0 -0
  1014. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getValues.js +0 -0
  1015. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getVar.d.ts +0 -0
  1016. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/getVar.js +0 -0
  1017. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/insertRowsQuery.d.ts +0 -0
  1018. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/insertRowsQuery.js +0 -0
  1019. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/join.d.ts +0 -0
  1020. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/join.js +0 -0
  1021. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeo.d.ts +0 -0
  1022. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeo.js +0 -0
  1023. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeoQuery.d.ts +0 -0
  1024. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinGeoQuery.js +0 -0
  1025. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinQuery.d.ts +0 -0
  1026. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/joinQuery.js +0 -0
  1027. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/keepQuery.d.ts +0 -0
  1028. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/keepQuery.js +0 -0
  1029. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressionQuery.d.ts +0 -0
  1030. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressionQuery.js +0 -0
  1031. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressions.d.ts +0 -0
  1032. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/linearRegressions.js +0 -0
  1033. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadArray.d.ts +0 -0
  1034. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadArray.js +0 -0
  1035. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadDataQuery.d.ts +0 -0
  1036. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadDataQuery.js +0 -0
  1037. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadSample.d.ts +0 -0
  1038. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/loadSample.js +0 -0
  1039. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/lowerQuery.d.ts +0 -0
  1040. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/lowerQuery.js +0 -0
  1041. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeQuery.d.ts +0 -0
  1042. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeQuery.js +0 -0
  1043. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeString.d.ts +0 -0
  1044. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/normalizeString.js +0 -0
  1045. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/outliersIQRQuery.d.ts +0 -0
  1046. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/outliersIQRQuery.js +0 -0
  1047. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/padQuery.d.ts +0 -0
  1048. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/padQuery.js +0 -0
  1049. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsHorizontalQuery.d.ts +0 -0
  1050. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsHorizontalQuery.js +0 -0
  1051. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsVerticalQuery.d.ts +0 -0
  1052. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/proportionsVerticalQuery.js +0 -0
  1053. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/quantilesQuery.d.ts +0 -0
  1054. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/quantilesQuery.js +0 -0
  1055. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/randomPointQuery.d.ts +0 -0
  1056. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/ranksQuery.d.ts +0 -0
  1057. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/ranksQuery.js +0 -0
  1058. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeDuplicatesQuery.d.ts +0 -0
  1059. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeDuplicatesQuery.js +0 -0
  1060. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissing.d.ts +0 -0
  1061. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissing.js +0 -0
  1062. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissingQuery.d.ts +0 -0
  1063. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeMissingQuery.js +0 -0
  1064. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeQuery.d.ts +0 -0
  1065. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/removeQuery.js +0 -0
  1066. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/renameColumnQuery.d.ts +0 -0
  1067. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/renameColumnQuery.js +0 -0
  1068. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceNullsQuery.d.ts +0 -0
  1069. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceNullsQuery.js +0 -0
  1070. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceQuery.d.ts +0 -0
  1071. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/replaceQuery.js +0 -0
  1072. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/rollingQuery.d.ts +0 -0
  1073. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/rollingQuery.js +0 -0
  1074. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/roundQuery.d.ts +0 -0
  1075. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/roundQuery.js +0 -0
  1076. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/selectRowsQuery.d.ts +0 -0
  1077. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/selectRowsQuery.js +0 -0
  1078. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/sortQuery.d.ts +0 -0
  1079. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/sortQuery.js +0 -0
  1080. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/splitSpread.d.ts +0 -0
  1081. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/splitSpread.js +0 -0
  1082. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarize.d.ts +0 -0
  1083. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarize.js +0 -0
  1084. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarizeQuery.d.ts +0 -0
  1085. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/summarizeQuery.js +0 -0
  1086. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/trimQuery.d.ts +0 -0
  1087. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/trimQuery.js +0 -0
  1088. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/truncateQuery.d.ts +0 -0
  1089. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/truncateQuery.js +0 -0
  1090. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/upperQuery.d.ts +0 -0
  1091. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/upperQuery.js +0 -0
  1092. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeDataQuery.d.ts +0 -0
  1093. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeDataQuery.js +0 -0
  1094. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeGeoDataQuery.d.ts +0 -0
  1095. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/writeGeoDataQuery.js +0 -0
  1096. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/zScoreQuery.d.ts +0 -0
  1097. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.26 → 0.0.27}/src/methods/zScoreQuery.js +0 -0
@@ -0,0 +1,4608 @@
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 projections of the geospatial data, if any.
56
+ *
57
+ * @defaultValue `{}`
58
+ * @category Properties
59
+ */
60
+ projections: {
61
+ [key: string]: string;
62
+ };
63
+ /**
64
+ * The indexes of the table.
65
+ *
66
+ * @defaultValue `[]`
67
+ * @category Properties
68
+ */
69
+ indexes: string[];
70
+ /**
71
+ * The SimpleDB instance that created this table.
72
+ *
73
+ * @category Properties
74
+ */
75
+ sdb: SimpleDB;
76
+ /**
77
+ * Creates an instance of SimpleTable.
78
+ *
79
+ * @param name - The name of the table.
80
+ * @param projections - An object mapping column names to their geospatial projections.
81
+ * @param simpleDB - The SimpleDB instance that this table belongs to.
82
+ * @param options - An optional object with configuration options:
83
+ * @param options.debug - A boolean indicating whether to enable debug mode.
84
+ * @param options.nbRowsToLog - The number of rows to log when displaying table data.
85
+ * @param options.nbCharactersToLog - The maximum number of characters to log for strings. Useful to avoid logging large text content.
86
+ * @param options.types - A boolean indicating whether to include data types when logging a table.
87
+ * @category Constructor
88
+ */
89
+ constructor(name: string, projections: {
90
+ [key: string]: string;
91
+ }, simpleDB: SimpleDB, options?: {
92
+ debug?: boolean;
93
+ nbRowsToLog?: number;
94
+ nbCharactersToLog?: number;
95
+ types?: boolean;
96
+ });
97
+ /**
98
+ * Renames the current table.
99
+ *
100
+ * @param name - The new name for the table.
101
+ * @returns A promise that resolves when the table has been renamed.
102
+ * @category Table Management
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * // Rename the table to "new_employees"
107
+ * await table.renameTable("new_employees");
108
+ * ```
109
+ */
110
+ renameTable(name: string): Promise<void>;
111
+ /**
112
+ * Sets the data types for columns in a new table. If the table already exists, it will be replaced.
113
+ * To convert the types of an existing table, use the `.convert()` method instead.
114
+ *
115
+ * @param types - An object specifying the column names and their target data types (JavaScript or SQL types).
116
+ * @returns A promise that resolves when the types have been set.
117
+ * @category Table Management
118
+ *
119
+ * @example
120
+ * ```ts
121
+ * // Set types for a new table
122
+ * await table.setTypes({
123
+ * name: "string",
124
+ * salary: "integer",
125
+ * raise: "float",
126
+ * });
127
+ * ```
128
+ */
129
+ setTypes(types: {
130
+ [key: string]: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean" | "geometry";
131
+ }): Promise<void>;
132
+ /**
133
+ * Loads an array of JavaScript objects into the table.
134
+ *
135
+ * @param arrayOfObjects - An array of objects, where each object represents a row and its properties represent columns.
136
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
137
+ * @category Importing Data
138
+ *
139
+ * @example
140
+ * ```ts
141
+ * // Load data from an array of objects
142
+ * const data = [
143
+ * { letter: "a", number: 1 },
144
+ * { letter: "b", number: 2 }
145
+ * ];
146
+ * await table.loadArray(data);
147
+ * ```
148
+ */
149
+ loadArray(arrayOfObjects: {
150
+ [key: string]: unknown;
151
+ }[]): Promise<this>;
152
+ /**
153
+ * Loads data from one or more local or remote files into the table.
154
+ * Supported file formats include CSV, JSON, Parquet, and Excel.
155
+ *
156
+ * @param files - The path(s) or URL(s) of the file(s) containing the data to be loaded.
157
+ * @param options - An optional object with configuration options:
158
+ * @param options.fileType - The type of file to load ("csv", "dsv", "json", "parquet", "excel"). Defaults to being inferred from the file extension.
159
+ * @param options.autoDetect - A boolean indicating whether to automatically detect the data format. Defaults to `true`.
160
+ * @param options.limit - A number indicating the maximum number of rows to load. Defaults to all rows.
161
+ * @param options.fileName - A boolean indicating whether to include the file name as a new column in the loaded data. Defaults to `false`.
162
+ * @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`.
163
+ * @param options.columnTypes - An object mapping column names to their expected data types. By default, types are inferred.
164
+ * @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.
165
+ * @param options.header - A boolean indicating whether the file has a header row. Applicable to CSV files. Defaults to `true`.
166
+ * @param options.allText - A boolean indicating whether all columns should be treated as text. Applicable to CSV files. Defaults to `false`.
167
+ * @param options.delim - The delimiter used in the file. Applicable to CSV and DSV files. By default, the delimiter is inferred.
168
+ * @param options.skip - The number of lines to skip at the beginning of the file. Applicable to CSV files. Defaults to `0`.
169
+ * @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`.
170
+ * @param options.ignoreErrors - If `true`, parsing errors encountered will be ignored, and rows with errors will be skipped. Defaults to `false`.
171
+ * @param options.compression - The compression type of the file. Applicable to CSV files. Defaults to `none`.
172
+ * @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`.
173
+ * @param options.encoding - The encoding of the file. Applicable to CSV files. Defaults to `utf-8`.
174
+ * @param options.jsonFormat - The format of JSON files ("unstructured", "newlineDelimited", "array"). By default, the format is inferred.
175
+ * @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.
176
+ * @param options.sheet - A string indicating a specific sheet to import from an Excel file. By default, the first sheet is imported.
177
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
178
+ * @category Importing Data
179
+ *
180
+ * @example
181
+ * ```ts
182
+ * // Load data from a single local CSV file
183
+ * await table.loadData("./some-data.csv");
184
+ * ```
185
+ *
186
+ * @example
187
+ * ```ts
188
+ * // Load data from a remote Parquet file
189
+ * await table.loadData("https://some-website.com/some-data.parquet");
190
+ * ```
191
+ *
192
+ * @example
193
+ * ```ts
194
+ * // Load data from multiple local JSON files
195
+ * await table.loadData([
196
+ * "./some-data1.json",
197
+ * "./some-data2.json",
198
+ * "./some-data3.json"
199
+ * ]);
200
+ * ```
201
+ *
202
+ * @example
203
+ * ```ts
204
+ * // Load data from multiple remote Parquet files with column unification
205
+ * await table.loadData([
206
+ * "https://some-website.com/some-data1.parquet",
207
+ * "https://some-website.com/some-data2.parquet",
208
+ * "https://some-website.com/some-data3.parquet"
209
+ * ], { unifyColumns: true });
210
+ * ```
211
+ *
212
+ * @example
213
+ * ```ts
214
+ * // Load only specific columns from a CSV file
215
+ * await table.loadData("./employees.csv", { columns: ["name", "salary"] });
216
+ * ```
217
+ */
218
+ loadData(files: string | string[], options?: {
219
+ fileType?: "csv" | "dsv" | "json" | "parquet" | "excel";
220
+ autoDetect?: boolean;
221
+ limit?: number;
222
+ fileName?: boolean;
223
+ unifyColumns?: boolean;
224
+ columnTypes?: {
225
+ [key: string]: string;
226
+ };
227
+ columns?: string[];
228
+ header?: boolean;
229
+ allText?: boolean;
230
+ delim?: string;
231
+ skip?: number;
232
+ nullPadding?: boolean;
233
+ ignoreErrors?: boolean;
234
+ compression?: "none" | "gzip" | "zstd";
235
+ encoding?: string;
236
+ strict?: boolean;
237
+ jsonFormat?: "unstructured" | "newlineDelimited" | "array";
238
+ records?: boolean;
239
+ sheet?: string;
240
+ }): Promise<this>;
241
+ /**
242
+ * Loads data from all supported files (CSV, JSON, Parquet, Excel) within a local directory into the table.
243
+ *
244
+ * @param directory - The absolute path to the directory containing the data files.
245
+ * @param options - An optional object with configuration options:
246
+ * @param options.fileType - The type of file to load ("csv", "dsv", "json", "parquet", "excel"). Defaults to being inferred from the file extension.
247
+ * @param options.autoDetect - A boolean indicating whether to automatically detect the data format. Defaults to `true`.
248
+ * @param options.limit - A number indicating the maximum number of rows to load. Defaults to all rows.
249
+ * @param options.fileName - A boolean indicating whether to include the file name as a new column in the loaded data. Defaults to `false`.
250
+ * @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`.
251
+ * @param options.columnTypes - An object mapping column names to their expected data types. By default, types are inferred.
252
+ * @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.
253
+ * @param options.header - A boolean indicating whether the file has a header row. Applicable to CSV files. Defaults to `true`.
254
+ * @param options.allText - A boolean indicating whether all columns should be treated as text. Applicable to CSV files. Defaults to `false`.
255
+ * @param options.delim - The delimiter used in the file. Applicable to CSV and DSV files. By default, the delimiter is inferred.
256
+ * @param options.skip - The number of lines to skip at the beginning of the file. Applicable to CSV files. Defaults to `0`.
257
+ * @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`.
258
+ * @param options.ignoreErrors - If `true`, parsing errors encountered will be ignored, and rows with errors will be skipped. Defaults to `false`.
259
+ * @param options.compression - The compression type of the file. Applicable to CSV files. Defaults to `none`.
260
+ * @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`.
261
+ * @param options.encoding - The encoding of the files. Applicable to CSV files. Defaults to `utf-8`.
262
+ * @param options.jsonFormat - The format of JSON files ("unstructured", "newlineDelimited", "array"). By default, the format is inferred.
263
+ * @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.
264
+ * @param options.sheet - A string indicating a specific sheet to import from an Excel file. By default, the first sheet is imported.
265
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
266
+ * @category Importing Data
267
+ *
268
+ * @example
269
+ * ```ts
270
+ * // Load all supported data files from the "./data/" directory
271
+ * await table.loadDataFromDirectory("./data/");
272
+ * ```
273
+ *
274
+ * @example
275
+ * ```ts
276
+ * // Load only specific columns from all CSV files in a directory
277
+ * await table.loadDataFromDirectory("./data/", { columns: ["name", "salary"] });
278
+ * ```
279
+ */
280
+ loadDataFromDirectory(directory: string, options?: {
281
+ fileType?: "csv" | "dsv" | "json" | "parquet" | "excel";
282
+ autoDetect?: boolean;
283
+ limit?: number;
284
+ fileName?: boolean;
285
+ unifyColumns?: boolean;
286
+ columnTypes?: {
287
+ [key: string]: string;
288
+ };
289
+ columns?: string[];
290
+ header?: boolean;
291
+ allText?: boolean;
292
+ delim?: string;
293
+ skip?: number;
294
+ nullPadding?: boolean;
295
+ ignoreErrors?: boolean;
296
+ compression?: "none" | "gzip" | "zstd";
297
+ encoding?: "utf-8" | "utf-16" | "latin-1";
298
+ strict?: boolean;
299
+ jsonFormat?: "unstructured" | "newlineDelimited" | "array";
300
+ records?: boolean;
301
+ sheet?: string;
302
+ }): Promise<this>;
303
+ /**
304
+ * Loads geospatial data from an external file or URL into the table.
305
+ * The coordinates of files or URLs ending with `.json` or `.geojson` are automatically flipped to `[latitude, longitude]` axis order.
306
+ *
307
+ * @param file - The URL or absolute path to the external file containing the geospatial data.
308
+ * @param options - An optional object with configuration options:
309
+ * @param options.toWGS84 - If `true`, the method will attempt to reproject the data to WGS84 with `[latitude, longitude]` axis order. If the file is `.json` or `.geojson`, coordinates are automatically flipped, and this option has no additional effect. Defaults to `false`.
310
+ * @param options.from - An optional string specifying the original projection of the data, if the method is unable to detect it automatically.
311
+ * @returns A promise that resolves to the SimpleTable instance after the geospatial data has been loaded.
312
+ * @category Geospatial
313
+ *
314
+ * @example
315
+ * ```ts
316
+ * // Load geospatial data from a URL
317
+ * await table.loadGeoData("https://some-website.com/some-data.geojson");
318
+ * ```
319
+ *
320
+ * @example
321
+ * ```ts
322
+ * // Load geospatial data from a local file
323
+ * await table.loadGeoData("./some-data.geojson");
324
+ * ```
325
+ *
326
+ * @example
327
+ * ```ts
328
+ * // Load geospatial data from a shapefile (with relevant files in the same folder) and reproject to WGS84
329
+ * await table.loadGeoData("./some-data/some-data.shp", { toWGS84: true });
330
+ * ```
331
+ *
332
+ * @example
333
+ * ```ts
334
+ * // Load geospatial data from a zipped shapefile and reproject to WGS84
335
+ * await table.loadGeoData("./some-data.shp.zip", { toWGS84: true });
336
+ * ```
337
+ */
338
+ loadGeoData(file: string, options?: {
339
+ toWGS84?: boolean;
340
+ from?: string;
341
+ }): Promise<this>;
342
+ /**
343
+ * 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).
344
+ *
345
+ * 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`.
346
+ *
347
+ * @param columnId - The name of the column containing unique identifiers for each row.
348
+ * @param columnText - The name of the column containing the text to index.
349
+ * @param options - An optional object with configuration options:
350
+ * @param options.stemmer - The language stemmer to apply for word normalization. Supports multiple languages or "none" to disable stemming. Defaults to 'porter'.
351
+ * @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".
352
+ * @param options.overwrite - If `true`, recreates the index even if it already exists. Defaults to `false`.
353
+ * @param options.verbose - If `true`, logs additional debugging information, including index creation status. Defaults to `false`.
354
+ * @returns A promise that resolves to the SimpleTable instance for method chaining.
355
+ * @category Text Search
356
+ *
357
+ * @example
358
+ * ```ts
359
+ * // Load a dataset and create an FTS index
360
+ * await table.loadData("recipes.parquet");
361
+ *
362
+ * // Create FTS index for later searches
363
+ * await table.createFtsIndex("Dish", "Recipe");
364
+ * ```
365
+ *
366
+ * @param columnId - The column containing the document identifiers.
367
+ * @param columnText - The column containing the text to search.
368
+ * @param options - An optional object with configuration options:
369
+ * @param options.stemmer - The stemmer to use for the FTS index. Supports multiple languages or "none" to disable stemming. Defaults to "porter".
370
+ * @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".
371
+ * @param options.ignore - The regular expression of patterns to be ignored. Defaults to "(\\.|[^a-z])+".
372
+ * @param options.stripAccents - A boolean indicating whether to remove accents. Defaults to true.
373
+ * @param options.lower - A boolean indicating whether to convert all text to lowercase. Defaults to true.
374
+ * @param options.overwrite - A boolean indicating whether to overwrite the existing FTS index. Defaults to false.
375
+ * @param options.verbose - A boolean indicating whether to log additional information. Defaults to false.
376
+ *
377
+ * @example
378
+ * ```ts
379
+ * // Create an index with a specific language stemmer
380
+ * await table.createFtsIndex("Dish", "Recipe", {
381
+ * stemmer: "french",
382
+ * });
383
+ * ```
384
+ *
385
+ * @example
386
+ * ```ts
387
+ * // Recreate an existing index with different settings
388
+ * await table.createFtsIndex("Dish", "Recipe", {
389
+ * stemmer: "english",
390
+ * overwrite: true,
391
+ * });
392
+ * ```
393
+ *
394
+ * @example
395
+ * ```ts
396
+ * // Create index with verbose logging
397
+ * await table.createFtsIndex("Dish", "Recipe", {
398
+ * verbose: true,
399
+ * });
400
+ * // Logs: "Creating FTS index on 'Recipe' column..."
401
+ * // Logs: "FTS index created successfully."
402
+ * ```
403
+ */
404
+ createFtsIndex(columnId: string, columnText: string, options?: {
405
+ 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";
406
+ stopwords?: string;
407
+ ignore?: string;
408
+ stripAccents?: boolean;
409
+ lower?: boolean;
410
+ overwrite?: boolean;
411
+ verbose?: boolean;
412
+ }): Promise<this>;
413
+ /**
414
+ * Creates a vector similarity search (VSS) index on a specified column using DuckDB's [VSS extension](https://duckdb.org/docs/stable/extensions/vss).
415
+ *
416
+ * 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`.
417
+ *
418
+ * @param column - The name of the column containing vector embeddings (must be FLOAT array type).
419
+ * @param options - An optional object with configuration options:
420
+ * @param options.overwrite - If `true`, drops and recreates the index even if it already exists. Defaults to `false`.
421
+ * @param options.verbose - If `true`, logs additional debugging information, including index creation status. Defaults to `false`.
422
+ * @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.
423
+ * @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.
424
+ * @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.
425
+ * @returns A promise that resolves to the SimpleTable instance for method chaining.
426
+ * @category Vector Search
427
+ *
428
+ * @example
429
+ * ```ts
430
+ * // Load data that already contains an embedding column
431
+ * await table.loadData("data.csv");
432
+ *
433
+ * // Create VSS index for fast similarity searches
434
+ * await table.createVssIndex("embedding_column");
435
+ * ```
436
+ *
437
+ * @example
438
+ * ```ts
439
+ * // Recreate an existing index
440
+ * await table.createVssIndex("embedding_column", {
441
+ * overwrite: true,
442
+ * });
443
+ * ```
444
+ *
445
+ * @example
446
+ * ```ts
447
+ * // Create index with verbose logging
448
+ * await table.createVssIndex("embedding_column", {
449
+ * verbose: true,
450
+ * });
451
+ * // Logs: "Creating VSS index on 'embedding_column' column..."
452
+ * // Logs: "VSS index created successfully."
453
+ * ```
454
+ *
455
+ * @example
456
+ * ```ts
457
+ * // Create index with custom HNSW parameters for higher accuracy
458
+ * await table.createVssIndex("embedding_column", {
459
+ * efConstruction: 256,
460
+ * efSearch: 128,
461
+ * M: 32,
462
+ * });
463
+ * ```
464
+ */
465
+ createVssIndex(column: string, options?: {
466
+ overwrite?: boolean;
467
+ verbose?: boolean;
468
+ efConstruction?: number;
469
+ efSearch?: number;
470
+ M?: number;
471
+ }): Promise<this>;
472
+ /**
473
+ * 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.
474
+ *
475
+ * 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`.
476
+ *
477
+ * @param text - The search query text to match against the text column.
478
+ * @param columnId - The name of the column containing unique identifiers for each row.
479
+ * @param columnText - The name of the column containing the text to search.
480
+ * @param nbResults - The number of top-ranked results to return.
481
+ * @param options - An optional object with configuration options:
482
+ * @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.
483
+ * @param options.verbose - If `true`, logs additional debugging information, including FTS index creation status. Defaults to `false`.
484
+ * @param options.k - The BM25 k parameter controlling term frequency saturation. Defaults to 1.2.
485
+ * @param options.b - The BM25 b parameter controlling document length normalization (0-1 range). Defaults to 0.75.
486
+ * @param options.stemmer - The language stemmer to apply for word normalization. Supports multiple languages or "none" to disable stemming. Defaults to 'porter'.
487
+ * @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".
488
+ * @param options.ignore - The regular expression of patterns to be ignored. Defaults to "(\\.|[^a-z])+".
489
+ * @param options.stripAccents - A boolean indicating whether to remove accents. Defaults to true.
490
+ * @param options.lower - A boolean indicating whether to convert all text to lowercase. Defaults to true.
491
+ * @param options.overwriteIndex - If `true`, drops and recreates the FTS index even if it already exists. Defaults to `false`.
492
+ * @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`.
493
+ * @param options.minScore - A threshold to filter out results with a BM25 score below this value.
494
+ * @param options.scoreColumn - If provided, the BM25 score will be included in the output table under this column name.
495
+ * @returns A promise that resolves to a SimpleTable instance containing the search results, ordered by relevance (best matches first).
496
+ * @category Text Search
497
+ *
498
+ * @example
499
+ * ```ts
500
+ * // Load a dataset of recipes
501
+ * await table.loadData("recipes.parquet");
502
+ *
503
+ * // Search for "italian food" in the Recipe column, return top 5 results
504
+ * await table.bm25("italian food", "Dish", "Recipe", 5);
505
+ *
506
+ * // Check the results
507
+ * const dishes = await table.getValues("Dish");
508
+ * // Returns: ["Carbonara", "Pizza", "Risotto", "Tiramisu", "Escarole Soup"]
509
+ * ```
510
+ *
511
+ * @example
512
+ * ```ts
513
+ * // Search with a specific language stemmer
514
+ * await table.bm25("french food", "Dish", "Recipe", 5, {
515
+ * stemmer: "french",
516
+ * });
517
+ * ```
518
+ *
519
+ * @example
520
+ * ```ts
521
+ * // Recreate the index with different settings and perform search
522
+ * await table.bm25("italian food", "Dish", "Recipe", 5, {
523
+ * stemmer: "english",
524
+ * overwriteIndex: true,
525
+ * });
526
+ * ```
527
+ *
528
+ * @example
529
+ * ```ts
530
+ * // Save results to a new table without modifying the original
531
+ * const italianDishes = await table.bm25("italian food", "Dish", "Recipe", 5, {
532
+ * outputTable: "italian_results",
533
+ * });
534
+ *
535
+ * // Original table remains unchanged
536
+ * const allDishes = await table.getValues("Dish");
537
+ * console.log(allDishes.length); // 336 (all dishes)
538
+ *
539
+ * // New table contains only search results
540
+ * const italianOnly = await italianDishes.getValues("Dish");
541
+ * console.log(italianOnly.length); // 5 (top results)
542
+ * ```
543
+ *
544
+ * @example
545
+ * ```ts
546
+ * // Multiple searches reuse the same index for better performance
547
+ * // The first search creates the index
548
+ * const italian = await table.bm25("italian food", "Dish", "Recipe", 5, {
549
+ * outputTable: "italian",
550
+ * });
551
+ *
552
+ * // The second search reuses the existing index, so it's faster
553
+ * const french = await table.bm25("french food", "Dish", "Recipe", 5, {
554
+ * outputTable: "french",
555
+ * });
556
+ * ```
557
+ * * @example
558
+ * ```ts
559
+ * // Filter results by a minimum BM25 score and include the score in the output
560
+ * await table.bm25("spicy noodles", "Dish", "Recipe", 10, {
561
+ * minScore: 5.5,
562
+ * scoreColumn: "bm25_score"
563
+ * });
564
+ * ```
565
+ *
566
+ * @example
567
+ * ```ts
568
+ * // Use the conjunctive option to require all terms
569
+ * await table.bm25("italian sauce", "Dish", "Recipe", 5, {
570
+ * conjunctive: true,
571
+ * });
572
+ * ```
573
+ */
574
+ bm25(text: string, columnId: string, columnText: string, nbResults: number, options?: {
575
+ outputTable?: string;
576
+ verbose?: boolean;
577
+ k?: number;
578
+ b?: number;
579
+ 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";
580
+ stopwords?: string;
581
+ ignore?: string;
582
+ stripAccents?: boolean;
583
+ lower?: boolean;
584
+ overwriteIndex?: boolean;
585
+ conjunctive?: boolean;
586
+ minScore?: number;
587
+ scoreColumn?: string;
588
+ }): Promise<this>;
589
+ /**
590
+ * Inserts rows, provided as an array of JavaScript objects, into the table.
591
+ *
592
+ * @param rows - An array of objects, where each object represents a row to be inserted and its properties correspond to column names.
593
+ * @returns A promise that resolves when the rows have been inserted.
594
+ * @category Importing Data
595
+ *
596
+ * @example
597
+ * ```ts
598
+ * // Insert new rows into the table
599
+ * const newRows = [
600
+ * { letter: "c", number: 3 },
601
+ * { letter: "d", number: 4 }
602
+ * ];
603
+ * await table.insertRows(newRows);
604
+ * ```
605
+ */
606
+ insertRows(rows: {
607
+ [key: string]: unknown;
608
+ }[]): Promise<void>;
609
+ /**
610
+ * 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`.
611
+ *
612
+ * @param tablesToInsert - The name(s) of the table(s) or SimpleTable instance(s) from which rows will be inserted.
613
+ * @param options - An optional object with configuration options:
614
+ * @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`.
615
+ * @returns A promise that resolves when the rows have been inserted.
616
+ * @category Importing Data
617
+ *
618
+ * @example
619
+ * ```ts
620
+ * // Insert all rows from 'tableB' into 'tableA'.
621
+ * await tableA.insertTables("tableB");
622
+ * ```
623
+ *
624
+ * @example
625
+ * ```ts
626
+ * // Insert all rows from 'tableB' and 'tableC' into 'tableA'.
627
+ * await tableA.insertTables(["tableB", "tableC"]);
628
+ * ```
629
+ *
630
+ * @example
631
+ * ```ts
632
+ * // Insert rows from multiple tables, unifying columns. Missing columns will be filled with NULL.
633
+ * await tableA.insertTables(["tableB", "tableC"], { unifyColumns: true });
634
+ * ```
635
+ */
636
+ insertTables(tablesToInsert: SimpleTable | SimpleTable[], options?: {
637
+ unifyColumns?: boolean;
638
+ }): Promise<void>;
639
+ /**
640
+ * Fetches sample data from the simple-data-analysis-core GitHub repository.
641
+ *
642
+ * @param sample - The name of the sample to load.
643
+ *
644
+ * Tabular data:
645
+ * - "fires": [firesCanada2023.csv](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/geodata/files/firesCanada2023.csv)
646
+ * - "recipes": [recipes.parquet](https://github.com/nshiab/simple-data-analysis-core/raw/refs/heads/main/test/data/files/recipes.parquet)
647
+ * - "temperatures": [dailyTemperatures.csv](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/data/files/dailyTemperatures.csv)
648
+ * - "temperaturesCities": [cities.csv](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/data/files/cities.csv)
649
+ *
650
+ * Geospatial data:
651
+ * - "canada": [CanadianProvincesAndTerritories.json](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/geodata/files/CanadianProvincesAndTerritories.json)
652
+ * - "firesGeo": [firesCanada2023.geojson](https://raw.githubusercontent.com/nshiab/simple-data-analysis-core/refs/heads/main/test/geodata/files/firesCanada2023.geojson)
653
+ *
654
+ * @category Importing Data
655
+ *
656
+ * @example
657
+ * ```ts
658
+ * // Load the fires sample data
659
+ * await table.loadSample("fires");
660
+ * ```
661
+ */
662
+ loadSample(sample: "fires" | "recipes" | "temperatures" | "temperaturesCities" | "canada" | "firesGeo"): Promise<this>;
663
+ /**
664
+ * Returns a new table with the same structure and data as this table. The data can be optionally filtered.
665
+ * Note that cloning large tables can be a slow operation.
666
+ *
667
+ * @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.
668
+ * @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.
669
+ * @param nameOrOptions.conditions - A SQL `WHERE` clause condition to filter the data during cloning. Defaults to no condition (clones all rows).
670
+ * @param nameOrOptions.columns - An array of column names to include in the cloned table. If not provided, all columns will be included.
671
+ * @returns A promise that resolves to a new table instance containing the cloned data.
672
+ * @category Table Management
673
+ *
674
+ * @example
675
+ * ```ts
676
+ * // Clone tableA to a new table with a default generated name (e.g., "table1")
677
+ * const tableB = await tableA.cloneTable();
678
+ * ```
679
+ *
680
+ * @example
681
+ * ```ts
682
+ * // Clone tableA to a new table named "my_cloned_table" using string parameter
683
+ * const tableB = await tableA.cloneTable("my_cloned_table");
684
+ * ```
685
+ *
686
+ * @example
687
+ * ```ts
688
+ * // Clone tableA to a new table named "my_cloned_table" using options object
689
+ * const tableB = await tableA.cloneTable({ outputTable: "my_cloned_table" });
690
+ * ```
691
+ *
692
+ * @example
693
+ * ```ts
694
+ * // Clone tableA, including only rows where 'column1' is greater than 10
695
+ * const tableB = await tableA.cloneTable({ conditions: `column1 > 10` });
696
+ * ```
697
+ *
698
+ * @example
699
+ * ```ts
700
+ * // Clone tableA with only specific columns
701
+ * const tableB = await tableA.cloneTable({ columns: ["name", "age", "city"] });
702
+ * ```
703
+ *
704
+ * @example
705
+ * ```ts
706
+ * // Clone tableA to a specific table name with filtered data and specific columns
707
+ * const tableB = await tableA.cloneTable({
708
+ * outputTable: "filtered_data",
709
+ * conditions: `status = 'active' AND created_date >= '2023-01-01'`,
710
+ * columns: ["name", "status", "created_date"]
711
+ * });
712
+ * ```
713
+ */
714
+ cloneTable(nameOrOptions?: string | {
715
+ outputTable?: string;
716
+ conditions?: string;
717
+ columns?: string | string[];
718
+ }): Promise<this>;
719
+ /**
720
+ * Clones an existing column in this table, creating a new column with identical values.
721
+ *
722
+ * @param originalColumn - The name of the original column to clone.
723
+ * @param newColumn - The name of the new column to be created.
724
+ * @returns A promise that resolves when the column has been cloned.
725
+ * @category Column Operations
726
+ *
727
+ * @example
728
+ * ```ts
729
+ * // Clone 'firstName' column as 'contactName'
730
+ * await table.cloneColumn("firstName", "contactName");
731
+ * ```
732
+ */
733
+ cloneColumn(originalColumn: string, newColumn: string): Promise<void>;
734
+ /**
735
+ * Clones a column in the table and offsets its values by a specified number of rows.
736
+ * This is useful for time-series analysis or comparing values across different time points.
737
+ *
738
+ * **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.
739
+ *
740
+ * @param originalColumn - The name of the original column.
741
+ * @param newColumn - The name of the new column to be created with offset values.
742
+ * @param options - An optional object with configuration options:
743
+ * @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`.
744
+ * @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.
745
+ * @returns A promise that resolves when the column has been cloned with offset values.
746
+ * @category Column Operations
747
+ *
748
+ * @example
749
+ * ```ts
750
+ * // Clone 'value' as 'previous_value', offsetting by 1 row (value of row N-1 goes to row N)
751
+ * await table.cloneColumnWithOffset("value", "previous_value");
752
+ * ```
753
+ *
754
+ * @example
755
+ * ```ts
756
+ * // Clone 'sales' as 'sales_2_days_ago', offsetting by 2 rows
757
+ * await table.cloneColumnWithOffset("sales", "sales_2_days_ago", { offset: 2 });
758
+ * ```
759
+ *
760
+ * @example
761
+ * ```ts
762
+ * // Clone 'temperature' as 'prev_temp_by_city', offsetting by 1 row within each 'city' category
763
+ * await table.cloneColumnWithOffset("temperature", "prev_temp_by_city", {
764
+ * offset: 1,
765
+ * categories: "city",
766
+ * });
767
+ * ```
768
+ *
769
+ * @example
770
+ * ```ts
771
+ * // Clone 'stock_price' as 'prev_price_by_stock_and_exchange', offsetting by 1 row within each 'stock_symbol' and 'exchange' category
772
+ * await table.cloneColumnWithOffset("stock_price", "prev_price_by_stock_and_exchange", {
773
+ * offset: 1,
774
+ * categories: ["stock_symbol", "exchange"],
775
+ * });
776
+ * ```
777
+ */
778
+ cloneColumnWithOffset(originalColumn: string, newColumn: string, options?: {
779
+ offset?: number;
780
+ categories?: string | string[];
781
+ }): Promise<void>;
782
+ /**
783
+ * 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`.
784
+ *
785
+ * @param columns - The column(s) for which to fill `NULL` values.
786
+ * @param options - An optional object with configuration options:
787
+ * @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.
788
+ * @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.
789
+ * @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.
790
+ * @returns A promise that resolves when the `NULL` values have been filled.
791
+ * @category Updating Data
792
+ *
793
+ * @example
794
+ * ```ts
795
+ * // Fill NULL values in 'column1' with the previous non-NULL value
796
+ * await table.fill("column1");
797
+ * ```
798
+ *
799
+ * @example
800
+ * ```ts
801
+ * // Fill NULL values in multiple columns
802
+ * await table.fill(["columnA", "columnB"]);
803
+ * ```
804
+ *
805
+ * @example
806
+ * ```ts
807
+ * // Fill NULL values in 'value' independently within each 'group'
808
+ * await table.fill("value", { categories: "group" });
809
+ * ```
810
+ *
811
+ * @example
812
+ * ```ts
813
+ * // Fill NULL values in 'value' using linear interpolation
814
+ * await table.fill("value", { interpolate: true });
815
+ * ```
816
+ *
817
+ * @example
818
+ * ```ts
819
+ * // Fill NULL values in 'value' using linear interpolation, independently within each 'group'
820
+ * await table.fill("value", { categories: "group", interpolate: true });
821
+ * ```
822
+ *
823
+ * @example
824
+ * ```ts
825
+ * // Fill NULL values in 'value' using linear interpolation proportional to 'x' distances
826
+ * await table.fill("value", { interpolate: true, interpolateBy: "x" });
827
+ * ```
828
+ *
829
+ * @example
830
+ * ```ts
831
+ * // interpolateBy implies interpolate: true, so this is equivalent to the previous example
832
+ * await table.fill("value", { interpolateBy: "x" });
833
+ * ```
834
+ */
835
+ fill(columns: string | string[], options?: {
836
+ categories?: string | string[];
837
+ interpolate?: boolean;
838
+ interpolateBy?: string;
839
+ }): Promise<void>;
840
+ /**
841
+ * Sorts the rows of the table based on specified column(s) and order(s).
842
+ * If no columns are specified, all columns are sorted from left to right in ascending order.
843
+ *
844
+ * @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.
845
+ * @param options - An optional object with configuration options:
846
+ * @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.
847
+ * @returns A promise that resolves when the table has been sorted.
848
+ * @category Restructuring Data
849
+ *
850
+ * @example
851
+ * ```ts
852
+ * // Sort all columns from left to right in ascending order
853
+ * await table.sort();
854
+ * ```
855
+ *
856
+ * @example
857
+ * ```ts
858
+ * // Sort 'column1' in ascending order
859
+ * await table.sort({ column1: "asc" });
860
+ * ```
861
+ *
862
+ * @example
863
+ * ```ts
864
+ * // Sort 'column1' ascendingly, then 'column2' descendingly
865
+ * await table.sort({ column1: "asc", column2: "desc" });
866
+ * ```
867
+ *
868
+ * @example
869
+ * ```ts
870
+ * // Sort 'column1' considering French accents
871
+ * await table.sort({ column1: "asc" }, { lang: { column1: "fr" } });
872
+ * ```
873
+ */
874
+ sort(order?: {
875
+ [key: string]: "asc" | "desc";
876
+ } | null, options?: {
877
+ lang?: {
878
+ [key: string]: string;
879
+ };
880
+ }): Promise<void>;
881
+ /**
882
+ * Selects specific columns in the table, removing all others.
883
+ *
884
+ * @param columns - The name or an array of names of the columns to be selected.
885
+ * @returns A promise that resolves when the columns have been selected.
886
+ * @category Selecting or Filtering Data
887
+ *
888
+ * @example
889
+ * ```ts
890
+ * // Select only the 'firstName' and 'lastName' columns, removing all other columns.
891
+ * await table.selectColumns(["firstName", "lastName"]);
892
+ * ```
893
+ *
894
+ * @example
895
+ * ```ts
896
+ * // Select only the 'productName' column.
897
+ * await table.selectColumns("productName");
898
+ * ```
899
+ */
900
+ selectColumns(columns: string | string[]): Promise<void>;
901
+ /**
902
+ * Skips the first `n` rows of the table, effectively removing them.
903
+ *
904
+ * @param nbRowsToSkip - The number of rows to skip from the beginning of the table.
905
+ * @returns A promise that resolves when the rows have been skipped.
906
+ * @category Selecting or Filtering Data
907
+ *
908
+ * @example
909
+ * ```ts
910
+ * // Skip the first 10 rows of the table
911
+ * await table.skip(10);
912
+ * ```
913
+ */
914
+ skip(nbRowsToSkip: number): Promise<void>;
915
+ /**
916
+ * Checks if a column with the specified name exists in the table.
917
+ *
918
+ * @param column - The name of the column to check.
919
+ * @returns A promise that resolves to `true` if the column exists, `false` otherwise.
920
+ * @category Column Operations
921
+ *
922
+ * @example
923
+ * ```ts
924
+ * // Check if the table has a column named "age"
925
+ * const hasAgeColumn = await table.hasColumn("age");
926
+ * console.log(hasAgeColumn); // Output: true or false
927
+ * ```
928
+ */
929
+ hasColumn(column: string): Promise<boolean>;
930
+ /**
931
+ * Selects random rows from the table, removing all others. You can optionally specify a seed to ensure repeatable sampling.
932
+ *
933
+ * @param quantity - The number of rows to select (e.g., `100`) or a percentage string (e.g., `"10%"`) specifying the sampling size.
934
+ * @param options - An optional object with configuration options:
935
+ * @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.
936
+ * @returns A promise that resolves when the sampling is complete.
937
+ * @category Selecting or Filtering Data
938
+ *
939
+ * @example
940
+ * ```ts
941
+ * // Select 100 random rows from the table
942
+ * await table.sample(100);
943
+ * ```
944
+ *
945
+ * @example
946
+ * ```ts
947
+ * // Select 10% of the rows randomly
948
+ * await table.sample("10%");
949
+ * ```
950
+ *
951
+ * @example
952
+ * ```ts
953
+ * // Select random rows with a specific seed for repeatable results
954
+ * await table.sample("10%", { seed: 123 });
955
+ * ```
956
+ */
957
+ sample(quantity: number | string, options?: {
958
+ seed?: number;
959
+ }): Promise<void>;
960
+ /**
961
+ * 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.
962
+ *
963
+ * @param count - The number of rows to select.
964
+ * @param options - An optional object with configuration options:
965
+ * @param options.offset - The number of rows to skip from the beginning of the table before selecting. Defaults to `0`.
966
+ * @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`.
967
+ * @returns A promise that resolves to a table instance containing the selected rows (either the modified current table or a new table).
968
+ * @category Selecting or Filtering Data
969
+ *
970
+ * @example
971
+ * ```ts
972
+ * // Select the first 100 rows of the current table
973
+ * await table.selectRows(100);
974
+ * ```
975
+ *
976
+ * @example
977
+ * ```ts
978
+ * // Select 100 rows after skipping the first 50 rows
979
+ * await table.selectRows(100, { offset: 50 });
980
+ * ```
981
+ *
982
+ * @example
983
+ * ```ts
984
+ * // Select 50 rows and store them in a new table with a generated name
985
+ * const newTable = await table.selectRows(50, { outputTable: true });
986
+ * ```
987
+ *
988
+ * @example
989
+ * ```ts
990
+ * // Select 75 rows and store them in a new table named "top_customers"
991
+ * const topCustomersTable = await table.selectRows(75, { outputTable: "top_customers" });
992
+ * ```
993
+ */
994
+ selectRows(count: number | string, options?: {
995
+ offset?: number;
996
+ outputTable?: string | boolean;
997
+ }): Promise<this>;
998
+ /**
999
+ * Removes duplicate rows from this table, keeping only unique rows.
1000
+ * Note that the resulting data order might differ from the original.
1001
+ *
1002
+ * @param options - An optional object with configuration options:
1003
+ * @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.
1004
+ * @returns A promise that resolves when the duplicate rows have been removed.
1005
+ * @category Selecting or Filtering Data
1006
+ *
1007
+ * @example
1008
+ * ```ts
1009
+ * // Remove duplicate rows based on all columns
1010
+ * await table.removeDuplicates();
1011
+ * ```
1012
+ *
1013
+ * @example
1014
+ * ```ts
1015
+ * // Remove duplicate rows based only on the 'email' column
1016
+ * await table.removeDuplicates({ on: "email" });
1017
+ * ```
1018
+ *
1019
+ * @example
1020
+ * ```ts
1021
+ * // Remove duplicate rows based on 'firstName' and 'lastName' columns
1022
+ * await table.removeDuplicates({ on: ["firstName", "lastName"] });
1023
+ * ```
1024
+ */
1025
+ removeDuplicates(options?: {
1026
+ on?: string | string[];
1027
+ }): Promise<void>;
1028
+ /**
1029
+ * Removes rows with missing values from this table.
1030
+ * By default, missing values include SQL `NULL`, as well as string representations like `"NULL"`, `"null"`, `"NaN"`, `"undefined"`, and empty strings `""`.
1031
+ *
1032
+ * @param options - An optional object with configuration options:
1033
+ * @param options.columns - A string or an array of strings specifying the columns to consider for missing values. If omitted, all columns are considered.
1034
+ * @param options.missingValues - An array of values to be treated as missing values instead of the default ones. Defaults to `["undefined", "NaN", "null", "NULL", ""]`.
1035
+ * @param options.invert - A boolean indicating whether to invert the condition. If `true`, only rows containing missing values will be kept. Defaults to `false`.
1036
+ * @returns A promise that resolves when the rows with missing values have been removed.
1037
+ * @category Selecting or Filtering Data
1038
+ *
1039
+ * @example
1040
+ * ```ts
1041
+ * // Remove rows with missing values in any column
1042
+ * await table.removeMissing();
1043
+ * ```
1044
+ *
1045
+ * @example
1046
+ * ```ts
1047
+ * // Remove rows with missing values only in 'firstName' or 'lastName' columns
1048
+ * await table.removeMissing({ columns: ["firstName", "lastName"] });
1049
+ * ```
1050
+ *
1051
+ * @example
1052
+ * ```ts
1053
+ * // Keep only rows with missing values in any column
1054
+ * await table.removeMissing({ invert: true });
1055
+ * ```
1056
+ *
1057
+ * @example
1058
+ * ```ts
1059
+ * // Remove rows where 'age' is missing or is equal to -1
1060
+ * await table.removeMissing({ columns: "age", missingValues: [-1] });
1061
+ * ```
1062
+ */
1063
+ removeMissing(options?: {
1064
+ columns?: string | string[];
1065
+ missingValues?: (string | number)[];
1066
+ invert?: boolean;
1067
+ }): Promise<void>;
1068
+ /**
1069
+ * Trims specified characters from the beginning, end, or both sides of string values in the given columns.
1070
+ *
1071
+ * @param columns - The column name or an array of column names to trim.
1072
+ * @param options - An optional object with configuration options:
1073
+ * @param options.character - The string to trim. Defaults to whitespace characters.
1074
+ * @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"`.
1075
+ * @returns A promise that resolves when the trimming operation is complete.
1076
+ * @category Updating Data
1077
+ *
1078
+ * @example
1079
+ * ```ts
1080
+ * // Trim whitespace from 'column1'
1081
+ * await table.trim("column1");
1082
+ * ```
1083
+ *
1084
+ * @example
1085
+ * ```ts
1086
+ * // Trim leading and trailing asterisks from 'productCode'
1087
+ * await table.trim("productCode", { character: "*" });
1088
+ * ```
1089
+ *
1090
+ * @example
1091
+ * ```ts
1092
+ * // Right-trim whitespace from 'description' and 'notes' columns
1093
+ * await table.trim(["description", "notes"], { method: "rightTrim" });
1094
+ * ```
1095
+ */
1096
+ trim(columns: string | string[], options?: {
1097
+ character?: string;
1098
+ method?: "leftTrim" | "rightTrim" | "trim";
1099
+ }): Promise<void>;
1100
+ /**
1101
+ * Filters rows from this table based on SQL conditions. Note that it's often faster to use the `removeRows` method for simple removals.
1102
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
1103
+ *
1104
+ * @param conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"column1 > 10 AND column2 = 'value'"`).
1105
+ * @returns A promise that resolves when the rows have been filtered.
1106
+ * @category Selecting or Filtering Data
1107
+ *
1108
+ * @example
1109
+ * ```ts
1110
+ * // Keep only rows where the 'fruit' column is not 'apple'
1111
+ * await table.filter(`fruit != 'apple'`);
1112
+ * ```
1113
+ *
1114
+ * @example
1115
+ * ```ts
1116
+ * // Keep rows where 'price' is greater than 100 AND 'quantity' is greater than 0
1117
+ * await table.filter(`price > 100 && quantity > 0`); // Using JS syntax
1118
+ * ```
1119
+ *
1120
+ * @example
1121
+ * ```ts
1122
+ * // Keep rows where 'category' is 'Electronics' OR 'Appliances'
1123
+ * await table.filter(`category === 'Electronics' || category === 'Appliances'`); // Using JS syntax
1124
+ * ```
1125
+ *
1126
+ * @example
1127
+ * ```ts
1128
+ * // Keep rows where 'lastPurchaseDate' is on or after '2023-01-01'
1129
+ * await table.filter(`lastPurchaseDate >= '2023-01-01'`);
1130
+ * ```
1131
+ */
1132
+ filter(conditions: string): Promise<void>;
1133
+ /**
1134
+ * Keeps rows in this table that have specific values in specified columns, removing all other rows.
1135
+ *
1136
+ * @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.
1137
+ * @returns A promise that resolves when the rows have been filtered.
1138
+ * @category Selecting or Filtering Data
1139
+ *
1140
+ * @example
1141
+ * ```ts
1142
+ * // Keep only rows where 'job' is 'accountant' or 'developer', AND 'city' is 'Montreal'
1143
+ * await table.keep({ job: ["accountant", "developer"], city: "Montreal" });
1144
+ * ```
1145
+ *
1146
+ * @example
1147
+ * ```ts
1148
+ * // Keep only rows where 'status' is 'active'
1149
+ * await table.keep({ status: "active" });
1150
+ * ```
1151
+ */
1152
+ keep(columnsAndValues: {
1153
+ [key: string]: (number | string | Date | boolean | null)[] | (number | string | Date | boolean | null);
1154
+ }): Promise<void>;
1155
+ /**
1156
+ * Removes rows from this table that have specific values in specified columns.
1157
+ *
1158
+ * @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.
1159
+ * @returns A promise that resolves when the rows have been removed.
1160
+ * @category Selecting or Filtering Data
1161
+ *
1162
+ * @example
1163
+ * ```ts
1164
+ * // Remove rows where 'job' is 'accountant' or 'developer', AND 'city' is 'Montreal'
1165
+ * await table.remove({ job: ["accountant", "developer"], city: "Montreal" });
1166
+ * ```
1167
+ *
1168
+ * @example
1169
+ * ```ts
1170
+ * // Remove rows where 'status' is 'inactive'
1171
+ * await table.remove({ status: "inactive" });
1172
+ * ```
1173
+ */
1174
+ remove(columnsAndValues: {
1175
+ [key: string]: (number | string | Date | boolean | null)[] | (number | string | Date | boolean | null);
1176
+ }): Promise<void>;
1177
+ /**
1178
+ * Removes rows from this table based on SQL conditions. This method is similar to `filter()`, but removes rows instead of keeping them.
1179
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
1180
+ *
1181
+ * @param conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"fruit = 'apple'"`).
1182
+ * @returns A promise that resolves when the rows have been removed.
1183
+ * @category Selecting or Filtering Data
1184
+ *
1185
+ * @example
1186
+ * ```ts
1187
+ * // Remove rows where the 'fruit' column is 'apple'
1188
+ * await table.removeRows(`fruit = 'apple'`);
1189
+ * ```
1190
+ *
1191
+ * @example
1192
+ * ```ts
1193
+ * // Remove rows where 'quantity' is less than 5
1194
+ * await table.removeRows(`quantity < 5`);
1195
+ * ```
1196
+ *
1197
+ * @example
1198
+ * ```ts
1199
+ * // Remove rows where 'price' is less than 100 AND 'quantity' is 0
1200
+ * await table.removeRows(`price < 100 && quantity === 0`); // Using JS syntax
1201
+ * ```
1202
+ *
1203
+ * @example
1204
+ * ```ts
1205
+ * // Remove rows where 'category' is 'Electronics' OR 'Appliances'
1206
+ * await table.removeRows(`category === 'Electronics' || category === 'Appliances'`); // Using JS syntax
1207
+ * ```
1208
+ */
1209
+ removeRows(conditions: string): Promise<void>;
1210
+ /**
1211
+ * Renames one or more columns in the table.
1212
+ *
1213
+ * @param names - An object mapping old column names to their new column names (e.g., `{ "oldName": "newName", "anotherOld": "anotherNew" }`).
1214
+ * @returns A promise that resolves when the columns have been renamed.
1215
+ * @category Column Operations
1216
+ *
1217
+ * @example
1218
+ * ```ts
1219
+ * // Rename "How old?" to "age" and "Man or woman?" to "sex"
1220
+ * await table.renameColumns({ "How old?": "age", "Man or woman?": "sex" });
1221
+ * ```
1222
+ *
1223
+ * @example
1224
+ * ```ts
1225
+ * // Rename a single column
1226
+ * await table.renameColumns({ "product_id": "productId" });
1227
+ * ```
1228
+ */
1229
+ renameColumns(names: {
1230
+ [key: string]: string;
1231
+ }): Promise<void>;
1232
+ /**
1233
+ * Cleans column names by removing non-alphanumeric characters and formatting them to camel case.
1234
+ *
1235
+ * @returns A promise that resolves when the column names have been cleaned.
1236
+ * @category Column Operations
1237
+ *
1238
+ * @example
1239
+ * ```ts
1240
+ * // Clean all column names in the table
1241
+ * // e.g., "First Name" becomes "firstName", "Product ID" becomes "productId"
1242
+ * await table.cleanColumnNames();
1243
+ * ```
1244
+ */
1245
+ cleanColumnNames(): Promise<void>;
1246
+ /**
1247
+ * Restructures this table by stacking (unpivoting) columns. This is useful for tidying up data from a wide format to a long format.
1248
+ *
1249
+ * For example, given a table showing employee counts per department per year:
1250
+ *
1251
+ * | Department | 2021 | 2022 | 2023 |
1252
+ * | :--------- | :--- | :--- | :--- |
1253
+ * | Accounting | 10 | 9 | 15 |
1254
+ * | Sales | 52 | 75 | 98 |
1255
+ *
1256
+ * 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`.
1257
+ *
1258
+ * @example
1259
+ * ```ts
1260
+ * // Restructure the table by stacking year columns into 'year' and 'employees'
1261
+ * await table.longer(["2021", "2022", "2023"], "year", "employees");
1262
+ * ```
1263
+ *
1264
+ * The table will then look like this:
1265
+ *
1266
+ * | Department | Year | Employees |
1267
+ * | :--------- | :--- | :-------- |
1268
+ * | Accounting | 2021 | 10 |
1269
+ * | Accounting | 2022 | 9 |
1270
+ * | Accounting | 2023 | 15 |
1271
+ * | Sales | 2021 | 52 |
1272
+ * | Sales | 2022 | 75 |
1273
+ * | Sales | 2023 | 98 |
1274
+ *
1275
+ * @param columns - An array of strings representing the names of the columns to be stacked (unpivoted).
1276
+ * @param columnsTo - The name of the new column that will contain the original column names (e.g., "Year").
1277
+ * @param valuesTo - The name of the new column that will contain the values from the stacked columns (e.g., "Employees").
1278
+ * @returns A promise that resolves when the table has been restructured.
1279
+ * @category Restructuring Data
1280
+ */
1281
+ longer(columns: string[], columnsTo: string, valuesTo: string): Promise<void>;
1282
+ /**
1283
+ * Restructures this table by unstacking (pivoting) values, transforming data from a long format to a wide format.
1284
+ *
1285
+ * For example, given a table showing employee counts per department per year:
1286
+ *
1287
+ * | Department | Year | Employees |
1288
+ * | :--------- | :--- | :-------- |
1289
+ * | Accounting | 2021 | 10 |
1290
+ * | Accounting | 2022 | 9 |
1291
+ * | Accounting | 2023 | 15 |
1292
+ * | Sales | 2021 | 52 |
1293
+ * | Sales | 2022 | 75 |
1294
+ * | Sales | 2023 | 98 |
1295
+ *
1296
+ * We can restructure it by creating new columns for each year, with the associated employee counts as values.
1297
+ *
1298
+ * @example
1299
+ * ```ts
1300
+ * // Restructure the table by pivoting 'Year' into new columns with 'Employees' as values
1301
+ * await table.wider("Year", "Employees");
1302
+ * ```
1303
+ *
1304
+ * The table will then look like this:
1305
+ *
1306
+ * | Department | 2021 | 2022 | 2023 |
1307
+ * | :--------- | :--- | :--- | :--- |
1308
+ * | Accounting | 10 | 9 | 15 |
1309
+ * | Sales | 52 | 75 | 98 |
1310
+ *
1311
+ * @param columnsFrom - The name of the column containing the values that will be transformed into new column headers (e.g., "Year").
1312
+ * @param valuesFrom - The name of the column containing the values to be spread across the new columns (e.g., "Employees").
1313
+ * @returns A promise that resolves when the table has been restructured.
1314
+ * @category Restructuring Data
1315
+ */
1316
+ wider(columnsFrom: string, valuesFrom: string): Promise<void>;
1317
+ /**
1318
+ * Converts data types of specified columns to target types (JavaScript or SQL types).
1319
+ *
1320
+ * 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).
1321
+ *
1322
+ * 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).
1323
+ *
1324
+ * When converting strings to numbers, commas (often used as thousand separators) will be automatically removed before conversion.
1325
+ *
1326
+ * @param types - An object mapping column names to their target data types for conversion.
1327
+ * @param options - An optional object with configuration options:
1328
+ * @param options.try - If `true`, values that cannot be converted will be replaced by `NULL` instead of throwing an error. Defaults to `false`.
1329
+ * @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).
1330
+ * @returns A promise that resolves when the column types have been converted.
1331
+ * @category Updating Data
1332
+ *
1333
+ * @example
1334
+ * ```ts
1335
+ * // Convert 'column1' to string and 'column2' to integer (JavaScript types)
1336
+ * await table.convert({ column1: "string", column2: "integer" });
1337
+ * ```
1338
+ *
1339
+ * @example
1340
+ * ```ts
1341
+ * // Convert 'column1' to VARCHAR and 'column2' to BIGINT (SQL types)
1342
+ * await table.convert({ column1: "varchar", column2: "bigint" });
1343
+ * ```
1344
+ *
1345
+ * @example
1346
+ * ```ts
1347
+ * // Convert strings in 'column3' to datetime using a specific format
1348
+ * await table.convert({ column3: "datetime" }, { datetimeFormat: "%Y-%m-%d" });
1349
+ * ```
1350
+ *
1351
+ * @example
1352
+ * ```ts
1353
+ * // Convert datetime values in 'column3' to strings using a specific format
1354
+ * await table.convert({ column3: "string" }, { datetimeFormat: "%Y-%m-%d %H:%M:%S" });
1355
+ * ```
1356
+ *
1357
+ * @example
1358
+ * ```ts
1359
+ * // Convert 'amount' to float, replacing unconvertible values with NULL
1360
+ * await table.convert({ amount: "float" }, { try: true });
1361
+ * ```
1362
+ */
1363
+ convert(types: {
1364
+ [key: string]: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean";
1365
+ }, options?: {
1366
+ try?: boolean;
1367
+ datetimeFormat?: string;
1368
+ }): Promise<void>;
1369
+ /**
1370
+ * Removes the table from the database. After this operation, invoking methods on this SimpleTable instance will result in an error.
1371
+ *
1372
+ * @returns A promise that resolves when the table has been removed.
1373
+ * @category Table Management
1374
+ *
1375
+ * @example
1376
+ * ```ts
1377
+ * // Remove the current table from the database
1378
+ * await table.removeTable();
1379
+ * ```
1380
+ */
1381
+ removeTable(): Promise<void>;
1382
+ /**
1383
+ * Removes one or more columns from this table.
1384
+ *
1385
+ * @param columns - The name or an array of names of the columns to be removed.
1386
+ * @returns A promise that resolves when the columns have been removed.
1387
+ * @category Column Operations
1388
+ *
1389
+ * @example
1390
+ * ```ts
1391
+ * // Remove 'column1' and 'column2' from the table
1392
+ * await table.removeColumns(["column1", "column2"]);
1393
+ * ```
1394
+ *
1395
+ * @example
1396
+ * ```ts
1397
+ * // Remove a single column named 'tempColumn'
1398
+ * await table.removeColumns("tempColumn");
1399
+ * ```
1400
+ */
1401
+ removeColumns(columns: string | string[]): Promise<void>;
1402
+ /**
1403
+ * Adds a new column to the table based on a specified data type (JavaScript or SQL types) and a SQL definition.
1404
+ *
1405
+ * @param newColumn - The name of the new column to be added.
1406
+ * @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"`).
1407
+ * @param definition - A SQL expression defining how the values for the new column should be computed (e.g., `"column1 + column2"`, `"ST_Centroid(geom_column)"`).
1408
+ * @param options - An optional object with configuration options:
1409
+ * @param options.projection - Required if the new column stores geometries. Specifies the geospatial projection of the new geometry column. You can reuse the projection of an existing geometry column (available in `table.projections`).
1410
+ * @returns A promise that resolves when the new column has been added.
1411
+ * @category Column Operations
1412
+ *
1413
+ * @example
1414
+ * ```ts
1415
+ * // Add a new column 'total' as a float, calculated from 'column1' and 'column2'
1416
+ * await table.addColumn("total", "float", "column1 + column2");
1417
+ * ```
1418
+ *
1419
+ * @example
1420
+ * ```ts
1421
+ * // Add a new geometry column 'centroid' using the centroid of an existing 'country' geometry column
1422
+ * // The projection of the new 'centroid' column is set to be the same as 'country'.
1423
+ * await table.addColumn("centroid", "geometry", `ST_Centroid("country")`, {
1424
+ * projection: table.projections.country,
1425
+ * });
1426
+ * ```
1427
+ */
1428
+ addColumn(newColumn: string, type: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean" | "geometry", definition: string, options?: {
1429
+ projection?: string;
1430
+ }): Promise<void>;
1431
+ /**
1432
+ * Adds a new column to the table containing the row number, starting at 0 (like an index).
1433
+ *
1434
+ * @param newColumn - The name of the new column that will store the row number.
1435
+ * @param options - An optional object with configuration options:
1436
+ * @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.
1437
+ * @returns A promise that resolves when the row number column has been added.
1438
+ * @category Column Operations
1439
+ *
1440
+ * @example
1441
+ * ```ts
1442
+ * // Add a new column named 'rowNumber' with the row number for each row
1443
+ * await table.addRowNumber("rowNumber");
1444
+ * ```
1445
+ *
1446
+ * @example
1447
+ * ```ts
1448
+ * // Add a new column named 'rowNumber' with the row number for each 'category'
1449
+ * await table.addRowNumber("rowNumber", { categories: "category" });
1450
+ * ```
1451
+ */
1452
+ addRowNumber(newColumn: string, options?: {
1453
+ categories?: string | string[];
1454
+ }): Promise<void>;
1455
+ /**
1456
+ * 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.
1457
+ * This means that if the left table has `n` rows and the right table has `m` rows, the result will have `n * m` rows.
1458
+ *
1459
+ * @param rightTable - The SimpleTable instance to cross join with.
1460
+ * @param options - An optional object with configuration options:
1461
+ * @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`.
1462
+ * @returns A promise that resolves to a table instance containing the cross-joined data (either the modified current table or a new table).
1463
+ * @category Table Operations
1464
+ *
1465
+ * @example
1466
+ * ```ts
1467
+ * // Perform a cross join with 'tableB', overwriting the current table (tableA)
1468
+ * await tableA.crossJoin(tableB);
1469
+ * ```
1470
+ *
1471
+ * @example
1472
+ * ```ts
1473
+ * // Perform a cross join with 'tableB' and store the results in a new table with a generated name
1474
+ * const tableC = await tableA.crossJoin(tableB, { outputTable: true });
1475
+ * ```
1476
+ *
1477
+ * @example
1478
+ * ```ts
1479
+ * // Perform a cross join with 'tableB' and store the results in a new table named 'tableC'
1480
+ * const tableC = await tableA.crossJoin(tableB, { outputTable: "tableC" });
1481
+ * ```
1482
+ */
1483
+ crossJoin(rightTable: SimpleTable, options?: {
1484
+ outputTable?: string | boolean;
1485
+ }): Promise<this>;
1486
+ /**
1487
+ * Merges the data of this table (considered the left table) with another table (the right table) based on a common column or multiple columns.
1488
+ * Note that the order of rows in the returned data is not guaranteed to be the same as in the original tables.
1489
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
1490
+ *
1491
+ * @param rightTable - The SimpleTable instance to be joined with this table.
1492
+ * @param options - An optional object with configuration options:
1493
+ * @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.
1494
+ * @param options.type - The type of join operation to perform. Possible values are `"inner"`, `"left"` (default), `"right"`, or `"full"`.
1495
+ * @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`.
1496
+ * @returns A promise that resolves to a table instance containing the joined data (either the modified current table or a new table).
1497
+ * @category Table Operations
1498
+ *
1499
+ * @example
1500
+ * ```ts
1501
+ * // Perform a left join with 'tableB' on a common column (auto-detected), overwriting tableA
1502
+ * await tableA.join(tableB);
1503
+ * ```
1504
+ *
1505
+ * @example
1506
+ * ```ts
1507
+ * // Perform an inner join with 'tableB' on the 'id' column, storing results in a new table named 'tableC'
1508
+ * const tableC = await tableA.join(tableB, { commonColumn: 'id', type: 'inner', outputTable: "tableC" });
1509
+ * ```
1510
+ *
1511
+ * @example
1512
+ * ```ts
1513
+ * // Perform a join on multiple columns ('name' and 'category')
1514
+ * await tableA.join(tableB, { commonColumn: ['name', 'category'] });
1515
+ * ```
1516
+ */
1517
+ join(rightTable: SimpleTable, options?: {
1518
+ commonColumn?: string | string[];
1519
+ type?: "inner" | "left" | "right" | "full";
1520
+ outputTable?: string | boolean;
1521
+ }): Promise<this>;
1522
+ /**
1523
+ * Performs a fuzzy left join between this table (considered the left table) and another table
1524
+ * (the right table) based on string similarity between two text columns. Uses the
1525
+ * [rapidfuzz](https://query.farm/duckdb_extension_rapidfuzz) DuckDB community extension.
1526
+ *
1527
+ * 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.
1528
+ *
1529
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
1530
+ *
1531
+ * @param rightTable - The SimpleTable instance to be joined with this table.
1532
+ * @param leftColumn - The name of the column in this (left) table containing the text to compare.
1533
+ * @param rightColumn - The name of the column in the right table containing the text to compare.
1534
+ * @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.
1535
+ * @param options - An optional object with configuration options:
1536
+ * @param options.method - The rapidfuzz similarity algorithm to use. Defaults to `"ratio"`.
1537
+ * - `"ratio"`: Overall similarity (Levenshtein-based).
1538
+ * - `"partial_ratio"`: Best partial/substring similarity.
1539
+ * - `"token_sort_ratio"`: Similarity after sorting tokens (words), useful for reordered words.
1540
+ * - `"token_set_ratio"`: Similarity based on sets of tokens, ignoring duplicates and word order.
1541
+ * @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.
1542
+ * @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`.
1543
+ * @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).
1544
+ * @returns A promise that resolves to a table instance containing the fuzzy-joined data (either the modified current table or a new table).
1545
+ * @category Table Operations
1546
+ *
1547
+ * @example
1548
+ * ```ts
1549
+ * // Fuzzy left join tableA with tableB on 'name' (left) and 'standardName' (right) with a threshold of 80
1550
+ * // A length-based pre-filter is automatically applied.
1551
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80);
1552
+ * ```
1553
+ *
1554
+ * @example
1555
+ * ```ts
1556
+ * // Fuzzy join with a prefix-based pre-filter and a threshold of 80
1557
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80, {
1558
+ * preFilterPrefixLen: 3, // Must share the same first 3 characters
1559
+ * });
1560
+ * ```
1561
+ *
1562
+ * @example
1563
+ * ```ts
1564
+ * // Fuzzy join with a custom threshold and method, storing results in a new table
1565
+ * const tableC = await tableA.fuzzyJoin(tableB, "name", "standardName", 90, {
1566
+ * method: "token_sort_ratio",
1567
+ * outputTable: "tableC",
1568
+ * });
1569
+ * ```
1570
+ *
1571
+ * @example
1572
+ * ```ts
1573
+ * // Fuzzy join with a custom similarity column name and a threshold of 80
1574
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80, {
1575
+ * similarityColumn: "matchScore",
1576
+ * });
1577
+ * ```
1578
+ */
1579
+ fuzzyJoin(rightTable: SimpleTable, leftColumn: string, rightColumn: string, threshold: number, options?: {
1580
+ method?: "ratio" | "partial_ratio" | "token_sort_ratio" | "token_set_ratio";
1581
+ similarityColumn?: string;
1582
+ outputTable?: string | boolean;
1583
+ preFilterPrefixLen?: number;
1584
+ }): Promise<this>;
1585
+ /**
1586
+ * Normalizes string values in a column by detecting fuzzy duplicates and replacing them with a single canonical value.
1587
+ *
1588
+ * Similar strings are grouped into clusters. Matching is transitive: if `"New York"` is similar to `"New Yorke"` and
1589
+ * `"New Yorke"` is similar to `"New Yorkk"`, all three land in the same cluster even if `"New York"` and `"New Yorkk"`
1590
+ * would not match directly. Each cluster is then collapsed to one representative value based on the `keep` strategy.
1591
+ *
1592
+ * Similarity is computed using the [rapidfuzz](https://query.farm/duckdb_extension_rapidfuzz) DuckDB community extension,
1593
+ * which is installed and loaded automatically.
1594
+ *
1595
+ * @param column - The name of the column containing the strings to normalize.
1596
+ * @param newColumn - The name of the column to write the normalized values to. Use the same name as `column` to normalize in-place.
1597
+ * @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.
1598
+ * @param options - An optional object with configuration options:
1599
+ * @param options.method - The rapidfuzz similarity algorithm to use. Defaults to `"ratio"`.
1600
+ * - `"ratio"`: Overall similarity.
1601
+ * - `"partial_ratio"`: Best partial/substring similarity.
1602
+ * - `"token_sort_ratio"`: Similarity after sorting tokens (words), useful for reordered words.
1603
+ * - `"token_set_ratio"`: Similarity based on sets of tokens, ignoring duplicates and word order.
1604
+ * @param options.keep - The strategy for choosing the canonical value within each cluster of similar strings. Defaults to `"mostCommon"`.
1605
+ * - `"mostCommon"`: Keep the value that appears most frequently in the original column.
1606
+ * - `"longestString"`: Keep the longest string in the cluster.
1607
+ * - `"shortestString"`: Keep the shortest string in the cluster.
1608
+ * - `"mostCentral"`: Keep the string with the highest total similarity score to all other cluster members (the most "central" string).
1609
+ * - `"maxScore"`: Keep the string that participates in the single highest-scoring pairwise match within the cluster.
1610
+ * @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).
1611
+ * @returns A promise that resolves when the column has been normalized.
1612
+ * @category Updating Data
1613
+ *
1614
+ * @example
1615
+ * ```ts
1616
+ * // Normalize 'city' into a new 'cityClean' column, keeping the most common string per cluster with a threshold of 80
1617
+ * // A length-based pre-filter is automatically applied.
1618
+ * await table.fuzzyClean("city", "cityClean", 80);
1619
+ * ```
1620
+ *
1621
+ * @example
1622
+ * ```ts
1623
+ * // Normalize with a prefix-based pre-filter and a threshold of 80
1624
+ * await table.fuzzyClean("city", "cityClean", 80, {
1625
+ * preFilterPrefixLen: 5, // Must share the same first 5 characters
1626
+ * });
1627
+ * ```
1628
+ *
1629
+ * @example
1630
+ * ```ts
1631
+ * // Normalize 'companyName' into a new column using token_sort_ratio and a threshold of 90
1632
+ * await table.fuzzyClean("companyName", "companyNameClean", 90, { method: "token_sort_ratio" });
1633
+ * ```
1634
+ *
1635
+ * @example
1636
+ * ```ts
1637
+ * // Normalize 'category' in-place, keeping the longest string in each cluster and a threshold of 80
1638
+ * await table.fuzzyClean("category", "category", 80, { keep: "longestString" });
1639
+ * ```
1640
+ */
1641
+ fuzzyClean(column: string, newColumn: string, threshold: number, options?: {
1642
+ method?: "ratio" | "partial_ratio" | "token_sort_ratio" | "token_set_ratio";
1643
+ keep?: "mostCommon" | "longestString" | "shortestString" | "mostCentral" | "maxScore";
1644
+ preFilterPrefixLen?: number;
1645
+ }): Promise<void>;
1646
+ /**
1647
+ * Replaces specified strings in the selected columns.
1648
+ *
1649
+ * @param columns - The column name or an array of column names where string replacements will occur.
1650
+ * @param strings - An object mapping old strings to new strings (e.g., `{ "oldValue": "newValue" }`).
1651
+ * @param options - An optional object with configuration options:
1652
+ * @param options.entireString - A boolean indicating whether the entire cell content must match the `oldString` for replacement to occur. Defaults to `false` (replaces substrings).
1653
+ * @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`.
1654
+ * @returns A promise that resolves when the string replacements are complete.
1655
+ * @category Updating Data
1656
+ *
1657
+ * @example
1658
+ * ```ts
1659
+ * // Replace all occurrences of "kilograms" with "kg" in 'column1'
1660
+ * await table.replace("column1", { "kilograms": "kg" });
1661
+ * ```
1662
+ *
1663
+ * @example
1664
+ * ```ts
1665
+ * // Replace "kilograms" with "kg" and "liters" with "l" in 'column1' and 'column2'
1666
+ * await table.replace(["column1", "column2"], { "kilograms": "kg", "liters": "l" });
1667
+ * ```
1668
+ *
1669
+ * @example
1670
+ * ```ts
1671
+ * // Replace only if the entire string in 'column1' is "kilograms"
1672
+ * await table.replace("column1", { "kilograms": "kg" }, { entireString: true });
1673
+ * ```
1674
+ *
1675
+ * @example
1676
+ * ```ts
1677
+ * // Replace any sequence of one or more digits with a hyphen in 'column1' using regex
1678
+ * await table.replace("column1", { "\d+": "-" }, { regex: true });
1679
+ * ```
1680
+ */
1681
+ replace(columns: string | string[], strings: {
1682
+ [key: string]: string;
1683
+ }, options?: {
1684
+ entireString?: boolean;
1685
+ regex?: boolean;
1686
+ }): Promise<void>;
1687
+ /**
1688
+ * Converts string values in the specified columns to lowercase.
1689
+ *
1690
+ * @param columns - The column name or an array of column names to be converted to lowercase.
1691
+ * @returns A promise that resolves when the strings have been converted to lowercase.
1692
+ * @category Updating Data
1693
+ *
1694
+ * @example
1695
+ * ```ts
1696
+ * // Convert strings in 'column1' to lowercase
1697
+ * await table.lower("column1");
1698
+ * ```
1699
+ *
1700
+ * @example
1701
+ * ```ts
1702
+ * // Convert strings in 'column1' and 'column2' to lowercase
1703
+ * await table.lower(["column1", "column2"]);
1704
+ * ```
1705
+ */
1706
+ lower(columns: string | string[]): Promise<void>;
1707
+ /**
1708
+ * Converts string values in the specified columns to uppercase.
1709
+ *
1710
+ * @param columns - The column name or an array of column names to be converted to uppercase.
1711
+ * @returns A promise that resolves when the strings have been converted to uppercase.
1712
+ * @category Updating Data
1713
+ *
1714
+ * @example
1715
+ * ```ts
1716
+ * // Convert strings in 'column1' to uppercase
1717
+ * await table.upper("column1");
1718
+ * ```
1719
+ *
1720
+ * @example
1721
+ * ```ts
1722
+ * // Convert strings in 'column1' and 'column2' to uppercase
1723
+ * await table.upper(["column1", "column2"]);
1724
+ * ```
1725
+ */
1726
+ upper(columns: string | string[]): Promise<void>;
1727
+ /**
1728
+ * Capitalizes the first letter of each string in the specified columns and converts the rest of the string to lowercase.
1729
+ *
1730
+ * @param columns - The column name or an array of column names to be capitalized.
1731
+ * @returns A promise that resolves when the strings have been capitalized.
1732
+ * @category Updating Data
1733
+ *
1734
+ * @example
1735
+ * ```ts
1736
+ * // Capitalize strings in 'column1' (e.g., "hello world" becomes "Hello world")
1737
+ * await table.capitalize("column1");
1738
+ * ```
1739
+ *
1740
+ * @example
1741
+ * ```ts
1742
+ * // Capitalize strings in 'column1' and 'column2'
1743
+ * await table.capitalize(["column1", "column2"]);
1744
+ * ```
1745
+ */
1746
+ capitalize(columns: string | string[]): Promise<void>;
1747
+ /**
1748
+ * Truncates string values in a specified column to a maximum number of characters.
1749
+ *
1750
+ * @param column - The column name containing strings to be truncated.
1751
+ * @param length - The maximum number of characters to keep.
1752
+ * @returns A promise that resolves when the strings have been truncated.
1753
+ * @category Updating Data
1754
+ *
1755
+ * @example
1756
+ * ```ts
1757
+ * // Truncate strings in 'description' column to 50 characters
1758
+ * await table.truncate("description", 50);
1759
+ * ```
1760
+ *
1761
+ * @example
1762
+ * ```ts
1763
+ * // Truncate strings in 'name' column to 10 characters
1764
+ * await table.truncate("name", 10);
1765
+ * ```
1766
+ */
1767
+ truncate(column: string, length: number): Promise<void>;
1768
+ /**
1769
+ * Pads the strings in the specified columns to a target length.
1770
+ *
1771
+ * The columns must contain string (VARCHAR) values. An error is thrown if any
1772
+ * column is of a different type. `null` values remain `null`. If any string
1773
+ * already exceeds the target length, an error is thrown (no silent truncation).
1774
+ *
1775
+ * @param columns - The column name(s) containing strings to be padded.
1776
+ * @param length - The target length of the padded strings.
1777
+ * @param options - An optional object with configuration options:
1778
+ * @param options.method - Which side to pad. `'left'` (default) or `'right'`.
1779
+ * @param options.char - The character to use for padding. Defaults to `'0'`.
1780
+ * @returns A promise that resolves when the padding operation is complete.
1781
+ * @throws {Error} If any column is not of string (VARCHAR) type.
1782
+ * @throws {Error} If any string value exceeds the target length.
1783
+ * @category Updating Data
1784
+ *
1785
+ * @example
1786
+ * ```ts
1787
+ * // Left-pad 'id' column to 3 characters with zeros (default)
1788
+ * await table.pad("id", 3);
1789
+ * // Result: '1' -> '001', '23' -> '023', null -> null
1790
+ * ```
1791
+ *
1792
+ * @example
1793
+ * ```ts
1794
+ * // Right-pad 'code' column to 5 characters with spaces
1795
+ * await table.pad("code", 5, { method: "right", char: " " });
1796
+ * // Result: '123' -> '123 ', '45' -> '45 ', null -> null
1797
+ * ```
1798
+ *
1799
+ * @example
1800
+ * ```ts
1801
+ * // Left-pad multiple columns to 5 characters with dashes
1802
+ * await table.pad(["id", "code"], 5, { method: "left", char: "-" });
1803
+ * // Result: '1' -> '----1', '23' -> '---23'
1804
+ * ```
1805
+ */
1806
+ pad(columns: string | string[], length: number, options?: {
1807
+ method?: "left" | "right";
1808
+ char?: string;
1809
+ }): Promise<void>;
1810
+ /**
1811
+ * 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.
1812
+ * If the index is out of bounds, an empty string will be returned for that row.
1813
+ *
1814
+ * @param column - The name of the column containing the strings to be split.
1815
+ * @param separator - The substring to use as a delimiter for splitting the strings.
1816
+ * @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.
1817
+ * @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`.
1818
+ * @returns A promise that resolves when the strings have been split and extracted.
1819
+ * @category Updating Data
1820
+ *
1821
+ * @example
1822
+ * ```ts
1823
+ * // Split 'address' by comma and extract the second part (index 1) into a new 'city' column
1824
+ * // e.g., "123 Main St, Anytown, USA" -> "Anytown"
1825
+ * await table.splitExtract("address", ",", 1, "city");
1826
+ * ```
1827
+ *
1828
+ * @example
1829
+ * ```ts
1830
+ * // Split 'fileName' by dot and extract the first part (index 0), overwriting 'fileName'
1831
+ * // e.g., "document.pdf" -> "document"
1832
+ * await table.splitExtract("fileName", ".", 0, "fileName");
1833
+ * ```
1834
+ */
1835
+ splitExtract(column: string, separator: string, index: number, newColumn: string): Promise<void>;
1836
+ /**
1837
+ * Splits strings in a specified column by a separator and spreads the resulting parts into multiple new columns.
1838
+ *
1839
+ * 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.
1840
+ * 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).
1841
+ * If a row has more parts than the number of new columns, an error will be thrown unless `noCheck` is set to true.
1842
+ *
1843
+ * @param column - The name of the column containing the strings to be split.
1844
+ * @param separator - The substring to use as a delimiter for splitting the strings.
1845
+ * @param newColumns - An array of column names for the extracted parts.
1846
+ * @param options - Optional configuration.
1847
+ * @param options.noCheck - If true, skips all validation checks (both max and min parts). Default is false.
1848
+ * @returns A promise that resolves when the strings have been split and spread into new columns.
1849
+ * @category Updating Data
1850
+ *
1851
+ * @example
1852
+ * ```ts
1853
+ * // Split 'fullName' by comma and spread into 'lastName' and 'firstName'
1854
+ * // e.g., "Shiab, Nael" -> lastName: "Shiab", firstName: "Nael"
1855
+ * await table.splitSpread("fullName", ",", ["lastName", "firstName"]);
1856
+ * ```
1857
+ *
1858
+ * @example
1859
+ * ```ts
1860
+ * // Split 'address' by comma and spread into three columns
1861
+ * // e.g., "123 Main St, Anytown, USA" -> street: "123 Main St", city: "Anytown", country: "USA"
1862
+ * await table.splitSpread("address", ",", ["street", "city", "country"]);
1863
+ * ```
1864
+ *
1865
+ * @example
1866
+ * ```ts
1867
+ * // Skip validation for performance with noCheck option
1868
+ * await table.splitSpread("data", "|", ["col1", "col2"], { noCheck: true });
1869
+ * ```
1870
+ */
1871
+ splitSpread(column: string, separator: string, newColumns: string[], options?: {
1872
+ noCheck?: boolean;
1873
+ }): Promise<void>;
1874
+ /**
1875
+ * Extracts a specific number of characters from the beginning (left side) of string values in the specified column.
1876
+ *
1877
+ * @param column - The name of the column containing the strings to be modified.
1878
+ * @param numberOfCharacters - The number of characters to extract from the left side of each string.
1879
+ * @returns A promise that resolves when the strings have been updated.
1880
+ * @category Updating Data
1881
+ *
1882
+ * @example
1883
+ * ```ts
1884
+ * // Replace strings in 'productCode' with their first two characters
1885
+ * // e.g., "ABC-123" becomes "AB"
1886
+ * await table.left("productCode", 2);
1887
+ * ```
1888
+ */
1889
+ left(column: string, numberOfCharacters: number): Promise<void>;
1890
+ /**
1891
+ * Extracts a specific number of characters from the end (right side) of string values in the specified column.
1892
+ *
1893
+ * @param column - The name of the column containing the strings to be modified.
1894
+ * @param numberOfCharacters - The number of characters to extract from the right side of each string.
1895
+ * @returns A promise that resolves when the strings have been updated.
1896
+ * @category Updating Data
1897
+ *
1898
+ * @example
1899
+ * ```ts
1900
+ * // Replace strings in 'productCode' with their last two characters
1901
+ * // e.g., "ABC-123" becomes "23"
1902
+ * await table.right("productCode", 2);
1903
+ * ```
1904
+ */
1905
+ right(column: string, numberOfCharacters: number): Promise<void>;
1906
+ /**
1907
+ * Replaces `NULL` values in the specified columns with a given value.
1908
+ *
1909
+ * @param columns - The column name or an array of column names in which to replace `NULL` values.
1910
+ * @param value - The value to replace `NULL` occurrences with.
1911
+ * @returns A promise that resolves when the `NULL` values have been replaced.
1912
+ * @category Updating Data
1913
+ *
1914
+ * @example
1915
+ * ```ts
1916
+ * // Replace NULL values in 'column1' with 0
1917
+ * await table.replaceNulls("column1", 0);
1918
+ * ```
1919
+ *
1920
+ * @example
1921
+ * ```ts
1922
+ * // Replace NULL values in 'columnA' and 'columnB' with the string "N/A"
1923
+ * await table.replaceNulls(["columnA", "columnB"], "N/A");
1924
+ * ```
1925
+ *
1926
+ * @example
1927
+ * ```ts
1928
+ * // Replace NULL values in 'dateColumn' with a specific date
1929
+ * await table.replaceNulls("dateColumn", new Date("2023-01-01"));
1930
+ * ```
1931
+ */
1932
+ replaceNulls(columns: string | string[], value: number | string | Date | boolean): Promise<void>;
1933
+ /**
1934
+ * Concatenates values from specified columns into a new column.
1935
+ *
1936
+ * @param columns - An array of column names whose values will be concatenated.
1937
+ * @param newColumn - The name of the new column to store the concatenated values.
1938
+ * @param options - An optional object with configuration options:
1939
+ * @param options.separator - The string used to separate concatenated values. Defaults to an empty string (`""`).
1940
+ * @returns A promise that resolves when the concatenation is complete.
1941
+ * @category Updating Data
1942
+ *
1943
+ * @example
1944
+ * ```ts
1945
+ * // Concatenate 'firstName' and 'lastName' into a new 'fullName' column
1946
+ * await table.concatenate(["firstName", "lastName"], "fullName");
1947
+ * ```
1948
+ *
1949
+ * @example
1950
+ * ```ts
1951
+ * // Concatenate 'city' and 'country' into 'location', separated by a comma and space
1952
+ * await table.concatenate(["city", "country"], "location", { separator: ", " });
1953
+ * ```
1954
+ */
1955
+ concatenate(columns: string[], newColumn: string, options?: {
1956
+ separator?: string;
1957
+ }): Promise<void>;
1958
+ /**
1959
+ * Concatenates values from multiple columns into a new column with labeled rows.
1960
+ *
1961
+ * This method creates a new column where each value is a concatenation of the specified columns,
1962
+ * with each column value prefixed by its column name and a colon, followed by a newline.
1963
+ * Column entries are separated by double newlines ("\n\n").
1964
+ *
1965
+ * All values must be string, otherwise an error will be thrown. Use the `convert()` method first to convert non-string columns to string.
1966
+ *
1967
+ * If a column value is `NULL`, it will be replaced by `'Unknown'` in the concatenated result.
1968
+ *
1969
+ * @param columns - An array of column names whose values will be concatenated with labels.
1970
+ * @param newColumn - The name of the new column to create with the concatenated values.
1971
+ * @returns A promise that resolves when the concatenation is complete.
1972
+ * @category Updating Data
1973
+ *
1974
+ * @example
1975
+ * ```ts
1976
+ * // Concatenate multiple string columns into a labeled text field
1977
+ * await table.concatenateRow(
1978
+ * ["summary", "findings", "context", "date", "quote"],
1979
+ * "fullText"
1980
+ * );
1981
+ * // Result in "fullText" will look like:
1982
+ * // summary:
1983
+ * // [value]
1984
+ * //
1985
+ * // findings:
1986
+ * // [value]
1987
+ * //
1988
+ * // context:
1989
+ * // [value]
1990
+ * //
1991
+ * // date:
1992
+ * // [value]
1993
+ * //
1994
+ * // quote:
1995
+ * // [value]
1996
+ * ```
1997
+ *
1998
+ * @example
1999
+ * ```ts
2000
+ * // Convert numeric columns to strings first, then concatenate
2001
+ * // NULL values will appear as 'Unknown'
2002
+ * await table.convert({ age: "string", salary: "string" });
2003
+ * await table.concatenateRow(["name", "age", "salary"], "profile");
2004
+ * ```
2005
+ */
2006
+ concatenateRow(columns: string[], newColumn: string): Promise<void>;
2007
+ /**
2008
+ * Unnests (expands) rows by splitting a column's string values into multiple rows based on a separator.
2009
+ *
2010
+ * 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.
2011
+ *
2012
+ * @param column - The name of the column containing string values to be split and unnested.
2013
+ * @param separator - The delimiter string used to split the column values.
2014
+ * @returns A promise that resolves when the unnesting is complete.
2015
+ * @category Updating Data
2016
+ *
2017
+ * @example
2018
+ * ```ts
2019
+ * // Unnest 'tags' column separated by commas
2020
+ * // Before: [{ id: 1, tags: "red,blue,green" }]
2021
+ * // After: [{ id: 1, tags: "red" }, { id: 1, tags: "blue" }, { id: 1, tags: "green" }]
2022
+ * await table.unnest("tags", ",");
2023
+ * ```
2024
+ *
2025
+ * @example
2026
+ * ```ts
2027
+ * // Unnest 'neighborhoods' column separated by " / "
2028
+ * // Before: [{ city: "Montreal", neighborhoods: "Old Montreal / Chinatown / Griffintown" }]
2029
+ * // After: [{ city: "Montreal", neighborhoods: "Old Montreal" },
2030
+ * // { city: "Montreal", neighborhoods: "Chinatown" },
2031
+ * // { city: "Montreal", neighborhoods: "Griffintown" }]
2032
+ * await table.unnest("neighborhoods", " / ");
2033
+ * ```
2034
+ */
2035
+ unnest(column: string, separator: string): Promise<void>;
2036
+ /**
2037
+ * Repeats rows based on the values in a column.
2038
+ *
2039
+ * 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.
2040
+ *
2041
+ * @param column - The name of the column containing the number of times each row should be repeated.
2042
+ * @param options - An optional object with configuration options:
2043
+ * @param options.index - The name of a new column to store the index of the repeated row (starting at 0).
2044
+ * @category Updating Data
2045
+ *
2046
+ * @example
2047
+ * ```ts
2048
+ * // Before: [{ id: 1, count: 2, category: "A" }, { id: 2, count: 3, category: "B" }]
2049
+ * await table.repeatRows("count");
2050
+ * // After: [{ id: 1, count: 2, category: "A" }, { id: 1, count: 2, category: "A" },
2051
+ * // { id: 2, count: 3, category: "B" }, { id: 2, count: 3, category: "B" }, { id: 2, count: 3, category: "B" }]
2052
+ * ```
2053
+ *
2054
+ * @example
2055
+ * ```ts
2056
+ * // With an index column
2057
+ * await table.repeatRows("count", { index: "copyId" });
2058
+ * // After: [{ id: 1, count: 2, category: "A", copyId: 0 }, { id: 1, count: 2, category: "A", copyId: 1 },
2059
+ * // { id: 2, count: 3, category: "B", copyId: 0 }, { id: 2, count: 3, category: "B", copyId: 1 }, { id: 2, count: 3, category: "B", copyId: 2 }]
2060
+ * ```
2061
+ */
2062
+ repeatRows(column: string, options?: {
2063
+ index?: string;
2064
+ }): Promise<void>;
2065
+ /**
2066
+ * Nests (collapses) rows by aggregating a column's values into a single string per group, separated by a delimiter.
2067
+ *
2068
+ * 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.
2069
+ *
2070
+ * @param column - The name of the column whose values will be aggregated and concatenated.
2071
+ * @param separator - The delimiter string used to join the column values.
2072
+ * @param categories - The column name or an array of column names to group by.
2073
+ * @returns A promise that resolves when the nesting is complete.
2074
+ * @category Updating Data
2075
+ *
2076
+ * @example
2077
+ * ```ts
2078
+ * // Nest 'neighborhoods' column separated by " / " for each city
2079
+ * // Before: [{ city: "Montreal", neighborhoods: "Old Montreal" },
2080
+ * // { city: "Montreal", neighborhoods: "Chinatown" },
2081
+ * // { city: "Montreal", neighborhoods: "Griffintown" }]
2082
+ * // After: [{ city: "Montreal", neighborhoods: "Old Montreal / Chinatown / Griffintown" }]
2083
+ * await table.nest("neighborhoods", " / ", "city");
2084
+ * ```
2085
+ *
2086
+ * @example
2087
+ * ```ts
2088
+ * // Nest with multiple category columns
2089
+ * // Before: [{ country: "Canada", city: "Montreal", tags: "red" },
2090
+ * // { country: "Canada", city: "Montreal", tags: "blue" }]
2091
+ * // After: [{ country: "Canada", city: "Montreal", tags: "red,blue" }]
2092
+ * await table.nest("tags", ",", ["country", "city"]);
2093
+ * ```
2094
+ */
2095
+ nest(column: string, separator: string, categories: string | string[]): Promise<void>;
2096
+ /**
2097
+ * Rounds numeric values in specified columns.
2098
+ *
2099
+ * @param columns - The column name or an array of column names containing numeric values to be rounded.
2100
+ * @param options - An optional object with configuration options:
2101
+ * @param options.decimals - The number of decimal places to round to. Defaults to `0` (rounds to the nearest integer).
2102
+ * @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"`.
2103
+ * @returns A promise that resolves when the numeric values have been rounded.
2104
+ * @category Updating Data
2105
+ *
2106
+ * @example
2107
+ * ```ts
2108
+ * // Round 'column1' values to the nearest integer
2109
+ * await table.round("column1");
2110
+ * ```
2111
+ *
2112
+ * @example
2113
+ * ```ts
2114
+ * // Round 'column1' values to 2 decimal places
2115
+ * await table.round("column1", { decimals: 2 });
2116
+ * ```
2117
+ *
2118
+ * @example
2119
+ * ```ts
2120
+ * // Round 'column1' values down to the nearest integer (floor)
2121
+ * await table.round("column1", { method: "floor" });
2122
+ * ```
2123
+ *
2124
+ * @example
2125
+ * ```ts
2126
+ * // Round 'columnA' and 'columnB' values to 1 decimal place using ceiling method
2127
+ * await table.round(["columnA", "columnB"], { decimals: 1, method: "ceiling" });
2128
+ * ```
2129
+ *
2130
+ * @example
2131
+ * ```ts
2132
+ * // Round 'column1' values to 2 decimal places using the shorthand
2133
+ * await table.round("column1", 2);
2134
+ * ```
2135
+ */
2136
+ round(columns: string | string[], options?: number | {
2137
+ decimals?: number;
2138
+ method?: "round" | "ceiling" | "floor";
2139
+ }): Promise<void>;
2140
+ /**
2141
+ * Updates values in a specified column using a SQL expression.
2142
+ *
2143
+ * @param column - The name of the column to be updated.
2144
+ * @param definition - The SQL expression used to set the new values in the column (e.g., `"column1 * 2"`, `"UPPER(column_name)"`).
2145
+ * @returns A promise that resolves when the column has been updated.
2146
+ * @category Updating Data
2147
+ *
2148
+ * @example
2149
+ * ```ts
2150
+ * // Update 'column1' with the left 5 characters of 'column2'
2151
+ * await table.updateColumn("column1", `LEFT(column2, 5)`);
2152
+ * ```
2153
+ *
2154
+ * @example
2155
+ * ```ts
2156
+ * // Double the values in 'price' column
2157
+ * await table.updateColumn("price", `price * 2`);
2158
+ * ```
2159
+ *
2160
+ * @example
2161
+ * ```ts
2162
+ * // Set 'status' to 'active' where 'isActive' is true
2163
+ * await table.updateColumn("status", `CASE WHEN isActive THEN 'active' ELSE 'inactive' END`);
2164
+ * ```
2165
+ */
2166
+ updateColumn(column: string, definition: string): Promise<void>;
2167
+ /**
2168
+ * Assigns ranks to rows in a new column based on the values of a specified column.
2169
+ *
2170
+ * @param values - The column containing the values to be used for ranking.
2171
+ * @param newColumn - The name of the new column where the ranks will be stored.
2172
+ * @param options - An optional object with configuration options:
2173
+ * @param options.order - The order of values for ranking: `"asc"` for ascending (default) or `"desc"` for descending.
2174
+ * @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.
2175
+ * @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).
2176
+ * @returns A promise that resolves when the ranks have been assigned.
2177
+ * @category Analyzing Data
2178
+ *
2179
+ * @example
2180
+ * ```ts
2181
+ * // Compute ranks in a new 'rank' column based on 'score' values (ascending)
2182
+ * await table.ranks("score", "rank");
2183
+ * ```
2184
+ *
2185
+ * @example
2186
+ * ```ts
2187
+ * // Compute ranks in a new 'descRank' column based on 'score' values (descending)
2188
+ * await table.ranks("score", "descRank", { order: "desc" });
2189
+ * ```
2190
+ *
2191
+ * @example
2192
+ * ```ts
2193
+ * // Compute ranks within 'department' categories, based on 'salary' values, without gaps
2194
+ * await table.ranks("salary", "salaryRank", { categories: "department", noGaps: true });
2195
+ * ```
2196
+ *
2197
+ * @example
2198
+ * ```ts
2199
+ * // Compute ranks within multiple categories ('department' and 'city')
2200
+ * await table.ranks("sales", "salesRank", { categories: ["department", "city"] });
2201
+ * ```
2202
+ */
2203
+ ranks(values: string, newColumn: string, options?: {
2204
+ order?: "asc" | "desc";
2205
+ categories?: string | string[];
2206
+ noGaps?: boolean;
2207
+ }): Promise<void>;
2208
+ /**
2209
+ * Assigns quantiles to rows in a new column based on specified column values.
2210
+ *
2211
+ * @param values - The column containing values from which quantiles will be assigned.
2212
+ * @param nbQuantiles - The number of quantiles to divide the data into (e.g., `4` for quartiles, `10` for deciles).
2213
+ * @param newColumn - The name of the new column where the assigned quantiles will be stored.
2214
+ * @param options - An optional object with configuration options:
2215
+ * @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.
2216
+ * @returns A promise that resolves when the quantiles have been assigned.
2217
+ * @category Analyzing Data
2218
+ *
2219
+ * @example
2220
+ * ```ts
2221
+ * // Assigns a quantile from 1 to 10 for each row in a new 'quantiles' column, based on 'column1' values.
2222
+ * await table.quantiles("column1", 10, "quantiles");
2223
+ * ```
2224
+ *
2225
+ * @example
2226
+ * ```ts
2227
+ * // Assigns quantiles within 'column2' categories, based on 'column1' values.
2228
+ * await table.quantiles("column1", 10, "quantiles", { categories: "column2" });
2229
+ * ```
2230
+ *
2231
+ * @example
2232
+ * ```ts
2233
+ * // Assigns quartiles (4 quantiles) to 'sales' data, storing results in 'salesQuartile'
2234
+ * await table.quantiles("sales", 4, "salesQuartile");
2235
+ * ```
2236
+ */
2237
+ quantiles(values: string, nbQuantiles: number, newColumn: string, options?: {
2238
+ categories?: string | string[];
2239
+ }): Promise<void>;
2240
+ /**
2241
+ * Assigns bins for specified column values based on an interval size.
2242
+ *
2243
+ * @param values - The column containing values from which bins will be computed.
2244
+ * @param interval - The interval size for binning the values.
2245
+ * @param newColumn - The name of the new column where the bins will be stored.
2246
+ * @param options - An optional object with configuration options:
2247
+ * @param options.startValue - The starting value for binning. Defaults to the minimum value in the specified column.
2248
+ * @returns A promise that resolves when the bins have been assigned.
2249
+ * @category Analyzing Data
2250
+ *
2251
+ * @example
2252
+ * ```ts
2253
+ * // Assigns a bin for each row in a new 'bins' column based on 'column1' values, with an interval of 10.
2254
+ * // If the minimum value in 'column1' is 5, the bins will follow this pattern: "[5-14]", "[15-24]", etc.
2255
+ * await table.bins("column1", 10, "bins");
2256
+ * ```
2257
+ *
2258
+ * @example
2259
+ * ```ts
2260
+ * // Assigns bins starting at a specific value (0) with an interval of 10.
2261
+ * // The bins will follow this pattern: "[0-9]", "[10-19]", "[20-29]", etc.
2262
+ * await table.bins("column1", 10, "bins", { startValue: 0 });
2263
+ * ```
2264
+ */
2265
+ bins(values: string, interval: number, newColumn: string, options?: {
2266
+ startValue?: number;
2267
+ }): Promise<void>;
2268
+ /**
2269
+ * Computes proportions horizontally across specified columns for each row.
2270
+ *
2271
+ * For example, given a table showing counts of men, women, and non-binary individuals per year:
2272
+ *
2273
+ * | Year | Men | Women | NonBinary |
2274
+ * | :--- | :-- | :---- | :-------- |
2275
+ * | 2021 | 564 | 685 | 145 |
2276
+ * | 2022 | 354 | 278 | 56 |
2277
+ * | 2023 | 856 | 321 | 221 |
2278
+ *
2279
+ * This method computes the proportion of men, women, and non-binary individuals on each row, adding new columns for these proportions.
2280
+ *
2281
+ * @example
2282
+ * ```ts
2283
+ * // Compute horizontal proportions for 'Men', 'Women', and 'NonBinary' columns, rounded to 2 decimal places
2284
+ * await table.proportionsHorizontal(["Men", "Women", "NonBinary"], { decimals: 2 });
2285
+ * ```
2286
+ *
2287
+ * The table will then look like this:
2288
+ *
2289
+ * | Year | Men | Women | NonBinary | MenPerc | WomenPerc | NonBinaryPerc |
2290
+ * | :--- | :-- | :---- | :-------- | :------ | :-------- | :------------ |
2291
+ * | 2021 | 564 | 685 | 145 | 0.4 | 0.49 | 0.10 |
2292
+ * | 2022 | 354 | 278 | 56 | 0.51 | 0.4 | 0.08 |
2293
+ * | 2023 | 856 | 321 | 221 | 0.61 | 0.23 | 0.16 |
2294
+ *
2295
+ * By default, the new columns will be named with a suffix of `"Perc"`. You can customize this suffix using the `suffix` option.
2296
+ *
2297
+ * @example
2298
+ * ```ts
2299
+ * // Compute horizontal proportions with a custom suffix "Prop"
2300
+ * await table.proportionsHorizontal(["Men", "Women", "NonBinary"], { suffix: "Prop", decimals: 2 });
2301
+ * ```
2302
+ *
2303
+ * The table will then look like this:
2304
+ *
2305
+ * | Year | Men | Women | NonBinary | MenProp | WomenProp | NonBinaryProp |
2306
+ * | :--- | :-- | :---- | :-------- | :------ | :-------- | :------------ |
2307
+ * | 2021 | 564 | 685 | 145 | 0.4 | 0.49 | 0.10 |
2308
+ * | 2022 | 354 | 278 | 56 | 0.51 | 0.4 | 0.08 |
2309
+ * | 2023 | 856 | 321 | 221 | 0.61 | 0.23 | 0.16 |
2310
+ *
2311
+ * @param columns - An array of column names for which proportions will be computed on each row.
2312
+ * @param options - An optional object with configuration options:
2313
+ * @param options.suffix - A string suffix to append to the names of the new columns storing the computed proportions. Defaults to `"Perc"`.
2314
+ * @param options.decimals - The number of decimal places to round the computed proportions. Defaults to `undefined` (no rounding).
2315
+ * @returns A promise that resolves when the horizontal proportions have been computed.
2316
+ * @category Analyzing Data
2317
+ */
2318
+ proportionsHorizontal(columns: string[], options?: {
2319
+ suffix?: string;
2320
+ decimals?: number;
2321
+ }): Promise<void>;
2322
+ /**
2323
+ * Computes proportions vertically over a column's values, relative to the sum of all values in that column (or within specified categories).
2324
+ *
2325
+ * @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.
2326
+ * @param newColumn - The name of the new column where the proportions will be stored.
2327
+ * @param options - An optional object with configuration options:
2328
+ * @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.
2329
+ * @param options.decimals - The number of decimal places to round the computed proportions. Defaults to `undefined` (no rounding).
2330
+ * @returns A promise that resolves when the vertical proportions have been computed.
2331
+ * @category Analyzing Data
2332
+ *
2333
+ * @example
2334
+ * ```ts
2335
+ * // Add a new column 'perc' with each 'column1' value divided by the sum of all 'column1' values
2336
+ * await table.proportionsVertical("column1", "perc");
2337
+ * ```
2338
+ *
2339
+ * @example
2340
+ * ```ts
2341
+ * // Compute proportions for 'column1' within 'column2' categories, rounded to two decimal places
2342
+ * await table.proportionsVertical("column1", "perc", { categories: "column2", decimals: 2 });
2343
+ * ```
2344
+ *
2345
+ * @example
2346
+ * ```ts
2347
+ * // Compute proportions for 'sales' within 'region' and 'product_type' categories
2348
+ * await table.proportionsVertical("sales", "sales_proportion", { categories: ["region", "product_type"] });
2349
+ * ```
2350
+ */
2351
+ proportionsVertical(column: string, newColumn: string, options?: {
2352
+ categories?: string | string[];
2353
+ decimals?: number;
2354
+ }): Promise<void>;
2355
+ /**
2356
+ * Creates a summary table based on specified values, categories, and summary operations.
2357
+ * This method allows you to aggregate data, calculate statistics (e.g., count, mean, sum), and group results by categorical columns.
2358
+ *
2359
+ * @param options - An object with configuration options for summarization:
2360
+ * @param options.values - The column name or an array of column names whose values will be summarized. If omitted, all columns will be summarized.
2361
+ * @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.
2362
+ * @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"`.
2363
+ * @param options.decimals - The number of decimal places to round the summarized values. Defaults to `undefined` (no rounding).
2364
+ * @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`.
2365
+ * @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.
2366
+ * @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`.
2367
+ * @returns A promise that resolves to a table instance containing the summarized data (either the modified current table or a new table).
2368
+ * @category Analyzing Data
2369
+ *
2370
+ * @example
2371
+ * ```ts
2372
+ * // Summarize all columns with all available summary operations, overwriting the current table
2373
+ * const columns = await table.getColumns();
2374
+ * await table.summarize({ values: columns });
2375
+ * ```
2376
+ *
2377
+ * @example
2378
+ * ```ts
2379
+ * // Summarize all columns and store the results in a new table with a generated name
2380
+ * const columns = await table.getColumns();
2381
+ * const summaryTable = await table.summarize({ values: columns, outputTable: true });
2382
+ * ```
2383
+ *
2384
+ * @example
2385
+ * ```ts
2386
+ * // Summarize all columns and store the results in a new table named 'mySummary'
2387
+ * const columns = await table.getColumns();
2388
+ * const mySummaryTable = await table.summarize({ values: columns, outputTable: "mySummary" });
2389
+ * ```
2390
+ *
2391
+ * @example
2392
+ * ```ts
2393
+ * // Summarize a single column ('sales') with all available summary operations
2394
+ * await table.summarize({ values: "sales" });
2395
+ * ```
2396
+ *
2397
+ * @example
2398
+ * ```ts
2399
+ * // Summarize multiple columns ('sales' and 'profit') with all available summary operations
2400
+ * await table.summarize({ values: ["sales", "profit"] });
2401
+ * ```
2402
+ *
2403
+ * @example
2404
+ * ```ts
2405
+ * // Summarize 'sales' by 'region' (single category)
2406
+ * await table.summarize({ values: "sales", categories: "region" });
2407
+ * ```
2408
+ *
2409
+ * @example
2410
+ * ```ts
2411
+ * // Summarize 'sales' by 'region' and 'product_type' (multiple categories)
2412
+ * await table.summarize({ values: "sales", categories: ["region", "product_type"] });
2413
+ * ```
2414
+ *
2415
+ * @example
2416
+ * ```ts
2417
+ * // Summarize 'sales' by 'region' with a specific summary operation (mean)
2418
+ * await table.summarize({ values: "sales", categories: "region", summaries: "mean" });
2419
+ * ```
2420
+ *
2421
+ * @example
2422
+ * ```ts
2423
+ * // Summarize 'sales' by 'region' with specific summary operations (mean and sum)
2424
+ * await table.summarize({ values: "sales", categories: "region", summaries: ["mean", "sum"] });
2425
+ * ```
2426
+ *
2427
+ * @example
2428
+ * ```ts
2429
+ * // Summarize 'sales' by 'region' with custom named summary operations
2430
+ * await table.summarize({ values: "sales", categories: "region", summaries: { averageSales: "mean", totalSales: "sum" } });
2431
+ * ```
2432
+ *
2433
+ * @example
2434
+ * ```ts
2435
+ * // Summarize 'price' and 'cost', rounding aggregated values to 2 decimal places
2436
+ * await table.summarize({ values: ["price", "cost"], decimals: 2 });
2437
+ * ```
2438
+ *
2439
+ * @example
2440
+ * ```ts
2441
+ * // Summarize 'timestamp_column' by converting to milliseconds first
2442
+ * await table.summarize({ values: "timestamp_column", toMs: true, summaries: "mean" });
2443
+ * ```
2444
+ *
2445
+ * @example
2446
+ * ```ts
2447
+ * // Summarize a single column 'value_column' without the default 'value' column in the output
2448
+ * await table.summarize({ values: "value_column", noColumnValue: true });
2449
+ * ```
2450
+ */
2451
+ summarize(options?: {
2452
+ values?: string | string[];
2453
+ categories?: string | string[];
2454
+ summaries?: ("count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var") | ("count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var")[] | {
2455
+ [key: string]: "count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var";
2456
+ };
2457
+ decimals?: number;
2458
+ outputTable?: string | boolean;
2459
+ toMs?: boolean;
2460
+ noColumnValue?: boolean;
2461
+ }): Promise<this>;
2462
+ /**
2463
+ * Computes the cumulative sum of values in a column. For this method to work properly, ensure your data is sorted first.
2464
+ *
2465
+ * @param column - The name of the column storing the values to be accumulated.
2466
+ * @param newColumn - The name of the new column in which the computed cumulative values will be stored.
2467
+ * @param options - An optional object with configuration options:
2468
+ * @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.
2469
+ * @returns A promise that resolves when the cumulative sum has been computed.
2470
+ * @category Analyzing Data
2471
+ *
2472
+ * @example
2473
+ * ```ts
2474
+ * // Compute the cumulative sum of 'sales' in a new 'cumulativeSales' column
2475
+ * // Ensure the table is sorted by a relevant column (e.g., date) before calling this method.
2476
+ * await table.accumulate("sales", "cumulativeSales");
2477
+ * ```
2478
+ *
2479
+ * @example
2480
+ * ```ts
2481
+ * // Compute the cumulative sum of 'orders' within 'customer_id' categories
2482
+ * // Ensure the table is sorted by 'customer_id' and then by a relevant order column (e.g., order_date).
2483
+ * await table.accumulate("orders", "cumulativeOrders", { categories: "customer_id" });
2484
+ * ```
2485
+ *
2486
+ * @example
2487
+ * ```ts
2488
+ * // Compute the cumulative sum of 'revenue' within 'region' and 'product_category' categories
2489
+ * await table.accumulate("revenue", "cumulativeRevenue", { categories: ["region", "product_category"] });
2490
+ * ```
2491
+ */
2492
+ accumulate(column: string, newColumn: string, options?: {
2493
+ categories?: string | string[];
2494
+ }): Promise<void>;
2495
+ /**
2496
+ * Computes rolling aggregations (e.g., rolling average, min, max) over a specified column.
2497
+ * For rows without enough preceding or following rows to form a complete window, `NULL` will be returned.
2498
+ * For this method to work properly, ensure your data is sorted by the relevant column(s) first.
2499
+ *
2500
+ * @param column - The name of the column storing the values to be aggregated.
2501
+ * @param newColumn - The name of the new column in which the computed rolling values will be stored.
2502
+ * @param summary - The aggregation function to apply: `"min"`, `"max"`, `"mean"`, `"median"`, or `"sum"`.
2503
+ * @param preceding - The number of preceding rows to include in the rolling window.
2504
+ * @param following - The number of following rows to include in the rolling window.
2505
+ * @param options - An optional object with configuration options:
2506
+ * @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.
2507
+ * @param options.decimals - The number of decimal places to round the aggregated values. Defaults to `undefined` (no rounding).
2508
+ * @returns A promise that resolves when the rolling aggregation is complete.
2509
+ * @category Analyzing Data
2510
+ *
2511
+ * @example
2512
+ * ```ts
2513
+ * // Compute a 7-day rolling average of 'sales' with 3 preceding and 3 following rows
2514
+ * // (total window size of 7: 3 preceding + current + 3 following)
2515
+ * await table.rolling("sales", "rollingAvgSales", "mean", 3, 3);
2516
+ * ```
2517
+ *
2518
+ * @example
2519
+ * ```ts
2520
+ * // Compute a rolling sum of 'transactions' within 'customer_id' categories
2521
+ * await table.rolling("transactions", "rollingSumTransactions", "sum", 5, 0, { categories: "customer_id" });
2522
+ * ```
2523
+ *
2524
+ * @example
2525
+ * ```ts
2526
+ * // Compute a rolling maximum of 'temperature' rounded to 1 decimal place
2527
+ * await table.rolling("temperature", "rollingMaxTemp", "max", 2, 2, { decimals: 1 });
2528
+ * ```
2529
+ */
2530
+ rolling(column: string, newColumn: string, summary: "min" | "max" | "mean" | "median" | "sum", preceding: number, following: number, options?: {
2531
+ categories?: string | string[];
2532
+ decimals?: number;
2533
+ }): Promise<void>;
2534
+ /**
2535
+ * Calculates correlations between columns. If no `x` and `y` columns are specified, the method computes the correlations for all numeric column combinations.
2536
+ * Note that correlation is symmetrical: the correlation of `x` with `y` is the same as `y` with `x`.
2537
+ *
2538
+ * @param options - An optional object with configuration options:
2539
+ * @param options.x - The name of the column for the x-values. If omitted, correlations will be computed for all numeric columns.
2540
+ * @param options.y - The name of the column for the y-values. If omitted, correlations will be computed for all numeric columns.
2541
+ * @param options.categories - The column name or an array of column names that define categories. Correlation calculations will be performed independently for each category.
2542
+ * @param options.decimals - The number of decimal places to round the correlation values. Defaults to `undefined` (no rounding).
2543
+ * @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`.
2544
+ * @returns A promise that resolves to a table instance containing the correlation results (either the modified current table or a new table).
2545
+ * @category Analyzing Data
2546
+ *
2547
+ * @example
2548
+ * ```ts
2549
+ * // Compute correlations between all numeric columns, overwriting the current table
2550
+ * await table.correlations();
2551
+ * ```
2552
+ *
2553
+ * @example
2554
+ * ```ts
2555
+ * // Compute correlations between 'column1' and all other numeric columns
2556
+ * await table.correlations({ x: "column1" });
2557
+ * ```
2558
+ *
2559
+ * @example
2560
+ * ```ts
2561
+ * // Compute the correlation between 'column1' and 'column2'
2562
+ * await table.correlations({ x: "column1", y: "column2" });
2563
+ * ```
2564
+ *
2565
+ * @example
2566
+ * ```ts
2567
+ * // Compute correlations within 'categoryColumn' and store results in a new table
2568
+ * const correlationTable = await table.correlations({ categories: "categoryColumn", outputTable: true });
2569
+ * ```
2570
+ *
2571
+ * @example
2572
+ * ```ts
2573
+ * // Compute correlations, rounded to 2 decimal places
2574
+ * await table.correlations({ decimals: 2 });
2575
+ * ```
2576
+ */
2577
+ correlations(options?: {
2578
+ x?: string;
2579
+ y?: string;
2580
+ categories?: string | string[];
2581
+ decimals?: number;
2582
+ outputTable?: string | boolean;
2583
+ }): Promise<this>;
2584
+ /**
2585
+ * Performs linear regression analysis. The results include the slope, the y-intercept, and the R-squared value.
2586
+ * If no `x` and `y` columns are specified, the method computes linear regression analysis for all numeric column permutations.
2587
+ * Note that linear regression analysis is asymmetrical: the linear regression of `x` over `y` is not the same as `y` over `x`.
2588
+ *
2589
+ * @param options - An optional object with configuration options:
2590
+ * @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.
2591
+ * @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.
2592
+ * @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.
2593
+ * @param options.decimals - The number of decimal places to round the regression values (slope, intercept, r-squared). Defaults to `undefined` (no rounding).
2594
+ * @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`.
2595
+ * @returns A promise that resolves to a table instance containing the linear regression results (either the modified current table or a new table).
2596
+ * @category Analyzing Data
2597
+ *
2598
+ * @example
2599
+ * ```ts
2600
+ * // Compute all linear regressions between all numeric columns, overwriting the current table
2601
+ * await table.linearRegressions();
2602
+ * ```
2603
+ *
2604
+ * @example
2605
+ * ```ts
2606
+ * // Compute linear regressions with 'column1' as the independent variable and all other numeric columns as dependent variables
2607
+ * await table.linearRegressions({ x: "column1" });
2608
+ * ```
2609
+ *
2610
+ * @example
2611
+ * ```ts
2612
+ * // Compute the linear regression of 'sales' (y) over 'advertising' (x)
2613
+ * await table.linearRegressions({ x: "advertising", y: "sales" });
2614
+ * ```
2615
+ *
2616
+ * @example
2617
+ * ```ts
2618
+ * // Compute linear regressions within 'region' categories and store results in a new table
2619
+ * const regressionTable = await table.linearRegressions({ categories: "region", outputTable: true });
2620
+ * ```
2621
+ *
2622
+ * @example
2623
+ * ```ts
2624
+ * // Compute linear regressions, rounded to 3 decimal places
2625
+ * await table.linearRegressions({ decimals: 3 });
2626
+ * ```
2627
+ */
2628
+ linearRegressions(options?: {
2629
+ x?: string;
2630
+ y?: string;
2631
+ categories?: string | string[];
2632
+ decimals?: number;
2633
+ outputTable?: string | boolean;
2634
+ }): Promise<this>;
2635
+ /**
2636
+ * Identifies outliers in a specified column using the Interquartile Range (IQR) method.
2637
+ *
2638
+ * @param column - The name of the column in which outliers will be identified.
2639
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for outlier, `FALSE` otherwise) will be stored.
2640
+ * @param options - An optional object with configuration options:
2641
+ * @param options.categories - The column name or an array of column names that define categories. Outlier detection will be performed independently within each category.
2642
+ * @returns A promise that resolves when the outliers have been identified.
2643
+ * @category Analyzing Data
2644
+ *
2645
+ * @example
2646
+ * ```ts
2647
+ * // Look for outliers in the 'age' column and store results in a new 'isOutlier' column
2648
+ * await table.outliersIQR("age", "isOutlier");
2649
+ * ```
2650
+ *
2651
+ * @example
2652
+ * ```ts
2653
+ * // Look for outliers in 'salary' within 'gender' categories
2654
+ * await table.outliersIQR("salary", "salaryOutlier", { categories: "gender" });
2655
+ * ```
2656
+ */
2657
+ outliersIQR(column: string, newColumn: string, options?: {
2658
+ categories?: string | string[];
2659
+ }): Promise<void>;
2660
+ /**
2661
+ * Computes the Z-score for values in a specified column.
2662
+ *
2663
+ * @param column - The name of the column for which Z-scores will be calculated.
2664
+ * @param newColumn - The name of the new column where the computed Z-scores will be stored.
2665
+ * @param options - An optional object with configuration options:
2666
+ * @param options.categories - The column name or an array of column names that define categories. Z-scores will be calculated independently within each category.
2667
+ * @param options.decimals - The number of decimal places to round the Z-score values. Defaults to `undefined` (no rounding).
2668
+ * @returns A promise that resolves when the Z-scores have been computed.
2669
+ * @category Analyzing Data
2670
+ *
2671
+ * @example
2672
+ * ```ts
2673
+ * // Calculate the Z-score for 'age' values and store results in a new 'ageZScore' column
2674
+ * await table.zScore("age", "ageZScore");
2675
+ * ```
2676
+ *
2677
+ * @example
2678
+ * ```ts
2679
+ * // Calculate Z-scores for 'salary' within 'department' categories
2680
+ * await table.zScore("salary", "salaryZScore", { categories: "department" });
2681
+ * ```
2682
+ *
2683
+ * @example
2684
+ * ```ts
2685
+ * // Calculate Z-scores for 'score', rounded to 2 decimal places
2686
+ * await table.zScore("score", "scoreZScore", { decimals: 2 });
2687
+ * ```
2688
+ */
2689
+ zScore(column: string, newColumn: string, options?: {
2690
+ categories?: string | string[];
2691
+ decimals?: number;
2692
+ }): Promise<void>;
2693
+ /**
2694
+ * Normalizes the values in a column using min-max normalization.
2695
+ *
2696
+ * @param column - The name of the column in which values will be normalized.
2697
+ * @param newColumn - The name of the new column where normalized values will be stored.
2698
+ * @param options - An optional object with configuration options:
2699
+ * @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.
2700
+ * @param options.decimals - The number of decimal places to round the normalized values. Defaults to `undefined` (no rounding).
2701
+ * @returns A promise that resolves when the values have been normalized.
2702
+ * @category Analyzing Data
2703
+ *
2704
+ * @example
2705
+ * ```ts
2706
+ * // Normalize the values in 'column1' and store them in a new 'normalizedColumn1' column
2707
+ * await table.normalize("column1", "normalizedColumn1");
2708
+ * ```
2709
+ *
2710
+ * @example
2711
+ * ```ts
2712
+ * // Normalize 'value' within 'group' categories
2713
+ * await table.normalize("value", "normalizedValue", { categories: "group" });
2714
+ * ```
2715
+ *
2716
+ * @example
2717
+ * ```ts
2718
+ * // Normalize 'data' values, rounded to 2 decimal places
2719
+ * await table.normalize("data", "normalizedData", { decimals: 2 });
2720
+ * ```
2721
+ */
2722
+ normalize(column: string, newColumn: string, options?: {
2723
+ categories?: string | string[];
2724
+ decimals?: number;
2725
+ }): Promise<void>;
2726
+ /**
2727
+ * 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.
2728
+ * This method offers high flexibility for data manipulation but can be slow for large tables as it involves transferring data between DuckDB and JavaScript.
2729
+ * This method does not work with tables containing geometries.
2730
+ *
2731
+ * @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).
2732
+ * @returns A promise that resolves when the data has been updated.
2733
+ * @category Updating Data
2734
+ *
2735
+ * @example
2736
+ * ```ts
2737
+ * // Add 1 to values in 'column1'. If values are not numbers, they are replaced by null.
2738
+ * await table.updateWithJS((rows) => {
2739
+ * const modifiedRows = rows.map(d => ({
2740
+ * ...d,
2741
+ * column1: typeof d.column1 === "number" ? d.column1 + 1 : null,
2742
+ * }));
2743
+ * return modifiedRows;
2744
+ * });
2745
+ * ```
2746
+ *
2747
+ * @example
2748
+ * ```ts
2749
+ * // Convert a date string to a Date object in 'dateColumn'
2750
+ * await table.updateWithJS((rows) => {
2751
+ * const modifiedRows = rows.map(d => ({
2752
+ * ...d,
2753
+ * dateColumn: typeof d.dateColumn === "string" ? new Date(d.dateColumn) : d.dateColumn,
2754
+ * }));
2755
+ * return modifiedRows;
2756
+ * });
2757
+ * ```
2758
+ */
2759
+ updateWithJS(dataModifier: ((rows: {
2760
+ [key: string]: number | string | Date | boolean | null;
2761
+ }[]) => Promise<{
2762
+ [key: string]: number | string | Date | boolean | null;
2763
+ }[]>) | ((rows: {
2764
+ [key: string]: number | string | Date | boolean | null;
2765
+ }[]) => {
2766
+ [key: string]: number | string | Date | boolean | null;
2767
+ }[])): Promise<void>;
2768
+ /**
2769
+ * Returns the schema of the table, including column names and their data types.
2770
+ *
2771
+ * @returns A promise that resolves to an array of objects, where each object represents a column with its name and data type.
2772
+ * @category Getting Data
2773
+ *
2774
+ * @example
2775
+ * ```ts
2776
+ * // Get the schema of the table
2777
+ * const schema = await table.getSchema();
2778
+ * console.table(schema); // Log the schema in a readable table format
2779
+ * ```
2780
+ */
2781
+ getSchema(): Promise<{
2782
+ [key: string]: string | null;
2783
+ }[]>;
2784
+ /**
2785
+ * Returns descriptive statistical information about the columns, including details like data types, number of null values, and distinct values.
2786
+ *
2787
+ * @returns A promise that resolves to an array of objects, each representing descriptive statistics for a column.
2788
+ * @category Getting Data
2789
+ *
2790
+ * @example
2791
+ * ```ts
2792
+ * // Get and log descriptive information about the table's columns
2793
+ * const description = await table.getDescription();
2794
+ * console.table(description);
2795
+ * ```
2796
+ */
2797
+ getDescription(): Promise<{
2798
+ [key: string]: unknown;
2799
+ }[]>;
2800
+ /**
2801
+ * Returns the name of the table.
2802
+ *
2803
+ * @returns The name of the table as a string.
2804
+ * @category Getting Data
2805
+ *
2806
+ * @example
2807
+ * ```ts
2808
+ * // Get the table name
2809
+ * const tableName = table.getTableName();
2810
+ * console.log(tableName); // e.g., "employees"
2811
+ * ```
2812
+ */
2813
+ getTableName(): string;
2814
+ /**
2815
+ * Returns a list of all column names in the table.
2816
+ *
2817
+ * @returns A promise that resolves to an array of strings, where each string is a column name.
2818
+ * @category Getting Data
2819
+ *
2820
+ * @example
2821
+ * ```ts
2822
+ * // Get all column names from the table
2823
+ * const columns = await table.getColumns();
2824
+ * console.log(columns); // e.g., ["id", "name", "age"]
2825
+ * ```
2826
+ */
2827
+ getColumns(): Promise<string[]>;
2828
+ /**
2829
+ * Normalizes string values in a column by:
2830
+ * 1. Stripping accents
2831
+ * 2. Optionally stripping punctuation (default: true)
2832
+ * 3. Converting to lowercase
2833
+ * 4. Normalizing whitespace (multiple spaces/tabs/newlines → single space)
2834
+ * 5. Trimming leading/trailing whitespace
2835
+ *
2836
+ * Produces identical output to `journalism-format`'s `normalizeString()` function
2837
+ * for all common cases including accented Latin characters.
2838
+ *
2839
+ * @param column The column containing the text to normalize
2840
+ * @param newColumn The column to store the normalized results
2841
+ * @param options Configuration options
2842
+ * @param options.stripPunctuation Strip punctuation and underscores (default: true)
2843
+ *
2844
+ * @returns A promise that resolves when the operation is complete
2845
+ *
2846
+ * @example
2847
+ * ```ts
2848
+ * // Normalize text column and store in new column
2849
+ * await table.normalizeString("recipeName", "recipeNameNormalized");
2850
+ * // "Épicerie Parisienne!" → "epicerie parisienne"
2851
+ * ```
2852
+ *
2853
+ * @example
2854
+ * ```ts
2855
+ * // Keep punctuation for emails and URLs
2856
+ * await table.normalizeString("email", "emailNormalized", { stripPunctuation: false });
2857
+ * // "User@Example.com" → "user@example.com"
2858
+ * await table.normalizeString("url", "urlNormalized", { stripPunctuation: false });
2859
+ * // "https://Example.com/path" → "https://example.com/path"
2860
+ * ```
2861
+ *
2862
+ * @category Text Processing
2863
+ */
2864
+ normalizeString(column: string, newColumn: string, options?: {
2865
+ stripPunctuation?: boolean;
2866
+ }): Promise<void>;
2867
+ /**
2868
+ * Returns the number of columns in the table.
2869
+ *
2870
+ * @returns A promise that resolves to a number representing the total count of columns.
2871
+ * @category Getting Data
2872
+ *
2873
+ * @example
2874
+ * ```ts
2875
+ * // Get the number of columns in the table
2876
+ * const nbColumns = await table.getNbColumns();
2877
+ * console.log(nbColumns); // e.g., 3
2878
+ * ```
2879
+ */
2880
+ getNbColumns(): Promise<number>;
2881
+ /**
2882
+ * Returns the total number of characters in a column storing strings.
2883
+ *
2884
+ * @param column - The name of the string column to count characters from.
2885
+ * @returns A promise that resolves to the total number of characters across all rows in the specified column.
2886
+ * @category Getting Data
2887
+ *
2888
+ * @example
2889
+ * ```ts
2890
+ * // Get the total number of characters in the 'name' column
2891
+ * const totalChars = await table.getNbCharacters("name");
2892
+ * console.log(totalChars); // e.g., 523
2893
+ * ```
2894
+ */
2895
+ getNbCharacters(column: string): Promise<number>;
2896
+ /**
2897
+ * Returns the number of rows in the table.
2898
+ *
2899
+ * @param options - An optional object with configuration options:
2900
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
2901
+ * @returns A promise that resolves to a number representing the total count of rows.
2902
+ * @category Getting Data
2903
+ *
2904
+ * @example
2905
+ * ```ts
2906
+ * // Get the number of rows in the table
2907
+ * const nbRows = await table.getNbRows();
2908
+ * console.log(nbRows); // e.g., 100
2909
+ * ```
2910
+ *
2911
+ * @example
2912
+ * ```ts
2913
+ * // Get the number of rows where 'category' is 'Book'
2914
+ * const nbBooks = await table.getNbRows({ conditions: "category = 'Book'" });
2915
+ * console.log(nbBooks);
2916
+ * ```
2917
+ */
2918
+ getNbRows(options?: {
2919
+ conditions?: string;
2920
+ }): Promise<number>;
2921
+ /**
2922
+ * Returns the total number of values in the table (number of columns multiplied by the number of rows).
2923
+ *
2924
+ * @returns A promise that resolves to a number representing the total count of values.
2925
+ * @category Getting Data
2926
+ *
2927
+ * @example
2928
+ * ```ts
2929
+ * // Get the total number of values in the table
2930
+ * const nbValues = await table.getNbValues();
2931
+ * console.log(nbValues); // e.g., 300 (if 3 columns and 100 rows)
2932
+ * ```
2933
+ */
2934
+ getNbValues(): Promise<number>;
2935
+ /**
2936
+ * Returns the data types of all columns in the table.
2937
+ *
2938
+ * @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" }`).
2939
+ * @category Getting Data
2940
+ *
2941
+ * @example
2942
+ * ```ts
2943
+ * // Get the data types of all columns
2944
+ * const dataTypes = await table.getTypes();
2945
+ * console.log(dataTypes);
2946
+ * ```
2947
+ */
2948
+ getTypes(): Promise<{
2949
+ [key: string]: string;
2950
+ }>;
2951
+ /**
2952
+ * Returns all values from a specific column.
2953
+ *
2954
+ * @param column - The name of the column from which to retrieve values.
2955
+ * @returns A promise that resolves to an array containing all values from the specified column.
2956
+ * @category Getting Data
2957
+ *
2958
+ * @example
2959
+ * ```ts
2960
+ * // Get all values from the 'productName' column
2961
+ * const productNames = await table.getValues("productName");
2962
+ * console.log(productNames); // e.g., ["Laptop", "Mouse", "Keyboard"]
2963
+ * ```
2964
+ */
2965
+ getValues(column: string): Promise<(string | number | boolean | Date | null)[]>;
2966
+ /**
2967
+ * Returns the minimum value from a specific column.
2968
+ *
2969
+ * @param column - The name of the column from which to retrieve the minimum value.
2970
+ * @returns A promise that resolves to the minimum value of the specified column.
2971
+ * @category Getting Data
2972
+ *
2973
+ * @example
2974
+ * ```ts
2975
+ * // Get the minimum value from the 'price' column
2976
+ * const minPrice = await table.getMin("price");
2977
+ * console.log(minPrice); // e.g., 10.50
2978
+ * ```
2979
+ */
2980
+ getMin(column: string): Promise<string | number | boolean | Date | null>;
2981
+ /**
2982
+ * Returns the maximum value from a specific column.
2983
+ *
2984
+ * @param column - The name of the column from which to retrieve the maximum value.
2985
+ * @returns A promise that resolves to the maximum value of the specified column.
2986
+ * @category Getting Data
2987
+ *
2988
+ * @example
2989
+ * ```ts
2990
+ * // Get the maximum value from the 'price' column
2991
+ * const maxPrice = await table.getMax("price");
2992
+ * console.log(maxPrice); // e.g., 99.99
2993
+ * ```
2994
+ */
2995
+ getMax(column: string): Promise<string | number | boolean | Date | null>;
2996
+ /**
2997
+ * Returns the extent (minimum and maximum values) of a specific column as an array.
2998
+ *
2999
+ * @param column - The name of the column from which to retrieve the extent.
3000
+ * @returns A promise that resolves to an array `[min, max]` containing the minimum and maximum values of the specified column.
3001
+ * @category Getting Data
3002
+ *
3003
+ * @example
3004
+ * ```ts
3005
+ * // Get the extent of the 'temperature' column
3006
+ * const tempExtent = await table.getExtent("temperature");
3007
+ * console.log(tempExtent); // e.g., [15.2, 30.1]
3008
+ * ```
3009
+ */
3010
+ getExtent(column: string): Promise<[
3011
+ string | number | boolean | Date | null,
3012
+ string | number | boolean | Date | null
3013
+ ]>;
3014
+ /**
3015
+ * Returns the mean (average) value from a specific numeric column.
3016
+ *
3017
+ * @param column - The name of the numeric column from which to retrieve the mean value.
3018
+ * @param options - An optional object with configuration options:
3019
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3020
+ * @returns A promise that resolves to the mean value of the specified column.
3021
+ * @category Getting Data
3022
+ *
3023
+ * @example
3024
+ * ```ts
3025
+ * // Get the mean of the 'age' column
3026
+ * const meanAge = await table.getMean("age");
3027
+ * console.log(meanAge); // e.g., 35.75
3028
+ * ```
3029
+ *
3030
+ * @example
3031
+ * ```ts
3032
+ * // Get the mean of the 'salary' column, rounded to 2 decimal places
3033
+ * const meanSalary = await table.getMean("salary", { decimals: 2 });
3034
+ * console.log(meanSalary); // e.g., 55000.23
3035
+ * ```
3036
+ */
3037
+ getMean(column: string, options?: {
3038
+ decimals?: number;
3039
+ }): Promise<number>;
3040
+ /**
3041
+ * Returns the median value from a specific numeric column.
3042
+ *
3043
+ * @param column - The name of the numeric column from which to retrieve the median value.
3044
+ * @param options - An optional object with configuration options:
3045
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3046
+ * @returns A promise that resolves to the median value of the specified column.
3047
+ * @category Getting Data
3048
+ *
3049
+ * @example
3050
+ * ```ts
3051
+ * // Get the median of the 'age' column
3052
+ * const medianAge = await table.getMedian("age");
3053
+ * console.log(medianAge); // e.g., 30
3054
+ * ```
3055
+ *
3056
+ * @example
3057
+ * ```ts
3058
+ * // Get the median of the 'salary' column, rounded to 2 decimal places
3059
+ * const medianSalary = await table.getMedian("salary", { decimals: 2 });
3060
+ * console.log(medianSalary); // e.g., 50000.00
3061
+ * ```
3062
+ */
3063
+ getMedian(column: string, options?: {
3064
+ decimals?: number;
3065
+ }): Promise<number>;
3066
+ /**
3067
+ * Returns the sum of values from a specific numeric column.
3068
+ *
3069
+ * @param column - The name of the numeric column from which to retrieve the sum.
3070
+ * @returns A promise that resolves to the sum of values in the specified column.
3071
+ * @category Getting Data
3072
+ *
3073
+ * @example
3074
+ * ```ts
3075
+ * // Get the sum of the 'quantity' column
3076
+ * const totalQuantity = await table.getSum("quantity");
3077
+ * console.log(totalQuantity); // e.g., 1250
3078
+ * ```
3079
+ */
3080
+ getSum(column: string): Promise<number>;
3081
+ /**
3082
+ * Returns the skewness of values from a specific numeric column.
3083
+ *
3084
+ * @param column - The name of the numeric column from which to retrieve the skewness.
3085
+ * @param options - An optional object with configuration options:
3086
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3087
+ * @returns A promise that resolves to the skewness value of the specified column.
3088
+ * @category Getting Data
3089
+ *
3090
+ * @example
3091
+ * ```ts
3092
+ * // Get the skewness of the 'data' column
3093
+ * const dataSkew = await table.getSkew("data");
3094
+ * console.log(dataSkew); // e.g., 0.5
3095
+ * ```
3096
+ *
3097
+ * @example
3098
+ * ```ts
3099
+ * // Get the skewness of the 'values' column, rounded to 2 decimal places
3100
+ * const valuesSkew = await table.getSkew("values", { decimals: 2 });
3101
+ * console.log(valuesSkew); // e.g., -0.25
3102
+ * ```
3103
+ */
3104
+ getSkew(column: string, options?: {
3105
+ decimals?: number;
3106
+ }): Promise<number>;
3107
+ /**
3108
+ * Returns the standard deviation of values from a specific numeric column.
3109
+ *
3110
+ * @param column - The name of the numeric column from which to retrieve the standard deviation.
3111
+ * @param options - An optional object with configuration options:
3112
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3113
+ * @returns A promise that resolves to the standard deviation value of the specified column.
3114
+ * @category Getting Data
3115
+ *
3116
+ * @example
3117
+ * ```ts
3118
+ * // Get the standard deviation of the 'height' column
3119
+ * const heightStdDev = await table.getStdDev("height");
3120
+ * console.log(heightStdDev); // e.g., 5.2
3121
+ * ```
3122
+ *
3123
+ * @example
3124
+ * ```ts
3125
+ * // Get the standard deviation of the 'score' column, rounded to 3 decimal places
3126
+ * const scoreStdDev = await table.getStdDev("score", { decimals: 3 });
3127
+ * console.log(scoreStdDev); // e.g., 12.345
3128
+ * ```
3129
+ */
3130
+ getStdDev(column: string, options?: {
3131
+ decimals?: number;
3132
+ }): Promise<number>;
3133
+ /**
3134
+ * Returns the variance of values from a specific numeric column.
3135
+ *
3136
+ * @param column - The name of the numeric column from which to retrieve the variance.
3137
+ * @param options - An optional object with configuration options:
3138
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3139
+ * @returns A promise that resolves to the variance value of the specified column.
3140
+ * @category Getting Data
3141
+ *
3142
+ * @example
3143
+ * ```ts
3144
+ * // Get the variance of the 'data' column
3145
+ * const dataVariance = await table.getVar("data");
3146
+ * console.log(dataVariance); // e.g., 25.5
3147
+ * ```
3148
+ *
3149
+ * @example
3150
+ * ```ts
3151
+ * // Get the variance of the 'values' column, rounded to 2 decimal places
3152
+ * const valuesVariance = await table.getVar("values", { decimals: 2 });
3153
+ * console.log(valuesVariance); // e.g., 10.23
3154
+ * ```
3155
+ */
3156
+ getVar(column: string, options?: {
3157
+ decimals?: number;
3158
+ }): Promise<number>;
3159
+ /**
3160
+ * Returns the value of a specific quantile from the values in a given numeric column.
3161
+ *
3162
+ * @param column - The name of the numeric column from which to calculate the quantile.
3163
+ * @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).
3164
+ * @param options - An optional object with configuration options:
3165
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3166
+ * @returns A promise that resolves to the quantile value of the specified column.
3167
+ * @category Getting Data
3168
+ *
3169
+ * @example
3170
+ * ```ts
3171
+ * // Get the first quartile (25th percentile) of 'column1'
3172
+ * const firstQuartile = await table.getQuantile("column1", 0.25);
3173
+ * console.log(firstQuartile); // e.g., 15.7
3174
+ * ```
3175
+ *
3176
+ * @example
3177
+ * ```ts
3178
+ * // Get the 90th percentile of 'score' values, rounded to 2 decimal places
3179
+ * const ninetiethPercentile = await table.getQuantile("score", 0.9, { decimals: 2 });
3180
+ * console.log(ninetiethPercentile); // e.g., 88.55
3181
+ * ```
3182
+ */
3183
+ getQuantile(column: string, quantile: number, options?: {
3184
+ decimals?: number;
3185
+ }): Promise<number>;
3186
+ /**
3187
+ * Returns unique values from a specific column. The values are returned in ascending order.
3188
+ *
3189
+ * @param column - The name of the column from which to retrieve unique values.
3190
+ * @returns A promise that resolves to an array containing the unique values from the specified column, sorted in ascending order.
3191
+ * @category Getting Data
3192
+ *
3193
+ * @example
3194
+ * ```ts
3195
+ * // Get unique values from the 'category' column
3196
+ * const uniqueCategories = await table.getUniques("category");
3197
+ * console.log(uniqueCategories); // e.g., ["Books", "Clothing", "Electronics"]
3198
+ * ```
3199
+ */
3200
+ getUniques(column: string): Promise<(string | number | boolean | Date | null)[]>;
3201
+ /**
3202
+ * Returns the first row of the table, optionally filtered by SQL conditions.
3203
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3204
+ *
3205
+ * @param options - An optional object with configuration options:
3206
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3207
+ * @returns A promise that resolves to an object representing the first row, or `null` if no rows match the conditions.
3208
+ * @category Getting Data
3209
+ *
3210
+ * @example
3211
+ * ```ts
3212
+ * // Get the very first row of the table
3213
+ * const firstRow = await table.getFirstRow();
3214
+ * console.log(firstRow);
3215
+ * ```
3216
+ *
3217
+ * @example
3218
+ * ```ts
3219
+ * // Get the first row where the 'category' is 'Book'
3220
+ * const firstRowBooks = await table.getFirstRow({ conditions: `category === 'Book'` }); // Using JS syntax
3221
+ * console.log(firstRowBooks);
3222
+ * ```
3223
+ */
3224
+ getFirstRow(options?: {
3225
+ conditions?: string;
3226
+ }): Promise<{
3227
+ [key: string]: string | number | boolean | Date | null;
3228
+ }>;
3229
+ /**
3230
+ * Returns the last row of the table, optionally filtered by SQL conditions.
3231
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3232
+ *
3233
+ * @param options - An optional object with configuration options:
3234
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3235
+ * @returns A promise that resolves to an object representing the last row, or `null` if no rows match the conditions.
3236
+ * @category Getting Data
3237
+ *
3238
+ * @example
3239
+ * ```ts
3240
+ * // Get the very last row of the table
3241
+ * const lastRow = await table.getLastRow();
3242
+ * console.log(lastRow);
3243
+ * ```
3244
+ *
3245
+ * @example
3246
+ * ```ts
3247
+ * // Get the last row where the 'category' is 'Book'
3248
+ * const lastRowBooks = await table.getLastRow({ conditions: `category === 'Book'` }); // Using JS syntax
3249
+ * console.log(lastRowBooks);
3250
+ * ```
3251
+ */
3252
+ getLastRow(options?: {
3253
+ conditions?: string;
3254
+ }): Promise<{
3255
+ [key: string]: string | number | boolean | Date | null;
3256
+ }>;
3257
+ /**
3258
+ * Returns the top `n` rows of the table, optionally filtered by SQL conditions.
3259
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3260
+ *
3261
+ * @param count - The number of rows to return from the top of the table.
3262
+ * @param options - An optional object with configuration options:
3263
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Books'"`).
3264
+ * @returns A promise that resolves to an array of objects representing the top `n` rows.
3265
+ * @category Getting Data
3266
+ *
3267
+ * @example
3268
+ * ```ts
3269
+ * // Get the first 10 rows of the table
3270
+ * const top10 = await table.getTop(10);
3271
+ * console.log(top10);
3272
+ * ```
3273
+ *
3274
+ * @example
3275
+ * ```ts
3276
+ * // Get the first 5 rows where the 'category' is 'Books'
3277
+ * const top5Books = await table.getTop(5, { conditions: `category === 'Books'` }); // Using JS syntax
3278
+ * console.log(top5Books);
3279
+ * ```
3280
+ */
3281
+ getTop(count: number, options?: {
3282
+ conditions?: string;
3283
+ }): Promise<{
3284
+ [key: string]: string | number | boolean | Date | null;
3285
+ }[]>;
3286
+ /**
3287
+ * Returns the bottom `n` rows of the table, optionally filtered by SQL conditions.
3288
+ * By default, the last row will be returned first. To preserve the original order, use the `originalOrder` option.
3289
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3290
+ *
3291
+ * @param count - The number of rows to return from the bottom of the table.
3292
+ * @param options - An optional object with configuration options:
3293
+ * @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`.
3294
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Books'"`).
3295
+ * @returns A promise that resolves to an array of objects representing the bottom `n` rows.
3296
+ * @category Getting Data
3297
+ *
3298
+ * @example
3299
+ * ```ts
3300
+ * // Get the last 10 rows (last row first)
3301
+ * const bottom10 = await table.getBottom(10);
3302
+ * console.log(bottom10);
3303
+ * ```
3304
+ *
3305
+ * @example
3306
+ * ```ts
3307
+ * // Get the last 10 rows in their original order
3308
+ * const bottom10OriginalOrder = await table.getBottom(10, { originalOrder: true });
3309
+ * console.log(bottom10OriginalOrder);
3310
+ * ```
3311
+ *
3312
+ * @example
3313
+ * ```ts
3314
+ * // Get the last 5 rows where the 'category' is 'Books' (using JS syntax)
3315
+ * const bottom5Books = await table.getBottom(5, { conditions: `category === 'Books'` });
3316
+ * console.log(bottom5Books);
3317
+ * ```
3318
+ */
3319
+ getBottom(count: number, options?: {
3320
+ originalOrder?: boolean;
3321
+ conditions?: string;
3322
+ }): Promise<{
3323
+ [key: string]: string | number | boolean | Date | null;
3324
+ }[]>;
3325
+ /**
3326
+ * 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.
3327
+ * You can also use JavaScript syntax for conditions (e.g., `AND`, `||`, `===`, `!==`).
3328
+ *
3329
+ * @param conditions - The conditions to match, specified as a SQL `WHERE` clause.
3330
+ * @param options - Optional settings:
3331
+ * @param options.noCheck - If `true`, no error will be thrown when no row or more than one row match the condition. Defaults to `false`.
3332
+ * @returns A promise that resolves to an object representing the matched row.
3333
+ * @throws {Error} If `noCheck` is `false` and no row or more than one row matches the conditions.
3334
+ * @category Getting Data
3335
+ *
3336
+ * @example
3337
+ * ```ts
3338
+ * // Get a row where 'name' is 'John'
3339
+ * const johnsRow = await table.getRow(`name = 'John'`);
3340
+ * console.log(johnsRow);
3341
+ * ```
3342
+ *
3343
+ * @example
3344
+ * ```ts
3345
+ * // Get a row where 'id' is 123 (using JS syntax)
3346
+ * const rowById = await table.getRow(`id === 123`);
3347
+ * console.log(rowById);
3348
+ * ```
3349
+ *
3350
+ * @example
3351
+ * ```ts
3352
+ * // Get a row without throwing an error if multiple matches or no match
3353
+ * const flexibleRow = await table.getRow(`status = 'pending'`, { noCheck: true });
3354
+ * console.log(flexibleRow);
3355
+ * ```
3356
+ */
3357
+ getRow(conditions: string, options?: {
3358
+ noCheck?: boolean;
3359
+ }): Promise<{
3360
+ [key: string]: string | number | boolean | Date | null;
3361
+ } | undefined>;
3362
+ /**
3363
+ * Returns the data from the table as an array of objects, optionally filtered by SQL conditions.
3364
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3365
+ *
3366
+ * @param options - An optional object with configuration options:
3367
+ * @param options.columns - An array of column names to include in the result. If omitted, all columns will be included.
3368
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3369
+ * @returns A promise that resolves to an array of objects, where each object represents a row in the table.
3370
+ * @category Getting Data
3371
+ *
3372
+ * @example
3373
+ * ```ts
3374
+ * // Get all data from the table
3375
+ * const allData = await table.getData();
3376
+ * console.log(allData);
3377
+ * ```
3378
+ *
3379
+ * @example
3380
+ * ```ts
3381
+ * // Get data filtered by a condition (using JS or SQL syntax)
3382
+ * const booksData = await table.getData({ conditions: `category === 'Book'` });
3383
+ * console.log(booksData);
3384
+ * ```
3385
+ *
3386
+ * @example
3387
+ * ```ts
3388
+ * // Get data filtered by a condition and specific columns
3389
+ * const booksData = await table.getData({ columns: ["title", "author"], conditions: `category === 'Book'` });
3390
+ * console.log(booksData);
3391
+ * ```
3392
+ */
3393
+ getData(options?: {
3394
+ columns?: string | string[];
3395
+ conditions?: string;
3396
+ }): Promise<{
3397
+ [key: string]: string | number | boolean | Date | null;
3398
+ }[]>;
3399
+ /**
3400
+ * Returns the data from the table as a CSV string, optionally filtered by SQL conditions.
3401
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3402
+ *
3403
+ * @param options - An optional object with configuration options:
3404
+ * @param options.columns - An array of column names to include in the CSV. If omitted, all columns will be included.
3405
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3406
+ * @returns A promise that resolves to a CSV-formatted string representation of the table data.
3407
+ * @category Getting Data
3408
+ *
3409
+ * @example
3410
+ * ```ts
3411
+ * // Get all data from the table as CSV
3412
+ * const allDataCSV = await table.getDataAsCSV();
3413
+ * console.log(allDataCSV);
3414
+ * ```
3415
+ *
3416
+ * @example
3417
+ * ```ts
3418
+ * // Get data filtered by a condition (using JS syntax or SQL syntax) as CSV
3419
+ * const booksDataCSV = await table.getDataAsCSV({ conditions: `category === 'Book'` });
3420
+ * console.log(booksDataCSV);
3421
+ * ```
3422
+ *
3423
+ * @example
3424
+ * ```ts
3425
+ * // Get data filtered by a condition and specific columns as CSV
3426
+ * const booksDataCSV = await table.getDataAsCSV({ columns: ["title", "author"], conditions: `category === 'Book'` });
3427
+ * console.log(booksDataCSV);
3428
+ * ```
3429
+ */
3430
+ getDataAsCSV(options?: {
3431
+ columns?: string | string[];
3432
+ conditions?: string;
3433
+ }): Promise<string>;
3434
+ /**
3435
+ * Creates point geometries from longitude and latitude columns. The geometries will have `[latitude, longitude]` axis order.
3436
+ *
3437
+ * @param columnLat - The name of the column storing the latitude values.
3438
+ * @param columnLon - The name of the column storing the longitude values.
3439
+ * @param newColumn - The name of the new column where the point geometries will be stored.
3440
+ * @returns A promise that resolves when the point geometries have been created.
3441
+ * @category Geospatial
3442
+ *
3443
+ * @example
3444
+ * ```ts
3445
+ * // Create point geometries in a new 'geom' column using 'lat' and 'lon' columns
3446
+ * await table.points("lat", "lon", "geom");
3447
+ * ```
3448
+ */
3449
+ points(columnLat: string, columnLon: string, newColumn: string): Promise<void>;
3450
+ /**
3451
+ * Adds a column with boolean values indicating the validity of geometries.
3452
+ *
3453
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for valid, `FALSE` for invalid) will be stored.
3454
+ * @param options - An optional object with configuration options:
3455
+ * @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.
3456
+ * @returns A promise that resolves when the validity check is complete.
3457
+ * @category Geospatial
3458
+ *
3459
+ * @example
3460
+ * ```ts
3461
+ * // Check if geometries are valid and store results in a new 'isValid' column
3462
+ * // The method will automatically detect the geometry column.
3463
+ * await table.isValidGeo("isValid");
3464
+ * ```
3465
+ *
3466
+ * @example
3467
+ * ```ts
3468
+ * // Check validity of geometries in a specific column named 'myGeom'
3469
+ * await table.isValidGeo("isValidMyGeom", { column: "myGeom" });
3470
+ * ```
3471
+ */
3472
+ isValidGeo(newColumn: string, options?: {
3473
+ column?: string;
3474
+ }): Promise<void>;
3475
+ /**
3476
+ * Adds a column with the number of vertices (points) in each geometry.
3477
+ *
3478
+ * @param newColumn - The name of the new column where the vertex counts will be stored.
3479
+ * @param options - An optional object with configuration options:
3480
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3481
+ * @returns A promise that resolves when the vertex counts have been added.
3482
+ * @category Geospatial
3483
+ *
3484
+ * @example
3485
+ * ```ts
3486
+ * // Add a new column 'vertexCount' with the number of vertices for each geometry
3487
+ * // The method will automatically detect the geometry column.
3488
+ * await table.nbVertices("vertexCount");
3489
+ * ```
3490
+ *
3491
+ * @example
3492
+ * ```ts
3493
+ * // Add vertex counts for geometries in a specific column named 'myGeom'
3494
+ * await table.nbVertices("myGeomVertices", { column: "myGeom" });
3495
+ * ```
3496
+ */
3497
+ nbVertices(newColumn: string, options?: {
3498
+ column?: string;
3499
+ }): Promise<void>;
3500
+ /**
3501
+ * Attempts to make invalid geometries valid without removing any vertices.
3502
+ *
3503
+ * @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.
3504
+ * @returns A promise that resolves when the geometries have been processed.
3505
+ * @category Geospatial
3506
+ *
3507
+ * @example
3508
+ * ```ts
3509
+ * // Fix invalid geometries in the default geometry column
3510
+ * await table.fixGeo();
3511
+ * ```
3512
+ *
3513
+ * @example
3514
+ * ```ts
3515
+ * // Fix invalid geometries in a specific column named 'myGeom'
3516
+ * await table.fixGeo("myGeom");
3517
+ * ```
3518
+ */
3519
+ fixGeo(column?: string): Promise<void>;
3520
+ /**
3521
+ * Adds a column with boolean values indicating whether geometries are closed (e.g., polygons) or open (e.g., linestrings).
3522
+ *
3523
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for closed, `FALSE` for open) will be stored.
3524
+ * @param options - An optional object with configuration options:
3525
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3526
+ * @returns A promise that resolves when the closed geometry check is complete.
3527
+ * @category Geospatial
3528
+ *
3529
+ * @example
3530
+ * ```ts
3531
+ * // Check if geometries are closed and store results in a new 'isClosed' column
3532
+ * await table.isClosedGeo("isClosed");
3533
+ * ```
3534
+ *
3535
+ * @example
3536
+ * ```ts
3537
+ * // Check closed status of geometries in a specific column named 'boundaryGeom'
3538
+ * await table.isClosedGeo("boundaryClosed", { column: "boundaryGeom" });
3539
+ * ```
3540
+ */
3541
+ isClosedGeo(newColumn: string, options?: {
3542
+ column?: string;
3543
+ }): Promise<void>;
3544
+ /**
3545
+ * Adds a column with the geometry type (e.g., `"POINT"`, `"LINESTRING"`, `"POLYGON"`) for each geometry.
3546
+ *
3547
+ * @param newColumn - The name of the new column where the geometry types will be stored.
3548
+ * @param options - An optional object with configuration options:
3549
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3550
+ * @returns A promise that resolves when the geometry types have been added.
3551
+ * @category Geospatial
3552
+ *
3553
+ * @example
3554
+ * ```ts
3555
+ * // Add a new column 'geometryType' with the type of each geometry
3556
+ * await table.typeGeo("geometryType");
3557
+ * ```
3558
+ *
3559
+ * @example
3560
+ * ```ts
3561
+ * // Get the geometry type for geometries in a specific column named 'featureGeom'
3562
+ * await table.typeGeo("featureType", { column: "featureGeom" });
3563
+ * ```
3564
+ */
3565
+ typeGeo(newColumn: string, options?: {
3566
+ column?: string;
3567
+ }): Promise<void>;
3568
+ /**
3569
+ * Flips the coordinate order of geometries in a specified column (e.g., from `[lon, lat]` to `[lat, lon]` or vice-versa).
3570
+ * **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. It also messes up with the projections stored in `table.projections`.
3571
+ *
3572
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3573
+ * @returns A promise that resolves when the coordinates have been flipped.
3574
+ * @category Geospatial
3575
+ *
3576
+ * @example
3577
+ * ```ts
3578
+ * // Flip coordinates in the default geometry column
3579
+ * await table.flipCoordinates();
3580
+ * ```
3581
+ *
3582
+ * @example
3583
+ * ```ts
3584
+ * // Flip coordinates in a specific column named 'myGeom'
3585
+ * await table.flipCoordinates("myGeom");
3586
+ * ```
3587
+ */
3588
+ flipCoordinates(column?: string): Promise<void>;
3589
+ /**
3590
+ * Reduces the precision of geometries in a specified column to a given number of decimal places.
3591
+ *
3592
+ * @param decimals - The number of decimal places to keep in the coordinates of the geometries.
3593
+ * @param options - An optional object with configuration options:
3594
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3595
+ * @returns A promise that resolves when the precision of the geometries has been reduced.
3596
+ * @category Geospatial
3597
+ *
3598
+ * @example
3599
+ * ```ts
3600
+ * // Reduce the precision of geometries in the default column to 3 decimal places
3601
+ * await table.reducePrecision(3);
3602
+ * ```
3603
+ *
3604
+ * @example
3605
+ * ```ts
3606
+ * // Reduce the precision of geometries in a specific column named 'myGeom' to 2 decimal places
3607
+ * await table.reducePrecision(2, { column: "myGeom" });
3608
+ * ```
3609
+ */
3610
+ reducePrecision(decimals: number, options?: {
3611
+ column?: string;
3612
+ }): Promise<void>;
3613
+ /**
3614
+ * Reprojects the geometries in a specified column to another Spatial Reference System (SRS).
3615
+ * If reprojecting to WGS84 (`"WGS84"` or `"EPSG:4326"`), the resulting geometries will have `[latitude, longitude]` axis order.
3616
+ *
3617
+ * @param to - The target SRS (e.g., `"EPSG:3347"`, `"WGS84"`).
3618
+ * @param options - An optional object with configuration options:
3619
+ * @param options.from - The original projection of the geometries. If omitted, the method attempts to automatically detect it. Provide this option if auto-detection fails.
3620
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3621
+ * @returns A promise that resolves when the geometries have been reprojected.
3622
+ * @category Geospatial
3623
+ *
3624
+ * @example
3625
+ * ```ts
3626
+ * // Reproject geometries in the default column to EPSG:3347 (NAD83/Statistics Canada Lambert)
3627
+ * await table.reproject("EPSG:3347");
3628
+ * ```
3629
+ *
3630
+ * @example
3631
+ * ```ts
3632
+ * // Reproject geometries from EPSG:4326 to EPSG:3347, specifying the original projection
3633
+ * await table.reproject("EPSG:3347", { from: "EPSG:4326" });
3634
+ * ```
3635
+ *
3636
+ * @example
3637
+ * ```ts
3638
+ * // Reproject geometries in a specific column named 'myGeom' to EPSG:3347
3639
+ * await table.reproject("EPSG:3347", { column: "myGeom", from: "EPSG:4326" });
3640
+ * ```
3641
+ */
3642
+ reproject(to: string, options?: {
3643
+ from?: string;
3644
+ column?: string;
3645
+ }): Promise<void>;
3646
+ /**
3647
+ * Computes the area of geometries in square meters (`"m2"`) or optionally square kilometers (`"km2"`).
3648
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3649
+ *
3650
+ * @param newColumn - The name of the new column where the computed areas will be stored.
3651
+ * @param options - An optional object with configuration options:
3652
+ * @param options.unit - The unit for the computed area: `"m2"` (square meters) or `"km2"` (square kilometers). Defaults to `"m2"`.
3653
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3654
+ * @returns A promise that resolves when the areas have been computed.
3655
+ * @category Geospatial
3656
+ *
3657
+ * @example
3658
+ * ```ts
3659
+ * // Compute the area of geometries in square meters and store in 'area_m2'
3660
+ * await table.area("area_m2");
3661
+ * ```
3662
+ *
3663
+ * @example
3664
+ * ```ts
3665
+ * // Compute the area of geometries in square kilometers and store in 'area_km2'
3666
+ * await table.area("area_km2", { unit: "km2" });
3667
+ * ```
3668
+ *
3669
+ * @example
3670
+ * ```ts
3671
+ * // Compute the area of geometries in a specific column named 'myGeom'
3672
+ * await table.area("myGeomArea", { column: "myGeom" });
3673
+ * ```
3674
+ */
3675
+ area(newColumn: string, options?: {
3676
+ unit?: "m2" | "km2";
3677
+ column?: string;
3678
+ }): Promise<void>;
3679
+ /**
3680
+ * Computes the length of line geometries in meters (`"m"`) or optionally kilometers (`"km"`).
3681
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3682
+ *
3683
+ * @param newColumn - The name of the new column where the computed lengths will be stored.
3684
+ * @param options - An optional object with configuration options:
3685
+ * @param options.unit - The unit for the computed length: `"m"` (meters) or `"km"` (kilometers). Defaults to `"m"`.
3686
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3687
+ * @returns A promise that resolves when the lengths have been computed.
3688
+ * @category Geospatial
3689
+ *
3690
+ * @example
3691
+ * ```ts
3692
+ * // Compute the length of line geometries in meters and store in 'length_m'
3693
+ * await table.length("length_m");
3694
+ * ```
3695
+ *
3696
+ * @example
3697
+ * ```ts
3698
+ * // Compute the length of line geometries in kilometers and store in 'length_km'
3699
+ * await table.length("length_km", { unit: "km" });
3700
+ * ```
3701
+ *
3702
+ * @example
3703
+ * ```ts
3704
+ * // Compute the length of geometries in a specific column named 'routeGeom'
3705
+ * await table.length("routeLength", { column: "routeGeom" });
3706
+ * ```
3707
+ */
3708
+ length(newColumn: string, options?: {
3709
+ unit?: "m" | "km";
3710
+ column?: string;
3711
+ }): Promise<void>;
3712
+ /**
3713
+ * Computes the perimeter of polygon geometries in meters (`"m"`) or optionally kilometers (`"km"`).
3714
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3715
+ *
3716
+ * @param newColumn - The name of the new column where the computed perimeters will be stored.
3717
+ * @param options - An optional object with configuration options:
3718
+ * @param options.unit - The unit for the computed perimeter: `"m"` (meters) or `"km"` (kilometers). Defaults to `"m"`.
3719
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3720
+ * @returns A promise that resolves when the perimeters have been computed.
3721
+ * @category Geospatial
3722
+ *
3723
+ * @example
3724
+ * ```ts
3725
+ * // Compute the perimeter of polygon geometries in meters and store in 'perimeter_m'
3726
+ * await table.perimeter("perimeter_m");
3727
+ * ```
3728
+ *
3729
+ * @example
3730
+ * ```ts
3731
+ * // Compute the perimeter of polygon geometries in kilometers and store in 'perimeter_km'
3732
+ * await table.perimeter("perimeter_km", { unit: "km" });
3733
+ * ```
3734
+ *
3735
+ * @example
3736
+ * ```ts
3737
+ * // Compute the perimeter of geometries in a specific column named 'landParcelGeom'
3738
+ * await table.perimeter("landParcelPerimeter", { column: "landParcelGeom" });
3739
+ * ```
3740
+ */
3741
+ perimeter(newColumn: string, options?: {
3742
+ unit?: "m" | "km";
3743
+ column?: string;
3744
+ }): Promise<void>;
3745
+ /**
3746
+ * Computes a buffer (a polygon representing a specified distance around a geometry) for geometries in a specified column.
3747
+ * The distance is in the Spatial Reference System (SRS) unit of the input geometries.
3748
+ *
3749
+ * @param newColumn - The name of the new column where the buffered geometries will be stored.
3750
+ * @param distance - The distance for the buffer. This value is in the units of the geometry's SRS.
3751
+ * @param options - An optional object with configuration options:
3752
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3753
+ * @returns A promise that resolves when the buffers have been computed.
3754
+ * @category Geospatial
3755
+ *
3756
+ * @example
3757
+ * ```ts
3758
+ * // Create a buffer of 1 unit around geometries in the default column, storing results in 'bufferedGeom'
3759
+ * await table.buffer("bufferedGeom", 1);
3760
+ * ```
3761
+ *
3762
+ * @example
3763
+ * ```ts
3764
+ * // Create a buffer of 10 units around geometries in a specific column named 'pointsGeom'
3765
+ * await table.buffer("pointsBuffer", 10, { column: "pointsGeom" });
3766
+ * ```
3767
+ */
3768
+ buffer(newColumn: string, distance: number, options?: {
3769
+ column?: string;
3770
+ }): Promise<void>;
3771
+ /**
3772
+ * Merges the data of this table (considered the left table) with another table (the right table) based on a spatial relationship.
3773
+ * Note that the order of rows in the returned data is not guaranteed to be the same as in the original tables.
3774
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
3775
+ *
3776
+ * @param rightTable - The SimpleTable instance to be joined with this table.
3777
+ * @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).
3778
+ * @param options - An optional object with configuration options:
3779
+ * @param options.leftTableColumn - The name of the column storing geometries in the left table (this table). If omitted, the method attempts to find one.
3780
+ * @param options.rightTableColumn - The name of the column storing geometries in the right table. If omitted, the method attempts to find one.
3781
+ * @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.
3782
+ * @param options.distance - Required if `method` is `"within"`. The target distance for the spatial join. The unit depends on `distanceMethod`.
3783
+ * @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).
3784
+ * @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`.
3785
+ * @returns A promise that resolves to a table instance containing the spatially joined data (either the modified current table or a new table).
3786
+ * @category Geospatial
3787
+ *
3788
+ * @example
3789
+ * ```ts
3790
+ * // Merge data based on intersecting geometries, overwriting tableA
3791
+ * await tableA.joinGeo(tableB, "intersect");
3792
+ * ```
3793
+ *
3794
+ * @example
3795
+ * ```ts
3796
+ * // Merge data where geometries in tableA are inside geometries in tableB
3797
+ * await tableA.joinGeo(tableB, "inside");
3798
+ * ```
3799
+ *
3800
+ * @example
3801
+ * ```ts
3802
+ * // Merge data where geometries in tableA are within 10 units (SRS) of geometries in tableB
3803
+ * await tableA.joinGeo(tableB, "within", { distance: 10 });
3804
+ * ```
3805
+ *
3806
+ * @example
3807
+ * ```ts
3808
+ * // Merge data where geometries in tableA are within 10 kilometers (Haversine) of geometries in tableB
3809
+ * // Input geometries must be in EPSG:4326.
3810
+ * await tableA.joinGeo(tableB, "within", { distance: 10, distanceMethod: "haversine", unit: "km" });
3811
+ * ```
3812
+ *
3813
+ * @example
3814
+ * ```ts
3815
+ * // Merge data with specific geometry columns and an inner join type, storing results in a new table
3816
+ * const tableC = await tableA.joinGeo(tableB, "intersect", {
3817
+ * leftTableColumn: "geometriesA",
3818
+ * rightTableColumn: "geometriesB",
3819
+ * type: "inner",
3820
+ * outputTable: true,
3821
+ * });
3822
+ * ```
3823
+ */
3824
+ joinGeo(rightTable: SimpleTable, method: "intersect" | "inside" | "within", options?: {
3825
+ leftTableColumn?: string;
3826
+ rightTableColumn?: string;
3827
+ type?: "inner" | "left" | "right" | "full";
3828
+ distance?: number;
3829
+ distanceMethod?: "srs" | "haversine" | "spheroid";
3830
+ outputTable?: string | boolean;
3831
+ }): Promise<this>;
3832
+ /**
3833
+ * Computes the intersection of two sets of geometries, creating new geometries where they overlap.
3834
+ *
3835
+ * @param column1 - The name of the first column storing geometries.
3836
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3837
+ * @param newColumn - The name of the new column where the computed intersection geometries will be stored.
3838
+ * @returns A promise that resolves when the intersection geometries have been computed.
3839
+ * @category Geospatial
3840
+ *
3841
+ * @example
3842
+ * ```ts
3843
+ * // Compute the intersection of geometries in 'geomA' and 'geomB' columns, storing results in 'intersectGeom'
3844
+ * await table.intersection("geomA", "geomB", "intersectGeom");
3845
+ * ```
3846
+ */
3847
+ intersection(column1: string, column2: string, newColumn: string): Promise<void>;
3848
+ /**
3849
+ * Removes the intersection of two geometries from the first geometry, effectively computing the geometric difference.
3850
+ *
3851
+ * @param column1 - The name of the column storing the reference geometries. These geometries will have the intersection removed.
3852
+ * @param column2 - The name of the column storing the geometries used to compute the intersection. Both columns must have the same projection.
3853
+ * @param newColumn - The name of the new column where the resulting geometries (without the intersection) will be stored.
3854
+ * @returns A promise that resolves when the geometries have been processed.
3855
+ * @category Geospatial
3856
+ *
3857
+ * @example
3858
+ * ```ts
3859
+ * // Remove the intersection of 'geomB' from 'geomA', storing the result in 'geomA_minus_geomB'
3860
+ * await table.removeIntersection("geomA", "geomB", "geomA_minus_geomB");
3861
+ * ```
3862
+ */
3863
+ removeIntersection(column1: string, column2: string, newColumn: string): Promise<void>;
3864
+ /**
3865
+ * Fills holes in polygon geometries.
3866
+ *
3867
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3868
+ * @returns A promise that resolves when the holes have been filled.
3869
+ * @category Geospatial
3870
+ *
3871
+ * @example
3872
+ * ```ts
3873
+ * // Fill holes in geometries in the default geometry column
3874
+ * await table.fillHoles();
3875
+ * ```
3876
+ *
3877
+ * @example
3878
+ * ```ts
3879
+ * // Fill holes in geometries in a specific column named 'polygonGeom'
3880
+ * await table.fillHoles("polygonGeom");
3881
+ * ```
3882
+ */
3883
+ fillHoles(column?: string): Promise<void>;
3884
+ /**
3885
+ * Returns `TRUE` if two geometries intersect (overlap in any way), and `FALSE` otherwise.
3886
+ *
3887
+ * @param column1 - The name of the first column storing geometries.
3888
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3889
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for intersection, `FALSE` otherwise) will be stored.
3890
+ * @returns A promise that resolves when the intersection check is complete.
3891
+ * @category Geospatial
3892
+ *
3893
+ * @example
3894
+ * ```ts
3895
+ * // Check if geometries in 'geomA' and 'geomB' intersect, storing results in 'doIntersect'
3896
+ * await table.intersect("geomA", "geomB", "doIntersect");
3897
+ * ```
3898
+ */
3899
+ intersect(column1: string, column2: string, newColumn: string): Promise<void>;
3900
+ /**
3901
+ * Returns `TRUE` if all points of a geometry in `column1` lie inside a geometry in `column2`, and `FALSE` otherwise.
3902
+ *
3903
+ * @param column1 - The name of the column storing the geometries to be tested for containment.
3904
+ * @param column2 - The name of the column storing the geometries to be tested as containers. Both columns must have the same projection.
3905
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for inside, `FALSE` otherwise) will be stored.
3906
+ * @returns A promise that resolves when the containment check is complete.
3907
+ * @category Geospatial
3908
+ *
3909
+ * @example
3910
+ * ```ts
3911
+ * // Check if geometries in 'pointGeom' are inside 'polygonGeom', storing results in 'isInsidePolygon'
3912
+ * await table.inside("pointGeom", "polygonGeom", "isInsidePolygon");
3913
+ * ```
3914
+ */
3915
+ inside(column1: string, column2: string, newColumn: string): Promise<void>;
3916
+ /**
3917
+ * Computes the union of two geometries, creating a new geometry that represents the merged area of both.
3918
+ *
3919
+ * @param column1 - The name of the first column storing geometries.
3920
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3921
+ * @param newColumn - The name of the new column where the computed union geometries will be stored.
3922
+ * @returns A promise that resolves when the union geometries have been computed.
3923
+ * @category Geospatial
3924
+ *
3925
+ * @example
3926
+ * ```ts
3927
+ * // Compute the union of geometries in 'geomA' and 'geomB', storing results in 'unionGeom'
3928
+ * await table.union("geomA", "geomB", "unionGeom");
3929
+ * ```
3930
+ */
3931
+ union(column1: string, column2: string, newColumn: string): Promise<void>;
3932
+ /**
3933
+ * Extracts the latitude and longitude coordinates from point geometries.
3934
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3935
+ *
3936
+ * @param column - The name of the column storing the point geometries.
3937
+ * @param columnLat - The name of the new column where the extracted latitude values will be stored.
3938
+ * @param columnLon - The name of the new column where the extracted longitude values will be stored.
3939
+ * @returns A promise that resolves when the latitude and longitude have been extracted.
3940
+ * @category Geospatial
3941
+ *
3942
+ * @example
3943
+ * ```ts
3944
+ * // Extract latitude and longitude from 'geom' column into new 'lat' and 'lon' columns
3945
+ * await table.latLon("geom", "lat", "lon");
3946
+ * ```
3947
+ */
3948
+ latLon(column: string, columnLat: string, columnLon: string): Promise<void>;
3949
+ /**
3950
+ * Simplifies geometries while preserving their overall coverage. A higher tolerance results in more significant simplification.
3951
+ *
3952
+ * @param tolerance - A numeric value representing the simplification tolerance. A higher value leads to greater simplification.
3953
+ * @param options - An optional object with configuration options:
3954
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3955
+ * @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.
3956
+ * @returns A promise that resolves when the geometries have been simplified.
3957
+ * @category Geospatial
3958
+ *
3959
+ * @example
3960
+ * ```ts
3961
+ * // Simplify geometries in the default column with a tolerance of 0.1
3962
+ * await table.simplify(0.1);
3963
+ * ```
3964
+ *
3965
+ * @example
3966
+ * ```ts
3967
+ * // Simplify geometries in 'myGeom' column, preserving the boundary
3968
+ * await table.simplify(0.05, { column: "myGeom", simplifyBoundary: false });
3969
+ * ```
3970
+ */
3971
+ simplify(tolerance: number, options?: {
3972
+ column?: string;
3973
+ simplifyBoundary?: boolean;
3974
+ }): Promise<void>;
3975
+ /**
3976
+ * Computes the centroid of geometries.
3977
+ * The values are returned in the SRS unit of the input geometries.
3978
+ *
3979
+ * @param newColumn - The name of the new column where the computed centroid geometries will be stored.
3980
+ * @param options - An optional object with configuration options:
3981
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3982
+ * @returns A promise that resolves when the centroids have been computed.
3983
+ * @category Geospatial
3984
+ *
3985
+ * @example
3986
+ * ```ts
3987
+ * // Compute the centroid of geometries in the default column, storing results in 'centerPoint'
3988
+ * await table.centroid("centerPoint");
3989
+ * ```
3990
+ *
3991
+ * @example
3992
+ * ```ts
3993
+ * // Compute the centroid of geometries in a specific column named 'areaGeom'
3994
+ * await table.centroid("areaCentroid", { column: "areaGeom" });
3995
+ * ```
3996
+ */
3997
+ centroid(newColumn: string, options?: {
3998
+ column?: string;
3999
+ }): Promise<void>;
4000
+ /**
4001
+ * Generates a random point within the geometries of a specified column.
4002
+ *
4003
+ * @param newColumn - The name of the new column where the random points will be stored.
4004
+ * @param nbPointsToTry - The number of points to generate within the bounding box of each geometry to find one that is within the geometry itself.
4005
+ * @param options - An optional object with configuration options:
4006
+ * @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.
4007
+ * @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.
4008
+ *
4009
+ * @example
4010
+ * ```ts
4011
+ * // Generate a random point for each geometry in the default column, trying 100 points
4012
+ * await table.randomPoint("randomPoint", 100);
4013
+ * ```
4014
+ *
4015
+ * @example
4016
+ * ```ts
4017
+ * // Generate a random point for each geometry in a specific column named 'areaGeom', trying 50 points
4018
+ * await table.randomPoint("pointInArea", 50, { column: "areaGeom" });
4019
+ * ```
4020
+ *
4021
+ * @example
4022
+ * ```ts
4023
+ * // Generate a random point for each geometry, but don't throw if some points cannot be generated
4024
+ * await table.randomPoint("pointInArea", 1, { try: true });
4025
+ * ```
4026
+ */
4027
+ randomPoint(newColumn: string, nbPointsToTry: number, options?: {
4028
+ column?: string;
4029
+ try?: boolean;
4030
+ }): Promise<void>;
4031
+ /**
4032
+ * Computes the distance between geometries in two specified columns.
4033
+ * By default, the distance is calculated in the Spatial Reference System (SRS) unit of the input geometries.
4034
+ * You can optionally specify `"spheroid"` or `"haversine"` methods to get results in meters or kilometers.
4035
+ * If using `"spheroid"` or `"haversine"`, the input geometries must be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
4036
+ *
4037
+ * @param column1 - The name of the first column storing geometries.
4038
+ * @param column2 - The name of the second column storing geometries.
4039
+ * @param newColumn - The name of the new column where the computed distances will be stored.
4040
+ * @param options - An optional object with configuration options:
4041
+ * @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).
4042
+ * @param options.unit - If `method` is `"spheroid"` or `"haversine"`, you can choose between `"m"` (meters, default) or `"km"` (kilometers).
4043
+ * @param options.decimals - The number of decimal places to round the distance values. Defaults to `undefined` (no rounding).
4044
+ * @returns A promise that resolves when the distances have been computed.
4045
+ * @category Geospatial
4046
+ *
4047
+ * @example
4048
+ * ```ts
4049
+ * // Compute distance between 'geomA' and 'geomB' in SRS units, store in 'distance_srs'
4050
+ * await table.distance("geomA", "geomB", "distance_srs");
4051
+ * ```
4052
+ *
4053
+ * @example
4054
+ * ```ts
4055
+ * // Compute Haversine distance in meters between 'point1' and 'point2', store in 'distance_m'
4056
+ * // Input geometries must be in EPSG:4326.
4057
+ * await table.distance("point1", "point2", "distance_m", { method: "haversine" });
4058
+ * ```
4059
+ *
4060
+ * @example
4061
+ * ```ts
4062
+ * // Compute Haversine distance in kilometers, rounded to 2 decimal places
4063
+ * // Input geometries must be in EPSG:4326.
4064
+ * await table.distance("point1", "point2", "distance_km", { method: "haversine", unit: "km", decimals: 2 });
4065
+ * ```
4066
+ *
4067
+ * @example
4068
+ * ```ts
4069
+ * // Compute Spheroid distance in kilometers
4070
+ * // Input geometries must be in EPSG:4326.
4071
+ * await table.distance("area1", "area2", "distance_spheroid_km", { method: "spheroid", unit: "km" });
4072
+ * ```
4073
+ */
4074
+ distance(column1: string, column2: string, newColumn: string, options?: {
4075
+ unit?: "m" | "km";
4076
+ method?: "srs" | "haversine" | "spheroid";
4077
+ decimals?: number;
4078
+ }): Promise<void>;
4079
+ /**
4080
+ * Unnests geometries recursively, transforming multi-part geometries (e.g., MultiPolygon) into individual single-part geometries (e.g., Polygon).
4081
+ *
4082
+ * @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.
4083
+ * @returns A promise that resolves when the geometries have been unnested.
4084
+ * @category Geospatial
4085
+ *
4086
+ * @example
4087
+ * ```ts
4088
+ * // Unnest geometries in the default column
4089
+ * await table.unnestGeo();
4090
+ * ```
4091
+ *
4092
+ * @example
4093
+ * ```ts
4094
+ * // Unnest geometries in a specific column named 'multiGeom'
4095
+ * await table.unnestGeo("multiGeom");
4096
+ * ```
4097
+ */
4098
+ unnestGeo(column?: string): Promise<void>;
4099
+ /**
4100
+ * Aggregates geometries in a specified column based on a chosen aggregation method.
4101
+ *
4102
+ * @param method - The aggregation method to apply: `"union"` (combines all geometries into a single multi-geometry) or `"intersection"` (computes the intersection of all geometries).
4103
+ * @param options - An optional object with configuration options:
4104
+ * @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.
4105
+ * @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.
4106
+ * @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`.
4107
+ * @returns A promise that resolves to a table instance containing the aggregated geometries (either the modified current table or a new table).
4108
+ * @category Geospatial
4109
+ *
4110
+ * @example
4111
+ * ```ts
4112
+ * // Aggregate all geometries in the default column into a single union geometry
4113
+ * await table.aggregateGeo("union");
4114
+ * ```
4115
+ *
4116
+ * @example
4117
+ * ```ts
4118
+ * // Aggregate geometries by 'country' and compute their union
4119
+ * await table.aggregateGeo("union", { categories: "country" });
4120
+ * ```
4121
+ *
4122
+ * @example
4123
+ * ```ts
4124
+ * // Aggregate geometries in 'regions' column into their intersection, storing results in a new table
4125
+ * const intersectionTable = await table.aggregateGeo("intersection", { column: "regions", outputTable: true });
4126
+ * ```
4127
+ */
4128
+ aggregateGeo(method: "union" | "intersection", options?: {
4129
+ column?: string;
4130
+ categories?: string | string[];
4131
+ outputTable?: string | boolean;
4132
+ }): Promise<this>;
4133
+ /**
4134
+ * Transforms closed linestring geometries into polygon geometries.
4135
+ *
4136
+ * @param column - The name of the column storing the linestring geometries. If omitted, the method will automatically attempt to find a geometry column.
4137
+ * @returns A promise that resolves when the transformation is complete.
4138
+ * @category Geospatial
4139
+ *
4140
+ * @example
4141
+ * ```ts
4142
+ * // Transform closed linestrings in the default geometry column into polygons
4143
+ * await table.linesToPolygons();
4144
+ * ```
4145
+ *
4146
+ * @example
4147
+ * ```ts
4148
+ * // Transform closed linestrings in a specific column named 'routeLines' into polygons
4149
+ * await table.linesToPolygons("routeLines");
4150
+ * ```
4151
+ */
4152
+ linesToPolygons(column?: string): Promise<void>;
4153
+ /**
4154
+ * Returns the bounding box of geometries in `[minLat, minLon, maxLat, maxLon]` order.
4155
+ * 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), with `[latitude, longitude]` axis order.
4156
+ *
4157
+ * @param column - The name of the column storing geometries. If omitted, the method will automatically attempt to find a geometry column.
4158
+ * @returns A promise that resolves to an array `[minLat, minLon, maxLat, maxLon]` representing the bounding box.
4159
+ * @category Geospatial
4160
+ *
4161
+ * @example
4162
+ * ```ts
4163
+ * // Get the bounding box of geometries in the default column
4164
+ * const bbox = await table.getBoundingBox();
4165
+ * console.log(bbox); // e.g., [45.0, -75.0, 46.0, -73.0]
4166
+ * ```
4167
+ *
4168
+ * @example
4169
+ * ```ts
4170
+ * // Get the bounding box of geometries in a specific column named 'areaGeom'
4171
+ * const areaBbox = await table.getBoundingBox("areaGeom");
4172
+ * console.log(areaBbox);
4173
+ * ```
4174
+ */
4175
+ getBoundingBox(column?: string): Promise<[number, number, number, number]>;
4176
+ /**
4177
+ * Returns the table's geospatial data as a GeoJSON object.
4178
+ * If the table has multiple geometry columns, you must specify which one to use.
4179
+ * If the geometry column's projection is WGS84 or EPSG:4326 (`[latitude, longitude]` axis order), the coordinates will be flipped to follow the RFC7946 standard (`[longitude, latitude]` axis order) in the output GeoJSON.
4180
+ *
4181
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
4182
+ * @param options - An optional object with configuration options:
4183
+ * @param options.rewind - If `true`, rewinds the coordinates of polygons to follow the spherical winding order (important for D3.js). Defaults to `false`.
4184
+ * @returns A promise that resolves to a GeoJSON object representing the table's geospatial data.
4185
+ * @category Getting Data
4186
+ *
4187
+ * @example
4188
+ * ```ts
4189
+ * // Get GeoJSON data from the default geometry column
4190
+ * const geojson = await table.getGeoData();
4191
+ * console.log(geojson);
4192
+ * ```
4193
+ *
4194
+ * @example
4195
+ * ```ts
4196
+ * // Get GeoJSON data from a specific geometry column named 'myGeometries'
4197
+ * const myGeomJson = await table.getGeoData("myGeometries");
4198
+ * console.log(myGeomJson);
4199
+ * ```
4200
+ *
4201
+ * @example
4202
+ * ```ts
4203
+ * // Get GeoJSON data and rewind polygon coordinates for D3.js compatibility
4204
+ * const rewoundGeojson = await table.getGeoData(undefined, { rewind: true });
4205
+ * console.log(rewoundGeojson);
4206
+ * ```
4207
+ */
4208
+ getGeoData(column?: string, options?: {
4209
+ rewind?: boolean;
4210
+ }): Promise<{
4211
+ type: string;
4212
+ features: unknown[];
4213
+ }>;
4214
+ /**
4215
+ * Writes the table's data to a file in various formats (CSV, JSON, Parquet, DuckDB, SQLite).
4216
+ * If the specified path does not exist, it will be created.
4217
+ *
4218
+ * @param file - The absolute path to the output file (e.g., `"./output.csv"`, `"./output.json"`).
4219
+ * @param options - An optional object with configuration options:
4220
+ * @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`.
4221
+ * @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.
4222
+ * @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`.
4223
+ * @returns A promise that resolves when the data has been written to the file.
4224
+ * @category File Operations
4225
+ *
4226
+ * @example
4227
+ * ```ts
4228
+ * // Write data to a CSV file
4229
+ * await table.writeData("./output.csv");
4230
+ * ```
4231
+ *
4232
+ * @example
4233
+ * ```ts
4234
+ * // Write data to a JSON file with GZIP compression.
4235
+ * // The output file will be named output.json.gz.
4236
+ * await table.writeData("./output.json", { compression: true });
4237
+ * ```
4238
+ *
4239
+ * @example
4240
+ * ```ts
4241
+ * // Write data to a Parquet file
4242
+ * await table.writeData("./output.parquet");
4243
+ * ```
4244
+ *
4245
+ * @example
4246
+ * ```ts
4247
+ * // Write data to a DuckDB database file
4248
+ * await table.writeData("./my_database.db");
4249
+ * ```
4250
+ *
4251
+ * @example
4252
+ * ```ts
4253
+ * // Write data to a SQLite database file
4254
+ * await table.writeData("./my_database.sqlite");
4255
+ * ```
4256
+ *
4257
+ * @example
4258
+ * ```ts
4259
+ * // Write JSON data with dates formatted as ISO strings
4260
+ * await table.writeData("./output_dates.json", { formatDates: true });
4261
+ * ```
4262
+ */
4263
+ writeData(file: string, options?: {
4264
+ compression?: boolean;
4265
+ dataAsArrays?: boolean;
4266
+ formatDates?: boolean;
4267
+ }): Promise<void>;
4268
+ /**
4269
+ * Writes the table's geospatial data to a file in GeoJSON, GeoParquet, or Shapefile format.
4270
+ * If the specified path does not exist, it will be created.
4271
+ *
4272
+ * For GeoJSON files (`.geojson` or `.json`), if the projection is WGS84 or EPSG:4326 (`[latitude, longitude]` axis order), the coordinates will be flipped to follow the RFC7946 standard (`[longitude, latitude]` axis order) in the output.
4273
+ *
4274
+ * @param file - The absolute path to the output file (e.g., `"./output.geojson"`, `"./output.geoparquet"`, `"./shapefile-folder/output.shp"`).
4275
+ * @param options - An optional object with configuration options:
4276
+ * @param options.precision - For GeoJSON, the maximum number of figures after the decimal separator to write in coordinates. Defaults to `undefined` (full precision).
4277
+ * @param options.compression - For GeoParquet, if `true`, the output will be ZSTD compressed. Defaults to `false`.
4278
+ * @param options.rewind - For GeoJSON, if `true`, rewinds the coordinates of polygons to follow the right-hand rule (RFC 7946). Defaults to `false`.
4279
+ * @param options.metadata - For GeoJSON, an object to be added as top-level metadata to the GeoJSON output.
4280
+ * @param options.formatDates - For GeoJSON, if `true`, formats date and timestamp columns to ISO 8601 strings. Defaults to `false`.
4281
+ * @returns A promise that resolves when the geospatial data has been written to the file.
4282
+ * @category File Operations
4283
+ *
4284
+ * @example
4285
+ * ```ts
4286
+ * // Write geospatial data to a GeoJSON file
4287
+ * await table.writeGeoData("./output.geojson");
4288
+ * ```
4289
+ *
4290
+ * @example
4291
+ * ```ts
4292
+ * // Write geospatial data to a compressed GeoParquet file
4293
+ * await table.writeGeoData("./output.geoparquet", { compression: true });
4294
+ * ```
4295
+ *
4296
+ * @example
4297
+ * ```ts
4298
+ * // Write geospatial data to a Shapefile with all relevant files in the same folder
4299
+ * await table.writeGeoData("./shapefile-folder/output.shp");
4300
+ * ```
4301
+ *
4302
+ * @example
4303
+ * ```ts
4304
+ * // Write GeoJSON with specific precision and metadata
4305
+ * await table.writeGeoData("./output_high_precision.geojson", {
4306
+ * precision: 6,
4307
+ * metadata: { source: "SimpleDataAnalysis" },
4308
+ * });
4309
+ * ```
4310
+ */
4311
+ writeGeoData(file: string, options?: {
4312
+ precision?: number;
4313
+ compression?: boolean;
4314
+ rewind?: boolean;
4315
+ metadata?: unknown;
4316
+ formatDates?: boolean;
4317
+ }): Promise<void>;
4318
+ /**
4319
+ * Caches the results of computations in `./.sda-cache`.
4320
+ * You should add `./.sda-cache` to your `.gitignore` file.
4321
+ *
4322
+ * @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.
4323
+ * @param options - An optional object with configuration options:
4324
+ * @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.
4325
+ * @returns A promise that resolves when the computations are complete or the data is loaded from cache.
4326
+ * @category Caching
4327
+ *
4328
+ * @example
4329
+ * ```ts
4330
+ * // Basic usage: computations are cached and re-run only if the function content changes
4331
+ * const sdb = new SimpleDB();
4332
+ * const table = sdb.newTable();
4333
+ *
4334
+ * await table.cache(async () => {
4335
+ * await table.loadData("items.csv");
4336
+ * await table.summarize({
4337
+ * values: "price",
4338
+ * categories: "department",
4339
+ * summaries: ["min", "max", "mean"],
4340
+ * });
4341
+ * });
4342
+ *
4343
+ * // It's important to call done() on the SimpleDB instance to clean up the cache.
4344
+ * // This prevents the cache from growing indefinitely.
4345
+ * await sdb.done();
4346
+ * ```
4347
+ *
4348
+ * @example
4349
+ * ```ts
4350
+ * // Cache with a Time-To-Live (TTL) of 60 seconds
4351
+ * // The computations will be re-run if the cached data is older than 1 minute or if the function content changes.
4352
+ * const sdb = new SimpleDB();
4353
+ * const table = sdb.newTable();
4354
+ *
4355
+ * await table.cache(async () => {
4356
+ * await table.loadData("items.csv");
4357
+ * await table.summarize({
4358
+ * values: "price",
4359
+ * categories: "department",
4360
+ * summaries: ["min", "max", "mean"],
4361
+ * });
4362
+ * }, { ttl: 60 });
4363
+ *
4364
+ * await sdb.done();
4365
+ * ```
4366
+ *
4367
+ * @example
4368
+ * ```ts
4369
+ * // Enable verbose logging for cache operations via SimpleDB instance
4370
+ * const sdb = new SimpleDB({ cacheVerbose: true });
4371
+ * const table = sdb.newTable();
4372
+ *
4373
+ * await table.cache(async () => {
4374
+ * await table.loadData("items.csv");
4375
+ * await table.summarize({
4376
+ * values: "price",
4377
+ * categories: "department",
4378
+ * summaries: ["min", "max", "mean"],
4379
+ * });
4380
+ * });
4381
+ *
4382
+ * await sdb.done();
4383
+ * ```
4384
+ */
4385
+ cache(run: () => Promise<void>, options?: {
4386
+ ttl?: number;
4387
+ }): Promise<void>;
4388
+ /**
4389
+ * Logs a specified number of rows from the table to the console. By default, the first 10 rows are logged.
4390
+ * You can optionally log the column types and filter the data based on conditions.
4391
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
4392
+ *
4393
+ * @param options - Either the number of rows to log (a specific number or `"all"`) or an object with configuration options:
4394
+ * @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.
4395
+ * @param options.types - If `true`, logs the column types along with the data. Defaults to `false`.
4396
+ * @param options.conditions - A SQL `WHERE` clause condition to filter the data before logging. Defaults to no condition.
4397
+ * @returns A promise that resolves when the table data has been logged.
4398
+ * @category Logging
4399
+ *
4400
+ * @example
4401
+ * ```ts
4402
+ * // Log the first 10 rows (default behavior)
4403
+ * await table.logTable();
4404
+ * ```
4405
+ *
4406
+ * @example
4407
+ * ```ts
4408
+ * // Log the first 50 rows
4409
+ * await table.logTable(50);
4410
+ * ```
4411
+ *
4412
+ * @example
4413
+ * ```ts
4414
+ * // Log all rows
4415
+ * await table.logTable("all");
4416
+ * ```
4417
+ *
4418
+ * @example
4419
+ * ```ts
4420
+ * // Log the first 20 rows and include column types
4421
+ * await table.logTable({ nbRowsToLog: 20, types: true });
4422
+ * ```
4423
+ *
4424
+ * @example
4425
+ * ```ts
4426
+ * // Log rows where 'status' is 'active' (using JS syntax for conditions)
4427
+ * await table.logTable({ conditions: `status === 'active'` });
4428
+ * ```
4429
+ */
4430
+ logTable(options?: "all" | number | {
4431
+ nbRowsToLog?: number | "all";
4432
+ types?: boolean;
4433
+ conditions?: string;
4434
+ }): Promise<void>;
4435
+ /**
4436
+ * Generates and logs a histogram of a numeric column to the console.
4437
+ *
4438
+ * @param values - The name of the numeric column for which to generate the histogram.
4439
+ * @param options - An optional object with configuration options:
4440
+ * @param options.bins - The number of bins (intervals) to use for the histogram. Defaults to 10.
4441
+ * @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.
4442
+ * @param options.compact - If `true`, the histogram will be displayed in a more compact format. Defaults to `false`.
4443
+ * @param options.width - The maximum width of the histogram bars in characters.
4444
+ * @returns A promise that resolves when the histogram has been logged to the console.
4445
+ * @category Dataviz
4446
+ *
4447
+ * @example
4448
+ * // Basic histogram of the 'temperature' column
4449
+ * ```typescript
4450
+ * await table.logHistogram("temperature")
4451
+ * ```
4452
+ *
4453
+ * @example
4454
+ * // Histogram with 20 bins and custom label formatting
4455
+ * ```typescript
4456
+ * await table.logHistogram("age", {
4457
+ * bins: 20,
4458
+ * formatLabels: (min, max) => `${min}-${max} years`,
4459
+ * });
4460
+ * ```
4461
+ */
4462
+ /**
4463
+ * 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.
4464
+ * It internally calls the `getDescription` method to retrieve the descriptive statistics.
4465
+ *
4466
+ * @returns A promise that resolves when the column description has been logged to the console.
4467
+ * @category Logging
4468
+ *
4469
+ * @example
4470
+ * ```ts
4471
+ * // Log descriptive information for all columns in the table
4472
+ * await table.logDescription();
4473
+ * ```
4474
+ */
4475
+ logDescription(): Promise<void>;
4476
+ /**
4477
+ * Logs the projections of the geospatial data (if any) to the console.
4478
+ *
4479
+ * @returns A promise that resolves to the SimpleTable instance after logging the projections.
4480
+ * @category Logging
4481
+ *
4482
+ * @example
4483
+ * ```ts
4484
+ * // Log the geospatial projections of the table
4485
+ * await table.logProjections();
4486
+ * ```
4487
+ */
4488
+ logProjections(): Promise<this>;
4489
+ /**
4490
+ * Logs the types of all columns in the table to the console.
4491
+ *
4492
+ * @returns A promise that resolves to the SimpleTable instance after logging the column types.
4493
+ * @category Logging
4494
+ *
4495
+ * @example
4496
+ * ```ts
4497
+ * // Log the data types of all columns in the table
4498
+ * await table.logTypes();
4499
+ * ```
4500
+ */
4501
+ logTypes(): Promise<this>;
4502
+ /**
4503
+ * Logs unique values for a specified column to the console. By default, a maximum of 100 values are logged (depending on your runtime).
4504
+ * You can optionally stringify the values to see them all.
4505
+ *
4506
+ * @param column - The name of the column from which to retrieve and log unique values.
4507
+ * @param options - An optional object with configuration options:
4508
+ * @param options.stringify - If `true`, converts the unique values to a JSON string before logging. Defaults to `false`.
4509
+ * @returns A promise that resolves to the SimpleTable instance after logging the unique values.
4510
+ * @category Logging
4511
+ *
4512
+ * @example
4513
+ * ```ts
4514
+ * // Logs unique values for the column "name"
4515
+ * await table.logUniques("name");
4516
+ * ```
4517
+ *
4518
+ * @example
4519
+ * ```ts
4520
+ * // Logs unique values for the column "name" and stringifies them
4521
+ * await table.logUniques("name", { stringify: true });
4522
+ * ```
4523
+ */
4524
+ logUniques(column: string, options?: {
4525
+ stringify?: boolean;
4526
+ }): Promise<this>;
4527
+ /**
4528
+ * Logs the columns in the table to the console. You can optionally include their data types.
4529
+ *
4530
+ * @param options - An optional object with configuration options:
4531
+ * @param options.types - If `true`, logs the column names along with their data types. Defaults to `false`.
4532
+ * @returns A promise that resolves to the SimpleTable instance after logging the columns.
4533
+ * @category Logging
4534
+ *
4535
+ * @example
4536
+ * ```ts
4537
+ * // Log only the column names
4538
+ * await table.logColumns();
4539
+ * ```
4540
+ *
4541
+ * @example
4542
+ * ```ts
4543
+ * // Log column names along with their types
4544
+ * await table.logColumns({ types: true });
4545
+ * ```
4546
+ */
4547
+ logColumns(options?: {
4548
+ types?: boolean;
4549
+ }): Promise<this>;
4550
+ /**
4551
+ * Logs the total number of rows in the table to the console.
4552
+ *
4553
+ * @returns A promise that resolves to the SimpleTable instance after logging the row count.
4554
+ * @category Logging
4555
+ *
4556
+ * @example
4557
+ * ```ts
4558
+ * // Log the total number of rows in the table
4559
+ * await table.logNbRows();
4560
+ * ```
4561
+ */
4562
+ logNbRows(): Promise<this>;
4563
+ /**
4564
+ * 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.
4565
+ *
4566
+ * @param count - The number of rows to log from the bottom of the table. Defaults to the table's `nbRowsToLog` option if not specified.
4567
+ * @param options - An optional object with logging preferences.
4568
+ * @param options.originalOrder - If true, the rows are displayed in their original order (top to bottom). Defaults to false.
4569
+ * @returns A promise that resolves when the rows have been logged to the console.
4570
+ * @category Logging
4571
+ *
4572
+ * @example
4573
+ * ```ts
4574
+ * // Log bottom rows with default count (uses table's nbRowsToLog option)
4575
+ * await table.logBottom();
4576
+ * ```
4577
+ *
4578
+ * @example
4579
+ * ```ts
4580
+ * // Log the last 10 rows (displayed with last row first)
4581
+ * await table.logBottom(10);
4582
+ * ```
4583
+ *
4584
+ * @example
4585
+ * ```ts
4586
+ * // Log the last 5 rows in original order (top to bottom)
4587
+ * await table.logBottom(5, { originalOrder: true });
4588
+ * ```
4589
+ */
4590
+ logBottom(count?: number, options?: {
4591
+ originalOrder?: boolean;
4592
+ }): Promise<void>;
4593
+ /**
4594
+ * Logs the extent (minimum and maximum values) of a numeric column to the console.
4595
+ *
4596
+ * @param column - The name of the numeric column for which to log the extent.
4597
+ * @returns A promise that resolves when the column extent has been logged to the console.
4598
+ * @category Logging
4599
+ *
4600
+ * @example
4601
+ * ```ts
4602
+ * // Log the extent of the 'price' column
4603
+ * await table.logExtent("price");
4604
+ * ```
4605
+ */
4606
+ logExtent(column: string): Promise<void>;
4607
+ }
4608
+ //# sourceMappingURL=SimpleTable.d.ts.map