chore: auto-commit (4 archivos)
- app.md - appicon.ico - playground/tables/data_table_logic.h - playground/tables/DEPRECATED.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -177,30 +177,9 @@ std::string build_csv(const char* const* cells, int rows, int cols,
|
||||
const std::vector<int>& visible_rows);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Column statistics (no movido todavia al registry).
|
||||
// Column statistics — desde v1.5.0, ColStats + HIST_BINS + compute_column_stats
|
||||
// viven en core/compute_column_stats.h (transitivamente via data_table_types.h).
|
||||
// El playground los reutiliza directo, sin redefinir.
|
||||
// ----------------------------------------------------------------------------
|
||||
struct ColStats {
|
||||
int total = 0;
|
||||
int empty_count = 0;
|
||||
int unique_count = 0;
|
||||
bool unique_capped = false;
|
||||
bool numeric = false;
|
||||
int numeric_count = 0;
|
||||
double min = 0;
|
||||
double max = 0;
|
||||
double sum = 0;
|
||||
double mean = 0;
|
||||
double p25 = 0;
|
||||
double p50 = 0;
|
||||
double p75 = 0;
|
||||
std::vector<float> hist;
|
||||
std::vector<std::pair<std::string,int>> top_categories;
|
||||
};
|
||||
|
||||
constexpr int HIST_BINS = 24;
|
||||
|
||||
ColStats compute_column_stats(const char* const* cells, int rows, int cols,
|
||||
int col, int unique_cap = 100000,
|
||||
const int* indices = nullptr, int n_indices = 0);
|
||||
|
||||
} // namespace data_table
|
||||
|
||||
Reference in New Issue
Block a user