nodejs-polars
Version:
Polars: Blazingly fast DataFrames in Rust, Python, Node.js, R and SQL
29 lines (28 loc) • 673 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Config = void 0;
/**
* @ignore
*/
exports.Config = {
setUtf8Tables() {
process.env["POLARS_FMT_NO_UTF8"] = undefined;
return this;
},
setAsciiTables() {
process.env["POLARS_FMT_NO_UTF8"] = "1";
return this;
},
setTblWidthChars(width) {
process.env["POLARS_TABLE_WIDTH"] = String(width);
return this;
},
setTblRows(n) {
process.env["POLARS_FMT_MAX_ROWS"] = String(n);
return this;
},
setTblCols(n) {
process.env["POLARS_FMT_MAX_COLS"] = String(n);
return this;
},
};