diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/assets/highlight.css b/assets/highlight.css new file mode 100644 index 000000000..7c17150b5 --- /dev/null +++ b/assets/highlight.css @@ -0,0 +1,141 @@ +:root { + --light-hl-0: #008000; + --dark-hl-0: #6A9955; + --light-hl-1: #AF00DB; + --dark-hl-1: #C586C0; + --light-hl-2: #000000; + --dark-hl-2: #D4D4D4; + --light-hl-3: #001080; + --dark-hl-3: #9CDCFE; + --light-hl-4: #A31515; + --dark-hl-4: #CE9178; + --light-hl-5: #0000FF; + --dark-hl-5: #569CD6; + --light-hl-6: #0070C1; + --dark-hl-6: #4FC1FF; + --light-hl-7: #795E26; + --dark-hl-7: #DCDCAA; + --light-hl-8: #098658; + --dark-hl-8: #B5CEA8; + --light-hl-9: #000000; + --dark-hl-9: #C8C8C8; + --light-hl-10: #EE0000; + --dark-hl-10: #D7BA7D; + --light-hl-11: #267F99; + --dark-hl-11: #4EC9B0; + --light-hl-12: #811F3F; + --dark-hl-12: #D16969; + --light-hl-13: #D16969; + --dark-hl-13: #CE9178; + --light-hl-14: #000000; + --dark-hl-14: #D7BA7D; + --light-hl-15: #CD3131; + --dark-hl-15: #F44747; + --light-hl-16: #000000FF; + --dark-hl-16: #D4D4D4; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --hl-12: var(--light-hl-12); + --hl-13: var(--light-hl-13); + --hl-14: var(--light-hl-14); + --hl-15: var(--light-hl-15); + --hl-16: var(--light-hl-16); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --hl-12: var(--dark-hl-12); + --hl-13: var(--dark-hl-13); + --hl-14: var(--dark-hl-14); + --hl-15: var(--dark-hl-15); + --hl-16: var(--dark-hl-16); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --hl-12: var(--light-hl-12); + --hl-13: var(--light-hl-13); + --hl-14: var(--light-hl-14); + --hl-15: var(--light-hl-15); + --hl-16: var(--light-hl-16); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --hl-12: var(--dark-hl-12); + --hl-13: var(--dark-hl-13); + --hl-14: var(--dark-hl-14); + --hl-15: var(--dark-hl-15); + --hl-16: var(--dark-hl-16); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } +.hl-11 { color: var(--hl-11); } +.hl-12 { color: var(--hl-12); } +.hl-13 { color: var(--hl-13); } +.hl-14 { color: var(--hl-14); } +.hl-15 { color: var(--hl-15); } +.hl-16 { color: var(--hl-16); } +pre, code { background: var(--code-background); } diff --git a/assets/icons.js b/assets/icons.js new file mode 100644 index 000000000..b79c9e89f --- /dev/null +++ b/assets/icons.js @@ -0,0 +1,15 @@ +(function(svg) { + svg.innerHTML = ``; + svg.style.display = 'none'; + if (location.protocol === 'file:') { + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', updateUseElements); + else updateUseElements() + function updateUseElements() { + document.querySelectorAll('use').forEach(el => { + if (el.getAttribute('href').includes('#icon-')) { + el.setAttribute('href', el.getAttribute('href').replace(/.*#/, '#')); + } + }); + } + } +})(document.body.appendChild(document.createElementNS('http://www.w3.org/2000/svg', 'svg'))) \ No newline at end of file diff --git a/assets/icons.svg b/assets/icons.svg new file mode 100644 index 000000000..7dead6118 --- /dev/null +++ b/assets/icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 000000000..d6f138860 --- /dev/null +++ b/assets/main.js @@ -0,0 +1,59 @@ +"use strict"; +"use strict";(()=>{var Ce=Object.create;var ne=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Ce(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),y=s.str.charAt(1),p;y in s.node.edges?p=s.node.edges[y]:(p=new t.TokenSet,s.node.edges[y]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(console.log("Show page"),document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){console.log("Scorlling");let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!e.checkVisibility()){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ve(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ne(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ve(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${ce(l.parent,i)}.${d}`);let y=document.createElement("li");y.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,y.append(p),e.appendChild(y)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ne(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var He={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>He[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",fe="mousemove",H="mouseup",J={x:0,y:0},pe=!1,ee=!1,Be=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",fe="touchmove",H="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(H,()=>{ee=!1});document.addEventListener("click",t=>{pe&&(t.preventDefault(),t.stopImmediatePropagation(),pe=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(H,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(H,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ye=document.head.appendChild(document.createElement("style"));ye.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ye.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ve(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ve(t.value)})}function ve(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.pathname===r.pathname&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/assets/navigation.js b/assets/navigation.js new file mode 100644 index 000000000..a063a4dc7 --- /dev/null +++ b/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA61bTZPbNhL9L8rVmc2MFO3Et42y3nXKazvWMD6kXClEgkbYoUiaojQfqf3vWyBAAg2guyEpx5nX76FJAg10o/Xbn5NOPnWT15Mf67qcvJo0ottOXk+OolXij1Lu/6b/f7Xtdhp8UNV68np6879XCK17bizl22tIuvnuh79ff+8zF6KT93WrViI5rgcTwydFjBcelOHMVqhKru+2sop0HJSp8hlX+ZyjUtZ7uf6sqnX9GMl4GKtTVyvRfWg6VVd7J6SqTrYbsdJqvkUg9/3ck/pJdOJNK3bSyezq9aGUhvWNjxv+7PqH2fS7WUpjUVf7rj2surpNepUy5Jy7e24831al2O+tkkYg+/rmlmTbJxvZ4eyZvZqstqpct7KavP6NXAmeRLyO4i8GJRA/vjHLy8nMb65ns7w14Umh6ytzpWLegWWHO/mT6CThnYY5t6AE5o+24hzp1I5zRpvkOASlNodq1S+ulFw4r+bALblSO/IDWgvWqVAo7ZOxIl16o57keqle5Du17wjHgB3nHiKadBLY0q6WteimN5STxoJ1LxTCppk1pGZabzKfcU7NZ1lO+UKkU/MZ5dTbqrueEy71OOdQIIK505sxzpAfrccznMn5YL0Z4wz5sXo8w5mcD9WbMc7c0r7cZrhym+XJLeUIs/ZzlnzGSmcX+PtDScVGDXNuQAnsfWgr6n18+OO/ckW9EWPAORPKYO4YO8qhZdeq6p5wyBhwDoUymEPGjnHoQL4hY5DhEJBJzhtjRM6cO3qvv8vY56EE9mbu+i0efy8FF3qLrNgbymDuFGz0LbjwW2TF31CGcoiOwAUXgousGBzKUA7RUbhgwnCRE4eLvEBccJG46DakL92GdwVI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ZEDpfbbcjIjLAhEJr+2IRhQFmFBbLXwmBxfJXnr/sWimw2hewYbTeflwQKm8/Lhj+z8sP7wkBDWcosI/jjBg1289BSFkLRueTXNXtGot1ngWp00h0pzAgwd7rplN0pliU4eNf16IMX3fcEAIaZhTo7+FZUDqylGhCa0CKrYPDTlS6Q54IIaEZpUgl2AYk96P9YcfGZGBDaHVCYRIaIphH2e6V/3lBAmRRIgd6BGkMGFlDiR/OfyFjMbgc9WDsZjSOxUDBgykFsMIiAYMy/DB4pVRGG0oLrNZIxaAUH8biSMDCnAL7OMCIUovWfiTlLCidKBZHOs4C14GxOJCwIMaOYjGgO5Ti41/XoRQfxuJIwMKUAv09oAWqE8RiKDGAKBuNxVAnNkMVg1gMdWwspvjpWAxlAhtMC8ZiIGEhjEnE4lMDMRjWBOJo4C//B3PRy3yrUQAA" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js new file mode 100644 index 000000000..2b694b585 --- /dev/null +++ b/assets/search.js @@ -0,0 +1 @@ +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA8W9b5PctrHo/V1WbxXdIQCSgN8linOOTzmJjyWdU0+5Ui5qhrvLaIYcczi7klP57rcIEByg2Q2C5Nx6XnmtaaBBNv71D93gvx7a5vXy8N0v/3r4UtWHh+8y8fahLk7lw3cPH/77x/dN3ZVfu4e3D9f2+PDdw+O13ndVU1/+z+3Hd8/d6fjw9mF/LC6X8vLw3cPDv9/a6m61nY9jLafmcD2Wl/9zPgbLxjblfHwXbM3bh3PRlnVnGnGrn7Ox/u+/ntux5peirYrPQwP7XxbUydIMr7Squ7J9LPa3Wv+QLKg32bHb2/i1jKr5jZWj6tfCbuMzloibmkPRlRFaBrGVSi5dzJMYqZUqjpcuQoWRWv8U132MllEwWtFOyFFN13zo2qp+ilDkiK5U9V8f/v63KEWD4Co1xedLhA4jtU7B09N/tM31HKXGkV2n7FgVUYoGuXVK6kOMCi21TkG73zdRj2EFN6h5jtbzvEHRparj9BjBDWoin2eQXKu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Qd/8wG9QlyHuoaZC+fuIOUkYce/T2UkyPVxN1VMJIzdg0CSNzTP0Zuubtmuo3wpiJrmfE6xjEe1c6m5H1Jtu6u8KpP3DvWksCInK7DzL3bk5HxGF3T5+AekLnAPdgkd3Zdcz2fsY7krrrkJST95RGXc+OXZe6dBYxcabv22n/Io2yLp6fy0MfLA2rsRmGrMeaJNED7jYr5c5NkSODZv8V9U7b7yddcXF98vA+HzDm7Tm9/cXFiaoP2U5uQkNmwqczGAGQ2bz8jt23X6fUvbipIasFjas9VM8tCM5tql9lv6WQkirxO739x/ezUxrem9nqGzIZRZdYBzuzOPCNTVq/TC2Dc5BqbzJLaG6syO2FmNpQks3g1I12vaVRz4k4ayRi7xsdp2R7nkfd6Xeu6BB8rc2/TZWRo/rWeJ5XutoVMQtBjd5KqmLgzR0I3/zw9fmLuiSYjHRV4bwJ3j9dS27FSm5CeWfc+s0tcZolgRuLnlz6mXp8V+nO9iyMFSXpeJhH5zD1lFOMBKRkEDM9X3VktGUNW7D6bk+daL0VbwauO3YDtjLy6ro+5gJGg7mF8ykd3jHyJk8vQmLsiMTKA9lXf5waOyl1aZnfAioxCnn5QzqXvt3zlcU9uw/5In+q1vzXTN4p7Zm1nNkZGhWuy7sNtdwNgO25Czojmy26T02V3rVXWSVB2G6fIcKbXqnueXsfJ3GvG2PhxBHIg32ox4VH+TdNuZAuzL5uToT63ysAWy90y20xgTo6/vhrsrJ+5kS3MdmBO7oxe26orJzGrrqvEyBSEsSx6gOo65GSaka4C8nKXFjJyb2SLol86c3dXZKaHrgEeibvRL4wEKrYo+uQu0CDvP9A1TM7C3emHkaezY1n0khQXHpI8W1eBnRa4l8Mx8oY2tzj6DjzwTxngd3j2xF14LUntv1fnvv/7y5Ybj4uPvn+8fThX51Knjn73yz/+/e//C8znYqrTygIA"; \ No newline at end of file diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 000000000..778b94927 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1412 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-keyword: #056bd6; + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: #a55c0e; + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-keyword: #3399ff; + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: #e07d13; + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a:not(.link), +h2 > a:not(.link), +h3 > a:not(.link), +h4 > a:not(.link), +h5 > a:not(.link), +h6 > a:not(.link) { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} +.tsd-generator { + margin: 0 1em; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h4, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); +} +.tsd-full-hierarchy, +.tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; +} +.tsd-full-hierarchy ul { + padding-left: 1.5rem; +} +.tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.25rem); + display: flex; + align-items: center; +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: flex; + width: calc(100% - 0.25rem); + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + background-color: var(--color-background); + line-height: initial; + padding: 4px; +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: + opacity 0.1s, + background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through !important; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/classes/DataType.html b/classes/DataType.html new file mode 100644 index 000000000..59aae70af --- /dev/null +++ b/classes/DataType.html @@ -0,0 +1,8 @@ +DataType | nodejs-polars

Class DataTypeAbstract

Constructors

Accessors

Methods

Constructors

Accessors

Methods

\ No newline at end of file diff --git a/classes/pl.Field.html b/classes/pl.Field.html new file mode 100644 index 000000000..a94a85cff --- /dev/null +++ b/classes/pl.Field.html @@ -0,0 +1,6 @@ +Field | nodejs-polars

Implements

Implemented by

Constructors

Properties

Methods

Constructors

Properties

dtype: DataType
name: string

Methods

\ No newline at end of file diff --git a/functions/DataType-1.Datetime-1.html b/functions/DataType-1.Datetime-1.html new file mode 100644 index 000000000..9e64ff1a8 --- /dev/null +++ b/functions/DataType-1.Datetime-1.html @@ -0,0 +1,4 @@ +Datetime | nodejs-polars
  • Calendar date and time type

    +

    Parameters

    • timeUnit: TimeUnit

      any of 'ms' | 'ns' | 'us'

      +
    • Optional timeZone: any

      timezone string as defined by Intl.DateTimeFormat America/New_York for example.

      +

    Returns DataType

  • Parameters

    • timeUnit: "ms" | "ns" | "us"
    • Optional timeZone: any

    Returns DataType

\ No newline at end of file diff --git a/functions/DataType-1.Decimal-1.html b/functions/DataType-1.Decimal-1.html new file mode 100644 index 000000000..b18ef3180 --- /dev/null +++ b/functions/DataType-1.Decimal-1.html @@ -0,0 +1,2 @@ +Decimal | nodejs-polars
\ No newline at end of file diff --git a/functions/DataType-1.FixedSizeList-1.html b/functions/DataType-1.FixedSizeList-1.html new file mode 100644 index 000000000..217cfbc2b --- /dev/null +++ b/functions/DataType-1.FixedSizeList-1.html @@ -0,0 +1,3 @@ +FixedSizeList | nodejs-polars
  • List of fixed length +This is called Array in other polars implementations, but Array is widely used in JS, so we use FixedSizeList instead.

    +

    Parameters

    Returns DataType

\ No newline at end of file diff --git a/functions/DataType-1.List-1.html b/functions/DataType-1.List-1.html new file mode 100644 index 000000000..033225b90 --- /dev/null +++ b/functions/DataType-1.List-1.html @@ -0,0 +1,3 @@ +List | nodejs-polars
\ No newline at end of file diff --git a/functions/DataType-1.Struct-1.html b/functions/DataType-1.Struct-1.html new file mode 100644 index 000000000..a831c07e9 --- /dev/null +++ b/functions/DataType-1.Struct-1.html @@ -0,0 +1,2 @@ +Struct | nodejs-polars
\ No newline at end of file diff --git a/functions/DataType-1.deserialize.html b/functions/DataType-1.deserialize.html new file mode 100644 index 000000000..1d20b2037 --- /dev/null +++ b/functions/DataType-1.deserialize.html @@ -0,0 +1,3 @@ +deserialize | nodejs-polars
\ No newline at end of file diff --git a/functions/Datetime.html b/functions/Datetime.html new file mode 100644 index 000000000..c6bec395a --- /dev/null +++ b/functions/Datetime.html @@ -0,0 +1,4 @@ +Datetime | nodejs-polars

Function Datetime

  • Calendar date and time type

    +

    Parameters

    • timeUnit: TimeUnit

      any of 'ms' | 'ns' | 'us'

      +
    • Optional timeZone: any

      timezone string as defined by Intl.DateTimeFormat America/New_York for example.

      +

    Returns DataType

  • Parameters

    • timeUnit: "ms" | "ns" | "us"
    • Optional timeZone: any

    Returns DataType

\ No newline at end of file diff --git a/functions/Decimal.html b/functions/Decimal.html new file mode 100644 index 000000000..3d703a83e --- /dev/null +++ b/functions/Decimal.html @@ -0,0 +1,2 @@ +Decimal | nodejs-polars

Function Decimal

\ No newline at end of file diff --git a/functions/FixedSizeList.html b/functions/FixedSizeList.html new file mode 100644 index 000000000..3b5a1f357 --- /dev/null +++ b/functions/FixedSizeList.html @@ -0,0 +1,3 @@ +FixedSizeList | nodejs-polars

Function FixedSizeList

  • List of fixed length +This is called Array in other polars implementations, but Array is widely used in JS, so we use FixedSizeList instead.

    +

    Parameters

    Returns DataType

\ No newline at end of file diff --git a/functions/List.html b/functions/List.html new file mode 100644 index 000000000..06b4dda56 --- /dev/null +++ b/functions/List.html @@ -0,0 +1,3 @@ +List | nodejs-polars

Function List

\ No newline at end of file diff --git a/functions/SQLContext.html b/functions/SQLContext.html new file mode 100644 index 000000000..ac54a017d --- /dev/null +++ b/functions/SQLContext.html @@ -0,0 +1,5 @@ +SQLContext | nodejs-polars

Function SQLContext

  • Run SQL queries against DataFrame/LazyFrame data.

    +

    Parameters

    Returns sql.SQLContext

    Warning

    This functionality is considered unstable, although it is close to being +considered stable. It may be changed at any point without it being considered +a breaking change.

    +
\ No newline at end of file diff --git a/functions/Struct.html b/functions/Struct.html new file mode 100644 index 000000000..615805649 --- /dev/null +++ b/functions/Struct.html @@ -0,0 +1,2 @@ +Struct | nodejs-polars

Function Struct

\ No newline at end of file diff --git a/functions/_Expr.html b/functions/_Expr.html new file mode 100644 index 000000000..ae88b5995 --- /dev/null +++ b/functions/_Expr.html @@ -0,0 +1 @@ +_Expr | nodejs-polars

Function _Expr

\ No newline at end of file diff --git a/functions/_Series.html b/functions/_Series.html new file mode 100644 index 000000000..e8580845c --- /dev/null +++ b/functions/_Series.html @@ -0,0 +1 @@ +_Series | nodejs-polars

Function _Series

\ No newline at end of file diff --git a/functions/all.html b/functions/all.html new file mode 100644 index 000000000..d0dab484f --- /dev/null +++ b/functions/all.html @@ -0,0 +1,2 @@ +all | nodejs-polars

Function all

\ No newline at end of file diff --git a/functions/exprToLitOrExpr.html b/functions/exprToLitOrExpr.html new file mode 100644 index 000000000..9658f873d --- /dev/null +++ b/functions/exprToLitOrExpr.html @@ -0,0 +1 @@ +exprToLitOrExpr | nodejs-polars

Function exprToLitOrExpr

\ No newline at end of file diff --git a/functions/pl.DataFrame.html b/functions/pl.DataFrame.html new file mode 100644 index 000000000..9b29bb5cd --- /dev/null +++ b/functions/pl.DataFrame.html @@ -0,0 +1,23 @@ +DataFrame | nodejs-polars

Function DataFrame

  • Create an empty DataFrame

    +

    Returns pl.DataFrame

  • Create a DataFrame from a JavaScript object

    +

    Parameters

    • data: any

      object or array of data

      +
    • Optional options: {
          columns?: any[];
          inferSchemaLength?: number;
          orient?: "row" | "col";
          schema?: Record<string, string | DataType>;
          schemaOverrides?: Record<string, string | DataType>;
      }

      options

      +
      • Optional columns?: any[]

        column names

        +
      • Optional inferSchemaLength?: number

        The maximum number of rows to scan for schema inference. If set to None, the full data may be scanned (this can be slow). This parameter only applies if the input data is a sequence or generator of rows; other input is read as-is. +The number of entries in the schema should match the underlying data dimensions, unless a sequence of dictionaries is being passed, in which case a partial schema can be declared to prevent specific fields from being loaded.

        +
      • Optional orient?: "row" | "col"

        orientation of the data [row, col] +Whether to interpret two-dimensional data as columns or as rows. If None, the orientation is inferred by matching the columns and data dimensions. If this does not yield conclusive results, column orientation is used.

        +
      • Optional schema?: Record<string, string | DataType>

        The schema of the resulting DataFrame. The schema may be declared in several ways:

        +
        - As a dict of {name:type} pairs; if type is None, it will be auto-inferred.

        - As a list of column names; in this case types are automatically inferred.

        - As a list of (name,type) pairs; this is equivalent to the dictionary form. +
        +

        If you supply a list of column names that does not match the names in the underlying data, the names given here will overwrite them. The number of names given in the schema should match the underlying data dimensions.

        +

        If set to null (default), the schema is inferred from the data.

        +
      • Optional schemaOverrides?: Record<string, string | DataType>

        Support type specification or override of one or more columns; note that any dtypes inferred from the schema param will be overridden.

        +

    Returns pl.DataFrame

    Example

    data = {'a': [1n, 2n], 'b': [3, 4]}
    df = pl.DataFrame(data)
    df
    shape: (2, 2)
    ╭─────┬─────╮
    ab
    │ --- ┆ --- │
    u64i64
    ╞═════╪═════╡
    13
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    24
    ╰─────┴─────╯ +
    +

Methods

\ No newline at end of file diff --git a/functions/pl.Datetime.html b/functions/pl.Datetime.html new file mode 100644 index 000000000..7d9ef8faf --- /dev/null +++ b/functions/pl.Datetime.html @@ -0,0 +1,4 @@ +Datetime | nodejs-polars

Function Datetime

  • Calendar date and time type

    +

    Parameters

    • timeUnit: TimeUnit

      any of 'ms' | 'ns' | 'us'

      +
    • Optional timeZone: any

      timezone string as defined by Intl.DateTimeFormat America/New_York for example.

      +

    Returns DataType

  • Parameters

    • timeUnit: "ms" | "ns" | "us"
    • Optional timeZone: any

    Returns DataType

\ No newline at end of file diff --git a/functions/pl.Decimal.html b/functions/pl.Decimal.html new file mode 100644 index 000000000..7e0712726 --- /dev/null +++ b/functions/pl.Decimal.html @@ -0,0 +1,2 @@ +Decimal | nodejs-polars

Function Decimal

\ No newline at end of file diff --git a/functions/pl.Field-1.from.html b/functions/pl.Field-1.from.html new file mode 100644 index 000000000..1aa4f7937 --- /dev/null +++ b/functions/pl.Field-1.from.html @@ -0,0 +1 @@ +from | nodejs-polars
\ No newline at end of file diff --git a/functions/pl.FixedSizeList.html b/functions/pl.FixedSizeList.html new file mode 100644 index 000000000..f740d431b --- /dev/null +++ b/functions/pl.FixedSizeList.html @@ -0,0 +1,3 @@ +FixedSizeList | nodejs-polars

Function FixedSizeList

  • List of fixed length +This is called Array in other polars implementations, but Array is widely used in JS, so we use FixedSizeList instead.

    +

    Parameters

    Returns DataType

\ No newline at end of file diff --git a/functions/pl.List.html b/functions/pl.List.html new file mode 100644 index 000000000..7162dc22d --- /dev/null +++ b/functions/pl.List.html @@ -0,0 +1,3 @@ +List | nodejs-polars

Function List

\ No newline at end of file diff --git a/functions/pl.SQLContext.html b/functions/pl.SQLContext.html new file mode 100644 index 000000000..5877b887b --- /dev/null +++ b/functions/pl.SQLContext.html @@ -0,0 +1,5 @@ +SQLContext | nodejs-polars

Function SQLContext

  • Run SQL queries against DataFrame/LazyFrame data.

    +

    Parameters

    Returns sql.SQLContext

    Warning

    This functionality is considered unstable, although it is close to being +considered stable. It may be changed at any point without it being considered +a breaking change.

    +
\ No newline at end of file diff --git a/functions/pl.Series.html b/functions/pl.Series.html new file mode 100644 index 000000000..b832b3481 --- /dev/null +++ b/functions/pl.Series.html @@ -0,0 +1,21 @@ +Series | nodejs-polars

Function Series

  • Creates a new Series from a set of values.

    +

    Parameters

    • values: any

      — A set of values to include in the new Series object.

      +

    Returns pl.Series

    Example

    >  pl.Series([1, 2, 3])
    shape: (3,)
    Series: '' [f64]
    [
    1
    2
    3
    ] +
    +
  • Create a new named series

    +

    Parameters

    • name: string

      The name of the series

      +
    • values: any[]

      A set of values to include in the new Series object.

      +
    • Optional dtype: any

    Returns pl.Series

    Example

    >  pl.Series('foo', [1, 2, 3])
    shape: (3,)
    Series: 'foo' [f64]
    [
    1
    2
    3
    ] +
    +

Methods

  • Returns a new Series from a set of elements.

    +

    Type Parameters

    • T3

    Parameters

    • Rest ...items: T3[]

      — A set of elements to include in the new Series object.

      +

    Returns pl.Series

\ No newline at end of file diff --git a/functions/pl.Struct.html b/functions/pl.Struct.html new file mode 100644 index 000000000..520d58f35 --- /dev/null +++ b/functions/pl.Struct.html @@ -0,0 +1,2 @@ +Struct | nodejs-polars

Function Struct

\ No newline at end of file diff --git a/functions/pl.allHorizontal.html b/functions/pl.allHorizontal.html new file mode 100644 index 000000000..e1e96479c --- /dev/null +++ b/functions/pl.allHorizontal.html @@ -0,0 +1,4 @@ +allHorizontal | nodejs-polars

Function allHorizontal

  • Compute the bitwise AND horizontally across columns.

    +

    Parameters

    • exprs: ExprOrString | ExprOrString[]

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame(
    {
    "a": [false, false, true, true],
    "b": [false, true, null, true],
    "c": ["w", "x", "y", "z"],
    }
    )
    >>> df.withColumns(pl.allHorizontal([pl.col("a"), pl.col("b")]))
    shape: (4, 4)
    ┌───────┬───────┬─────┬───────┐
    abcall
    │ --- ┆ --- ┆ --- ┆ --- │
    boolboolstrbool
    ╞═══════╪═══════╪═════╪═══════╡
    falsefalsewfalse
    falsetruexfalse
    truenullynull
    truetrueztrue
    └───────┴───────┴─────┴───────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.anyHorizontal.html b/functions/pl.anyHorizontal.html new file mode 100644 index 000000000..8f23456f4 --- /dev/null +++ b/functions/pl.anyHorizontal.html @@ -0,0 +1,4 @@ +anyHorizontal | nodejs-polars

Function anyHorizontal

  • Compute the bitwise OR horizontally across columns.

    +

    Parameters

    • exprs: ExprOrString | ExprOrString[]

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame(
    ... {
    ... "a": [false, false, true, null],
    ... "b": [false, true, null, null],
    ... "c": ["w", "x", "y", "z"],
    ... }
    ... )
    >>> df.withColumns(pl.anyHorizontal([pl.col("a"), pl.col("b")]))
    shape: (4, 4)
    ┌───────┬───────┬─────┬───────┐
    abcany
    │ --- ┆ --- ┆ --- ┆ --- │
    boolboolstrbool
    ╞═══════╪═══════╪═════╪═══════╡
    falsefalsewfalse
    falsetruextrue
    truenullytrue
    nullnullznull
    └───────┴───────┴─────┴───────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.argSortBy.html b/functions/pl.argSortBy.html new file mode 100644 index 000000000..f47043dc0 --- /dev/null +++ b/functions/pl.argSortBy.html @@ -0,0 +1,6 @@ +argSortBy | nodejs-polars

Function argSortBy

  • Return the row indices that would sort the columns.

    +

    Parameters

    • exprs: string[] | pl.Expr[]

      Column(s) to arg sort by. Accepts expression input.

      +
    • descending: boolean | boolean[] = false

      Sort in descending order. When sorting by multiple columns, can be specified per column by passing a sequence of booleans.

      +

    Returns pl.Expr

    Example

    const df = pl.DataFrame({"a": [0, 1, 1, 0], "b": [3, 2, 3, 2],});
    df.select(pl.argSortBy(pl.col("a")));
    shape: (4, 1)
    ┌─────┐
    a
    │ --- │
    u32
    ╞═════╡
    0
    3
    1
    2
    └─────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.avg.html b/functions/pl.avg.html new file mode 100644 index 000000000..8b84ab4eb --- /dev/null +++ b/functions/pl.avg.html @@ -0,0 +1,3 @@ +avg | nodejs-polars

Function avg

\ No newline at end of file diff --git a/functions/pl.col.html b/functions/pl.col.html new file mode 100644 index 000000000..b42de6b24 --- /dev/null +++ b/functions/pl.col.html @@ -0,0 +1,10 @@ +col | nodejs-polars

Function col

  • A column in a DataFrame. +Can be used to select:

    +
      +
    • a single column by name
    • +
    • all columns by using a wildcard "*"
    • +
    • column by regular expression if the regex starts with ^ and ends with $
    • +
    +

    Parameters

    Returns pl.Expr

    Example

    > df = pl.DataFrame({
    > "ham": [1, 2, 3],
    > "hamburger": [11, 22, 33],
    > "foo": [3, 2, 1]})
    > df.select(col("foo"))
    shape: (3, 1)
    ╭─────╮
    foo
    │ --- │
    i64
    ╞═════╡
    3
    ├╌╌╌╌╌┤
    2
    ├╌╌╌╌╌┤
    1
    ╰─────╯
    > df.select(col("*"))
    shape: (3, 3)
    ╭─────┬───────────┬─────╮
    hamhamburgerfoo
    │ --- ┆ --- ┆ --- │
    i64i64i64
    ╞═════╪═══════════╪═════╡
    1113
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    2222
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    3331
    ╰─────┴───────────┴─────╯
    > df.select(col("^ham.*$"))
    shape: (3, 2)
    ╭─────┬───────────╮
    hamhamburger
    │ --- ┆ --- │
    i64i64
    ╞═════╪═══════════╡
    111
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┤
    222
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┤
    333
    ╰─────┴───────────╯
    > df.select(col("*").exclude("ham"))
    shape: (3, 2)
    ╭───────────┬─────╮
    hamburgerfoo
    │ --- ┆ --- │
    i64i64
    ╞═══════════╪═════╡
    113
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    222
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    331
    ╰───────────┴─────╯
    > df.select(col(["hamburger", "foo"])
    shape: (3, 2)
    ╭───────────┬─────╮
    hamburgerfoo
    │ --- ┆ --- │
    i64i64
    ╞═══════════╪═════╡
    113
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    222
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    331
    ╰───────────┴─────╯
    > df.select(col(pl.Series(["hamburger", "foo"]))
    shape: (3, 2)
    ╭───────────┬─────╮
    hamburgerfoo
    │ --- ┆ --- │
    i64i64
    ╞═══════════╪═════╡
    113
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    222
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    331
    ╰───────────┴─────╯ +
    +
\ No newline at end of file diff --git a/functions/pl.cols.html b/functions/pl.cols.html new file mode 100644 index 000000000..98388f29d --- /dev/null +++ b/functions/pl.cols.html @@ -0,0 +1 @@ +cols | nodejs-polars

Function cols

\ No newline at end of file diff --git a/functions/pl.concat.html b/functions/pl.concat.html new file mode 100644 index 000000000..fc21aa86a --- /dev/null +++ b/functions/pl.concat.html @@ -0,0 +1,5 @@ +concat | nodejs-polars

Function concat

  • Aggregate all the Dataframes/Series in a List of DataFrames/Series to a single DataFrame/Series.

    +

    Parameters

    Returns pl.DataFrame

    Example

    > const df1 = pl.DataFrame({"a": [1], "b": [3]});
    > const df2 = pl.DataFrame({"a": [2], "b": [4]});
    > pl.concat([df1, df2]);
    shape: (2, 2)
    ┌─────┬─────┐
    ab
    │ --- ┆ --- │
    i64i64
    ╞═════╪═════╡
    13
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    24
    └─────┴─────┘

    > const a = pl.DataFrame({ a: ["a", "b"], b: [1, 2] });
    > const b = pl.DataFrame({ c: [5, 6], d: [7, 8], e: [9, 10]});
    > pl.concat([a, b], { how: "horizontal" });

    shape: (2, 5)
    ┌─────┬─────┬─────┬─────┬──────┐
    abcde
    │ --- ┆ --- ┆ --- ┆ --- ┆ --- │
    strf64f64f64f64
    ╞═════╪═════╪═════╪═════╪══════╡
    a1.05.07.09.0
    b2.06.08.010.0
    └─────┴─────┴─────┴─────┴──────┘

    > const df_d1 = pl.DataFrame({"a": [1], "b": [3]});
    > const df_d2 = pl.DataFrame({"a": [2], "c": [4]});
    > pl.concat([df_d1, df_d2], { how: "diagonal" });

    shape: (2, 3)
    ┌─────┬──────┬──────┐
    abc
    │ --- ┆ --- ┆ --- │
    i64i64i64
    ╞═════╪══════╪══════╡
    13null
    2null4
    └─────┴──────┴──────┘ +
    +
  • Type Parameters

    • T

    Parameters

    • items: pl.Series[]
    • Optional options: {
          rechunk: boolean;
      }
      • rechunk: boolean

    Returns pl.Series

\ No newline at end of file diff --git a/functions/pl.concatList.html b/functions/pl.concatList.html new file mode 100644 index 000000000..63a1ce173 --- /dev/null +++ b/functions/pl.concatList.html @@ -0,0 +1,3 @@ +concatList | nodejs-polars

Function concatList

  • Concat the arrays in a Series dtype List in linear time.

    +

    Parameters

    • exprs: ExprOrString[]

      Columns to concat into a List Series

      +

    Returns pl.Expr

  • Parameters

    • expr: ExprOrString
    • Rest ...exprs: ExprOrString[]

    Returns pl.Expr

  • Parameters

    • expr: ExprOrString
    • expr2: ExprOrString
    • Rest ...exprs: ExprOrString[]

    Returns pl.Expr

\ No newline at end of file diff --git a/functions/pl.concatString.html b/functions/pl.concatString.html new file mode 100644 index 000000000..4153bc4eb --- /dev/null +++ b/functions/pl.concatString.html @@ -0,0 +1,2 @@ +concatString | nodejs-polars

Function concatString

  • Concat Utf8 Series in linear time. Non utf8 columns are cast to utf8.

    +

    Parameters

    • opts: {
          exprs: ExprOrString[];
          ignoreNulls?: boolean;
          sep: string;
      }
      • exprs: ExprOrString[]
      • Optional ignoreNulls?: boolean
      • sep: string

    Returns any

  • Parameters

    • exprs: ExprOrString[]
    • Optional sep: string
    • Optional ignoreNulls: boolean

    Returns any

\ No newline at end of file diff --git a/functions/pl.count.html b/functions/pl.count.html new file mode 100644 index 000000000..f5acfa739 --- /dev/null +++ b/functions/pl.count.html @@ -0,0 +1,2 @@ +count | nodejs-polars

Function count

\ No newline at end of file diff --git a/functions/pl.cov.html b/functions/pl.cov.html new file mode 100644 index 000000000..2658c9832 --- /dev/null +++ b/functions/pl.cov.html @@ -0,0 +1,2 @@ +cov | nodejs-polars

Function cov

  • Compute the covariance between two columns/ expressions.

    +

    Parameters

    • a: ExprOrString
    • b: ExprOrString
    • ddof: number = 1

    Returns pl.Expr

\ No newline at end of file diff --git a/functions/pl.element.html b/functions/pl.element.html new file mode 100644 index 000000000..fc09bcffb --- /dev/null +++ b/functions/pl.element.html @@ -0,0 +1,4 @@ +element | nodejs-polars

Function element

  • Alias for an element in evaluated in an eval expression.

    +

    Returns pl.Expr

    Example

    *
    * A horizontal rank computation by taking the elements of a list
    *
    * >df = pl.DataFrame({"a": [1, 8, 3], "b": [4, 5, 2]})
    * >df.withColumn(
    * ... pl.concatList(["a", "b"]).arr.eval(pl.element().rank()).alias("rank")
    * ... )
    * shape: (3, 3)
    * ┌─────┬─────┬────────────┐
    * │ abrank
    * │ --- ┆ --- ┆ --- │
    * │ i64i64list[f32] │
    * ╞═════╪═════╪════════════╡
    * │ 14 ┆ [1.0, 2.0] │
    * ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    * │ 85 ┆ [2.0, 1.0] │
    * ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    * │ 32 ┆ [2.0, 1.0] │
    * └─────┴─────┴────────────┘
    *
    * A mathematical operation on array elements
    *
    * >df = pl.DataFrame({"a": [1, 8, 3], "b": [4, 5, 2]})
    * >df.withColumn(
    * ... pl.concatList(["a", "b"]).arr.eval(pl.element().multiplyBy(2)).alias("a_b_doubled")
    * ... )
    * shape: (3, 3)
    * ┌─────┬─────┬─────────────┐
    * │ aba_b_doubled
    * │ --- ┆ --- ┆ --- │
    * │ i64i64list[i64] │
    * ╞═════╪═════╪═════════════╡
    * │ 14 ┆ [2, 8] │
    * ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    * │ 85 ┆ [16, 10] │
    * ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    * │ 32 ┆ [6, 4] │
    * └─────┴─────┴─────────────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.exclude.html b/functions/pl.exclude.html new file mode 100644 index 000000000..77b3a456d --- /dev/null +++ b/functions/pl.exclude.html @@ -0,0 +1,5 @@ +exclude | nodejs-polars

Function exclude

  • Exclude certain columns from a wildcard expression.

    +

    Syntactic sugar for:

    +
    > pl.col("*").exclude(columns)
    +
    +

    Parameters

    • columns: string | string[]

    Returns pl.Expr

  • Parameters

    • col: string
    • Rest ...cols: string[]

    Returns pl.Expr

\ No newline at end of file diff --git a/functions/pl.first.html b/functions/pl.first.html new file mode 100644 index 000000000..13a5ad9fb --- /dev/null +++ b/functions/pl.first.html @@ -0,0 +1,2 @@ +first | nodejs-polars

Function first

\ No newline at end of file diff --git a/functions/pl.format.html b/functions/pl.format.html new file mode 100644 index 000000000..d8a9ca771 --- /dev/null +++ b/functions/pl.format.html @@ -0,0 +1,5 @@ +format | nodejs-polars

Function format

  • String format utility for expressions +Note: strings will be interpolated as col(<value>). if you want a literal string, use lit(<value>)

    +

    Parameters

    • strings: string | TemplateStringsArray
    • Rest ...expr: ExprOrString[]

    Returns pl.Expr

    Example

    > df = pl.DataFrame({
    ... "a": ["a", "b", "c"],
    ... "b": [1, 2, 3],
    ... })
    > df.select(
    ... pl.format("foo_{}_bar_{}", pl.col("a"), "b").alias("fmt"),
    ... )
    shape: (3, 1)
    ┌─────────────┐
    fmt
    │ --- │
    str
    ╞═════════════╡
    foo_a_bar_1
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    foo_b_bar_2
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    foo_c_bar_3
    └─────────────┘

    // You can use format as tag function as well
    > pl.format("foo_{}_bar_{}", pl.col("a"), "b") // is the same as
    > pl.format`foo_${pl.col("a")}_bar_${"b"}` +
    +
\ No newline at end of file diff --git a/functions/pl.groups.html b/functions/pl.groups.html new file mode 100644 index 000000000..1174dc770 --- /dev/null +++ b/functions/pl.groups.html @@ -0,0 +1,2 @@ +groups | nodejs-polars

Function groups

\ No newline at end of file diff --git a/functions/pl.head.html b/functions/pl.head.html new file mode 100644 index 000000000..b7dd5901e --- /dev/null +++ b/functions/pl.head.html @@ -0,0 +1,2 @@ +head | nodejs-polars

Function head

\ No newline at end of file diff --git a/functions/pl.intRange.html b/functions/pl.intRange.html new file mode 100644 index 000000000..e602e8141 --- /dev/null +++ b/functions/pl.intRange.html @@ -0,0 +1,7 @@ +intRange | nodejs-polars

Function intRange

  • Create a range expression.

    +
    +

    This can be used in a select, with_column etc. +Be sure that the range size is equal to the DataFrame you are collecting.

    +

    Type Parameters

    • T

    Parameters

    • opts: {
          dtype: DataType;
          eager?: boolean;
          high: any;
          low: any;
          step: number;
      }
      • dtype: DataType
      • Optional eager?: boolean
      • high: any
      • low: any
      • step: number

    Returns any

    Example

    > df.lazy()
    > .filter(pl.col("foo").lt(pl.intRange(0, 100)))
    > .collect() +
    +
  • Parameters

    • low: any
    • Optional high: any
    • Optional step: number
    • Optional dtype: DataType
    • Optional eager: true

    Returns pl.Series

  • Parameters

    • low: any
    • Optional high: any
    • Optional step: number
    • Optional dtype: DataType
    • Optional eager: false

    Returns pl.Expr

\ No newline at end of file diff --git a/functions/pl.intRanges.html b/functions/pl.intRanges.html new file mode 100644 index 000000000..e8562a77d --- /dev/null +++ b/functions/pl.intRanges.html @@ -0,0 +1,14 @@ +intRanges | nodejs-polars

Function intRanges

  • Generate a range of integers for each row of the input columns.

    +

    Parameters

    • start: any

      Lower bound of the range (inclusive).

      +
    • end: any

      Upper bound of the range (exclusive).

      +
    • Optional step: number

      Step size of the range.

      +
    • Optional dtype: DataType
    • Optional eager: false

      Evaluate immediately and return a Series. If set to False (default), return an expression instead.

      +

    Returns pl.Expr

      +
    • Column of data type List(dtype).
    • +
    +
      +
    • +
    +

    Example

    const df = pl.DataFrame({"a": [1, 2], "b": [3, 4]})
    const result = df.select(pl.intRanges("a", "b")); +
    +
  • Parameters

    • start: any
    • end: any
    • Optional step: number
    • Optional dtype: DataType
    • Optional eager: true

    Returns pl.Series

\ No newline at end of file diff --git a/functions/pl.last.html b/functions/pl.last.html new file mode 100644 index 000000000..51d061fd3 --- /dev/null +++ b/functions/pl.last.html @@ -0,0 +1,2 @@ +last | nodejs-polars

Function last

\ No newline at end of file diff --git a/functions/pl.list-2.html b/functions/pl.list-2.html new file mode 100644 index 000000000..aa847163a --- /dev/null +++ b/functions/pl.list-2.html @@ -0,0 +1,2 @@ +list | nodejs-polars

Function list

\ No newline at end of file diff --git a/functions/pl.lit.html b/functions/pl.lit.html new file mode 100644 index 000000000..2382d96e5 --- /dev/null +++ b/functions/pl.lit.html @@ -0,0 +1 @@ +lit | nodejs-polars

Function lit

\ No newline at end of file diff --git a/functions/pl.maxHorizontal.html b/functions/pl.maxHorizontal.html new file mode 100644 index 000000000..4345d798e --- /dev/null +++ b/functions/pl.maxHorizontal.html @@ -0,0 +1,4 @@ +maxHorizontal | nodejs-polars

Function maxHorizontal

  • Get the maximum value horizontally across columns.

    +

    Parameters

    • exprs: ExprOrString | ExprOrString[]

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame(
    ... {
    ... "a": [1, 8, 3],
    ... "b": [4, 5, null],
    ... "c": ["x", "y", "z"],
    ... }
    ... )
    >>> df.withColumns(pl.maxHorizontal(pl.col("a"), pl.col("b")))
    shape: (3, 4)
    ┌─────┬──────┬─────┬─────┐
    abcmax
    │ --- ┆ --- ┆ --- ┆ --- │
    i64i64stri64
    ╞═════╪══════╪═════╪═════╡
    14x4
    85y8
    3nullz3
    └─────┴──────┴─────┴─────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.mean.html b/functions/pl.mean.html new file mode 100644 index 000000000..eac8dc199 --- /dev/null +++ b/functions/pl.mean.html @@ -0,0 +1,2 @@ +mean | nodejs-polars

Function mean

\ No newline at end of file diff --git a/functions/pl.median.html b/functions/pl.median.html new file mode 100644 index 000000000..c22257376 --- /dev/null +++ b/functions/pl.median.html @@ -0,0 +1,2 @@ +median | nodejs-polars

Function median

\ No newline at end of file diff --git a/functions/pl.minHorizontal.html b/functions/pl.minHorizontal.html new file mode 100644 index 000000000..7098d6eab --- /dev/null +++ b/functions/pl.minHorizontal.html @@ -0,0 +1,4 @@ +minHorizontal | nodejs-polars

Function minHorizontal

  • Get the minimum value horizontally across columns.

    +

    Parameters

    • exprs: ExprOrString | ExprOrString[]

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame(
    ... {
    ... "a": [1, 8, 3],
    ... "b": [4, 5, null],
    ... "c": ["x", "y", "z"],
    ... }
    ... )
    >>> df.withColumns(pl.minHorizontal(pl.col("a"), pl.col("b")))
    shape: (3, 4)
    ┌─────┬──────┬─────┬─────┐
    abcmin
    │ --- ┆ --- ┆ --- ┆ --- │
    i64i64stri64
    ╞═════╪══════╪═════╪═════╡
    14x1
    85y5
    3nullz3
    └─────┴──────┴─────┴─────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.nUnique.html b/functions/pl.nUnique.html new file mode 100644 index 000000000..9c63264f0 --- /dev/null +++ b/functions/pl.nUnique.html @@ -0,0 +1,2 @@ +nUnique | nodejs-polars

Function nUnique

\ No newline at end of file diff --git a/functions/pl.nth.html b/functions/pl.nth.html new file mode 100644 index 000000000..cfb0a5a42 --- /dev/null +++ b/functions/pl.nth.html @@ -0,0 +1,5 @@ +nth | nodejs-polars

Function nth

  • Select nth column index in a DataFrame.

    +

    Parameters

    • n: number

      Column index to select, starting at 0.

      +

    Returns pl.Expr

    Example

    > df = pl.DataFrame({
    > "ham": [1, 2, 3],
    > "hamburger": [11, 22, 33],
    > "foo": [3, 2, 1]})
    > df.select(nth(2))
    shape: (3, 1)
    ╭─────╮
    foo
    │ --- │
    i64
    ╞═════╡
    3
    ├╌╌╌╌╌┤
    2
    ├╌╌╌╌╌┤
    1
    ╰─────╯ +
    +
\ No newline at end of file diff --git a/functions/pl.pearsonCorr.html b/functions/pl.pearsonCorr.html new file mode 100644 index 000000000..9e7aba7a0 --- /dev/null +++ b/functions/pl.pearsonCorr.html @@ -0,0 +1,2 @@ +pearsonCorr | nodejs-polars

Function pearsonCorr

  • Compute the pearson's correlation between two columns.

    +

    Parameters

    • a: ExprOrString
    • b: ExprOrString

    Returns pl.Expr

\ No newline at end of file diff --git a/functions/pl.quantile.html b/functions/pl.quantile.html new file mode 100644 index 000000000..d91697b9b --- /dev/null +++ b/functions/pl.quantile.html @@ -0,0 +1,2 @@ +quantile | nodejs-polars

Function quantile

\ No newline at end of file diff --git a/functions/pl.readAvro.html b/functions/pl.readAvro.html new file mode 100644 index 000000000..94b20c252 --- /dev/null +++ b/functions/pl.readAvro.html @@ -0,0 +1,2 @@ +readAvro | nodejs-polars

Function readAvro

\ No newline at end of file diff --git a/functions/pl.readCSV.html b/functions/pl.readCSV.html new file mode 100644 index 000000000..eaa204b07 --- /dev/null +++ b/functions/pl.readCSV.html @@ -0,0 +1,9 @@ +readCSV | nodejs-polars

Function readCSV

  • Read a CSV file or string into a Dataframe.

    +
    +

    Parameters

    • pathOrBody: string | Buffer

      path or buffer or string

      +
        +
      • path: Path to a file or a file like string. Any valid filepath can be used. Example: file.csv.
      • +
      • body: String or buffer to be read as a CSV
      • +
      +
    • Optional options: Partial<ReadCsvOptions>

    Returns pl.DataFrame

    DataFrame

    +
\ No newline at end of file diff --git a/functions/pl.readCSVStream.html b/functions/pl.readCSVStream.html new file mode 100644 index 000000000..673f68ffd --- /dev/null +++ b/functions/pl.readCSVStream.html @@ -0,0 +1,10 @@ +readCSVStream | nodejs-polars

Function readCSVStream

  • Read a stream into a Dataframe.

    +

    Warning: this is much slower than scanCSV or readCSV

    +

    This will consume the entire stream into a single buffer and then call readCSV +Only use it when you must consume from a stream, or when performance is not a major consideration

    +
    +

    Parameters

    • stream: Readable

      readable stream containing csv data

      +
    • Optional options: Partial<ReadCsvOptions>

    Returns Promise<pl.DataFrame>

    Promise

    +

    Example

    >>> const readStream = new Stream.Readable({read(){}});
    >>> readStream.push(`a,b\n`);
    >>> readStream.push(`1,2\n`);
    >>> readStream.push(`2,2\n`);
    >>> readStream.push(`3,2\n`);
    >>> readStream.push(`4,2\n`);
    >>> readStream.push(null);

    >>> pl.readCSVStream(readStream).then(df => console.log(df));
    shape: (4, 2)
    ┌─────┬─────┐
    ab
    │ --- ┆ --- │
    i64i64
    ╞═════╪═════╡
    12
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    22
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    32
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    42
    └─────┴─────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.readIPC.html b/functions/pl.readIPC.html new file mode 100644 index 000000000..c7e618f68 --- /dev/null +++ b/functions/pl.readIPC.html @@ -0,0 +1,8 @@ +readIPC | nodejs-polars

Function readIPC

  • Read into a DataFrame from Arrow IPC (Feather v2) file.

    +
    +

    Parameters

    • pathOrBody: string | Buffer

      path or buffer or string

      +
        +
      • path: Path to a file or a file like string. Any valid filepath can be used. Example: file.ipc.
      • +
      • body: String or buffer to be read as Arrow IPC
      • +
      +
    • Optional options: Partial<ReadIPCOptions>

    Returns pl.DataFrame

\ No newline at end of file diff --git a/functions/pl.readJSON.html b/functions/pl.readJSON.html new file mode 100644 index 000000000..04769bca6 --- /dev/null +++ b/functions/pl.readJSON.html @@ -0,0 +1,10 @@ +readJSON | nodejs-polars

Function readJSON

  • Read a JSON file or string into a DataFrame.

    +

    Parameters

    • pathOrBody: string | Buffer

      path or buffer or string

      +
        +
      • path: Path to a file or a file like string. Any valid filepath can be used. Example: file.csv.
      • +
      • body: String or buffer to be read as a CSV
      • +
      +
    • Optional options: Partial<ReadJsonOptions>

    Returns pl.DataFrame

    (DataFrame)

    +

    Example

    const jsonString = `
    {"a", 1, "b", "foo", "c": 3}
    {"a": 2, "b": "bar", "c": 6}
    `
    > const df = pl.readJSON(jsonString)
    > console.log(df)
    shape: (2, 3)
    ╭─────┬─────┬─────╮
    abc
    │ --- ┆ --- ┆ --- │
    i64stri64
    ╞═════╪═════╪═════╡
    1foo3
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    2bar6
    ╰─────┴─────┴─────╯ +
    +
\ No newline at end of file diff --git a/functions/pl.readJSONStream.html b/functions/pl.readJSONStream.html new file mode 100644 index 000000000..6bbceee9b --- /dev/null +++ b/functions/pl.readJSONStream.html @@ -0,0 +1,5 @@ +readJSONStream | nodejs-polars

Function readJSONStream

  • Read a newline delimited JSON stream into a DataFrame.

    +

    Parameters

    • stream: Readable

      readable stream containing json data

      +
    • Optional options: Partial<ReadJsonOptions>

    Returns Promise<pl.DataFrame>

    Example

    >>> const readStream = new Stream.Readable({read(){}});
    >>> readStream.push(`${JSON.stringify({a: 1, b: 2})} \n`);
    >>> readStream.push(`${JSON.stringify({a: 2, b: 2})} \n`);
    >>> readStream.push(`${JSON.stringify({a: 3, b: 2})} \n`);
    >>> readStream.push(`${JSON.stringify({a: 4, b: 2})} \n`);
    >>> readStream.push(null);

    >>> pl.readJSONStream(readStream, { format: "lines" }).then(df => console.log(df));
    shape: (4, 2)
    ┌─────┬─────┐
    ab
    │ --- ┆ --- │
    i64i64
    ╞═════╪═════╡
    12
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    22
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    32
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    42
    └─────┴─────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.readParquet.html b/functions/pl.readParquet.html new file mode 100644 index 000000000..b86983dc9 --- /dev/null +++ b/functions/pl.readParquet.html @@ -0,0 +1,2 @@ +readParquet | nodejs-polars

Function readParquet

  • Read into a DataFrame from a parquet file.

    +

    Parameters

    • pathOrBody: string | Buffer
    • Optional options: Partial<ReadParquetOptions>

    Returns pl.DataFrame

\ No newline at end of file diff --git a/functions/pl.readRecords.html b/functions/pl.readRecords.html new file mode 100644 index 000000000..c4e00f1ae --- /dev/null +++ b/functions/pl.readRecords.html @@ -0,0 +1 @@ +readRecords | nodejs-polars

Function readRecords

  • Parameters

    • records: Record<string, any>[]
    • Optional options: {
          schema: Record<string, DataType>;
      }

    Returns pl.DataFrame

  • Parameters

    • records: Record<string, any>[]
    • Optional options: {
          inferSchemaLength?: number;
      }
      • Optional inferSchemaLength?: number

    Returns pl.DataFrame

\ No newline at end of file diff --git a/functions/pl.repeat.html b/functions/pl.repeat.html new file mode 100644 index 000000000..4cc4743b5 --- /dev/null +++ b/functions/pl.repeat.html @@ -0,0 +1,7 @@ +repeat | nodejs-polars

Function repeat

  • Repeat a single value n times and collect into a Series.

    +

    Type Parameters

    • V

    Parameters

    • value: V

      Value to repeat.

      +
    • n: number

      Number of repeats

      +
    • name: string = ""

      Optional name of the Series

      +

    Returns pl.Series

    Example


    > const s = pl.repeat("a", 5)
    > s.toArray()
    ["a", "a", "a", "a", "a"]
    +
    +
\ No newline at end of file diff --git a/functions/pl.scanCSV.html b/functions/pl.scanCSV.html new file mode 100644 index 000000000..bc6ec341f --- /dev/null +++ b/functions/pl.scanCSV.html @@ -0,0 +1,7 @@ +scanCSV | nodejs-polars

Function scanCSV

  • Lazily read from a CSV file or multiple files via glob patterns.

    +

    This allows the query optimizer to push down predicates and +projections to the scan level, thereby potentially reducing +memory overhead.

    +
    +

    Parameters

    Returns LazyDataFrame

\ No newline at end of file diff --git a/functions/pl.scanIPC.html b/functions/pl.scanIPC.html new file mode 100644 index 000000000..5fd519bac --- /dev/null +++ b/functions/pl.scanIPC.html @@ -0,0 +1,4 @@ +scanIPC | nodejs-polars

Function scanIPC

  • Lazily read from an Arrow IPC (Feather v2) file or multiple files via glob patterns.

    +
    +

    Parameters

    • path: string

      Path to a IPC file.

      +
    • Optional options: Partial<ScanIPCOptions>

    Returns LazyDataFrame

\ No newline at end of file diff --git a/functions/pl.scanJson.html b/functions/pl.scanJson.html new file mode 100644 index 000000000..6c541b430 --- /dev/null +++ b/functions/pl.scanJson.html @@ -0,0 +1,10 @@ +scanJson | nodejs-polars

Function scanJson

  • Read a JSON file or string into a DataFrame.

    +

    Note: Currently only newline delimited JSON is supported

    +

    Parameters

    • path: string

      path to json file

      +
        +
      • path: Path to a file or a file like string. Any valid filepath can be used. Example: ./file.json.
      • +
      +
    • Optional options: Partial<ScanJsonOptions>

    Returns LazyDataFrame

    (DataFrame)

    +

    Example

    > const df = pl.scanJson('path/to/file.json', {numRows: 2}).collectSync()
    > console.log(df)
    shape: (2, 3)
    ╭─────┬─────┬─────╮
    abc
    │ --- ┆ --- ┆ --- │
    i64stri64
    ╞═════╪═════╪═════╡
    1foo3
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    2bar6
    ╰─────┴─────┴─────╯ +
    +
\ No newline at end of file diff --git a/functions/pl.scanParquet.html b/functions/pl.scanParquet.html new file mode 100644 index 000000000..cbe8e592e --- /dev/null +++ b/functions/pl.scanParquet.html @@ -0,0 +1,7 @@ +scanParquet | nodejs-polars

Function scanParquet

  • Lazily read from a local or cloud-hosted parquet file (or files).

    +

    This function allows the query optimizer to push down predicates and projections to + the scan level, typically increasing performance and reducing memory overhead.

    +

    This allows the query optimizer to push down predicates and projections to the scan level, +thereby potentially reducing memory overhead.

    +

    Parameters

    • source: string

      Path(s) to a file. If a single path is given, it can be a globbing pattern.

      +
    • options: ScanParquetOptions = {}

    Returns LazyDataFrame

\ No newline at end of file diff --git a/functions/pl.select.html b/functions/pl.select.html new file mode 100644 index 000000000..bc043b238 --- /dev/null +++ b/functions/pl.select.html @@ -0,0 +1,3 @@ +select | nodejs-polars

Function select

  • Run polars expressions without a context.

    +

    This is syntactic sugar for running df.select on an empty DataFrame.

    +

    Parameters

    • expr: ExprOrString
    • Rest ...exprs: ExprOrString[]

    Returns pl.DataFrame

\ No newline at end of file diff --git a/functions/pl.spearmanRankCorr.html b/functions/pl.spearmanRankCorr.html new file mode 100644 index 000000000..f8c7d3953 --- /dev/null +++ b/functions/pl.spearmanRankCorr.html @@ -0,0 +1,2 @@ +spearmanRankCorr | nodejs-polars

Function spearmanRankCorr

  • Compute the spearman rank correlation between two columns.

    +

    Parameters

    • a: ExprOrString
    • b: ExprOrString

    Returns pl.Expr

\ No newline at end of file diff --git a/functions/pl.struct-2.html b/functions/pl.struct-2.html new file mode 100644 index 000000000..72b8e1fcc --- /dev/null +++ b/functions/pl.struct-2.html @@ -0,0 +1,4 @@ +struct | nodejs-polars

Function struct

\ No newline at end of file diff --git a/functions/pl.sumHorizontal.html b/functions/pl.sumHorizontal.html new file mode 100644 index 000000000..6e3645864 --- /dev/null +++ b/functions/pl.sumHorizontal.html @@ -0,0 +1,4 @@ +sumHorizontal | nodejs-polars

Function sumHorizontal

  • Sum all values horizontally across columns.

    +

    Parameters

    • exprs: ExprOrString | ExprOrString[]

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame(
    ... {
    ... "a": [1, 8, 3],
    ... "b": [4, 5, null],
    ... "c": ["x", "y", "z"],
    ... }
    ... )
    >>> df.withColumns(pl.sumHorizontal(pl.col("a"), ol.col("b")))
    shape: (3, 4)
    ┌─────┬──────┬─────┬──────┐
    abcsum
    │ --- ┆ --- ┆ --- ┆ --- │
    i64i64stri64
    ╞═════╪══════╪═════╪══════╡
    14x5
    85y13
    3nullznull
    └─────┴──────┴─────┴──────┘ +
    +
\ No newline at end of file diff --git a/functions/pl.tail.html b/functions/pl.tail.html new file mode 100644 index 000000000..e26072559 --- /dev/null +++ b/functions/pl.tail.html @@ -0,0 +1,2 @@ +tail | nodejs-polars

Function tail

\ No newline at end of file diff --git a/functions/pl.when-1.html b/functions/pl.when-1.html new file mode 100644 index 000000000..b5d79bb3b --- /dev/null +++ b/functions/pl.when-1.html @@ -0,0 +1,4 @@ +when | nodejs-polars

Function when

  • Start a when, then, otherwise expression.

    +

    Parameters

    Returns When

    Example

    // Below we add a column with the value 1, where column "foo" > 2 and the value -1 where it isn't.
    > df = pl.DataFrame({"foo": [1, 3, 4], "bar": [3, 4, 0]})
    > df.withColumn(pl.when(pl.col("foo").gt(2)).then(pl.lit(1)).otherwise(pl.lit(-1)))
    shape: (3, 3)
    ┌─────┬─────┬─────────┐
    foobarliteral
    │ --- ┆ --- ┆ --- │
    i64i64i32
    ╞═════╪═════╪═════════╡
    13 ┆ -1
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┤
    341
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┤
    401
    └─────┴─────┴─────────┘

    // Or with multiple `when, thens` chained:
    > df.with_column(
    ... pl.when(pl.col("foo").gt(2))
    ... .then(1)
    ... .when(pl.col("bar").gt(2))
    ... .then(4)
    ... .otherwise(-1)
    ... )
    shape: (3, 3)
    ┌─────┬─────┬─────────┐
    foobarliteral
    │ --- ┆ --- ┆ --- │
    i64i64i32
    ╞═════╪═════╪═════════╡
    134
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┤
    341
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┤
    401
    └─────┴─────┴─────────┘ +
    +
\ No newline at end of file diff --git a/hierarchy.html b/hierarchy.html new file mode 100644 index 000000000..85fc09be4 --- /dev/null +++ b/hierarchy.html @@ -0,0 +1 @@ +nodejs-polars
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..c6caf2c6b --- /dev/null +++ b/index.html @@ -0,0 +1,79 @@ +nodejs-polars

nodejs-polars

Polars

Polars: Blazingly fast DataFrames in Rust, Python, Node.js, R and SQL

+

rust docs +Build and test + +PyPI Latest Release +NPM Latest Release

+

Documentation: Node.js +- Rust +- Python +- R +|StackOverflow: Node.js +- Rust +- Python +| User Guide +| Discord

+

Note: This library is intended to work only with server side JS/TS (Node, Bun, Deno). For browser please see js-polars

Usage

Importing

// esm
import pl from 'nodejs-polars';

// require
const pl = require('nodejs-polars'); +
+

Series

> const fooSeries = pl.Series("foo", [1, 2, 3])
> fooSeries.sum()
6

// a lot operations support both positional and named arguments
// you can see the full specs in the docs or the type definitions
> fooSeries.sort(true)
> fooSeries.sort({reverse: true})
shape: (3,)
Series: 'foo' [f64]
[
3
2
1
]
> fooSeries.toArray()
[1, 2, 3]

// Series are 'Iterables' so you can use javascript iterable syntax on them
> [...fooSeries]
[1, 2, 3]

> fooSeries[0]
1
+
+

DataFrame

>const df = pl.DataFrame(
... {
... A: [1, 2, 3, 4, 5],
... fruits: ["banana", "banana", "apple", "apple", "banana"],
... B: [5, 4, 3, 2, 1],
... cars: ["beetle", "audi", "beetle", "beetle", "beetle"],
... }
... )
> df.sort("fruits").select(
... "fruits",
... "cars",
... pl.lit("fruits").alias("literal_string_fruits"),
... pl.col("B").filter(pl.col("cars").eq(pl.lit("beetle"))).sum(),
... pl.col("A").filter(pl.col("B").gt(2)).sum().over("cars").alias("sum_A_by_cars"),
... pl.col("A").sum().over("fruits").alias("sum_A_by_fruits"),
... pl.col("A").reverse().over("fruits").flatten().alias("rev_A_by_fruits")
... )
shape: (5, 8)
┌──────────┬──────────┬──────────────┬─────┬─────────────┬─────────────┬─────────────┐
fruitscarsliteral_striBsum_A_by_casum_A_by_frrev_A_by_fr
│ --- ┆ --- ┆ ng_fruits ┆ --- ┆ rsuitsuits
strstr ┆ --- ┆ i64 ┆ --- ┆ --- ┆ --- │
│ ┆ ┆ str ┆ ┆ i64i64i64
╞══════════╪══════════╪══════════════╪═════╪═════════════╪═════════════╪═════════════╡
"apple""beetle""fruits"11474
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
"apple""beetle""fruits"11473
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
"banana""beetle""fruits"11485
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
"banana""audi""fruits"11282
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
"banana""beetle""fruits"11481
└──────────┴──────────┴──────────────┴─────┴─────────────┴─────────────┴─────────────┘ +
+
> df["cars"] // or df.getColumn("cars")
shape: (5,)
Series: 'cars' [str]
[
"beetle"
"beetle"
"beetle"
"audi"
"beetle"
] +
+

Node setup

Install the latest polars version with:

+
$ yarn add nodejs-polars # yarn
$ npm i -s nodejs-polars # npm +
+

Releases happen quite often (weekly / every few days) at the moment, so updating polars regularly to get the latest bugfixes / features might not be a bad idea.

+

Minimum Requirements

    +
  • Node version >=18
  • +
  • Rust version >=1.59 - Only needed for development
  • +
+

Deno

In Deno modules you can import polars straight from npm:

+
import pl from "npm:nodejs-polars";
+
+

With Deno 1.37, you can use the display function to display a DataFrame in the notebook:

+
import pl from "npm:nodejs-polars";
import { display } from "https://deno.land/x/display@v1.1.1/mod.ts";

let response = await fetch(
"https://cdn.jsdelivr.net/npm/world-atlas@1/world/110m.tsv",
);
let data = await response.text();
let df = pl.readCSV(data, { sep: "\t" });
await display(df) +
+

With Deno 1.38, you only have to make the dataframe be the last expression in the cell:

+
import pl from "npm:nodejs-polars";
let response = await fetch(
"https://cdn.jsdelivr.net/npm/world-atlas@1/world/110m.tsv",
);
let data = await response.text();
let df = pl.readCSV(data, { sep: "\t" });
df +
+image + + +
+

Documentation

Want to know about all the features Polars supports? Read the docs!

+

Python

+

Rust

+

Node

+

Contribution

Want to contribute? Read our contribution guideline.

+

[Node]: compile polars from source

If you want a bleeding edge release or maximal performance you should compile polars from source.

+
    +
  1. Install the latest Rust compiler
  2. +
  3. Run npm|yarn install
  4. +
  5. Choose any of:
      +
    • Fastest binary, very long compile times:
      $ cd nodejs-polars && yarn build && yarn build:ts # this will generate a /bin directory with the compiles TS code, as well as the rust binary
      +
      +
    • +
    • Debugging, fastest compile times but slow & large binary:
      $ cd nodejs-polars && yarn build:debug && yarn build:ts # this will generate a /bin directory with the compiles TS code, as well as the rust binary
      +
      +
    • +
    +
  6. +
+

Webpack configuration

To use nodejs-polars with Webpack please use node-loader and webpack.config.js

+

Acknowledgements

Development of Polars is proudly powered by

+

Xomnia

+

Sponsors

+
\ No newline at end of file diff --git a/interfaces/ConcatOptions.html b/interfaces/ConcatOptions.html new file mode 100644 index 000000000..2d898ae27 --- /dev/null +++ b/interfaces/ConcatOptions.html @@ -0,0 +1,4 @@ +ConcatOptions | nodejs-polars

Interface ConcatOptions

Options for concat

+
interface ConcatOptions {
    how?: "vertical" | "horizontal" | "diagonal";
    rechunk?: boolean;
}

Properties

Properties

how?: "vertical" | "horizontal" | "diagonal"
rechunk?: boolean
\ No newline at end of file diff --git a/interfaces/DataFrameConstructor.html b/interfaces/DataFrameConstructor.html new file mode 100644 index 000000000..dd9979619 --- /dev/null +++ b/interfaces/DataFrameConstructor.html @@ -0,0 +1,24 @@ +DataFrameConstructor | nodejs-polars

Interface DataFrameConstructor

DataFrame constructor

+
interface DataFrameConstructor {
    deserialize(buf, format): pl.DataFrame;
    isDataFrame(arg): arg is pl.DataFrame;
    (): pl.DataFrame;
    (data, options?): pl.DataFrame;
}

Hierarchy

  • Create an empty DataFrame

    +

    Returns pl.DataFrame

  • Create a DataFrame from a JavaScript object

    +

    Parameters

    • data: any

      object or array of data

      +
    • Optional options: {
          columns?: any[];
          inferSchemaLength?: number;
          orient?: "row" | "col";
          schema?: Record<string, string | DataType>;
          schemaOverrides?: Record<string, string | DataType>;
      }

      options

      +
      • Optional columns?: any[]

        column names

        +
      • Optional inferSchemaLength?: number

        The maximum number of rows to scan for schema inference. If set to None, the full data may be scanned (this can be slow). This parameter only applies if the input data is a sequence or generator of rows; other input is read as-is. +The number of entries in the schema should match the underlying data dimensions, unless a sequence of dictionaries is being passed, in which case a partial schema can be declared to prevent specific fields from being loaded.

        +
      • Optional orient?: "row" | "col"

        orientation of the data [row, col] +Whether to interpret two-dimensional data as columns or as rows. If None, the orientation is inferred by matching the columns and data dimensions. If this does not yield conclusive results, column orientation is used.

        +
      • Optional schema?: Record<string, string | DataType>

        The schema of the resulting DataFrame. The schema may be declared in several ways:

        +
        - As a dict of {name:type} pairs; if type is None, it will be auto-inferred.

        - As a list of column names; in this case types are automatically inferred.

        - As a list of (name,type) pairs; this is equivalent to the dictionary form. +
        +

        If you supply a list of column names that does not match the names in the underlying data, the names given here will overwrite them. The number of names given in the schema should match the underlying data dimensions.

        +

        If set to null (default), the schema is inferred from the data.

        +
      • Optional schemaOverrides?: Record<string, string | DataType>

        Support type specification or override of one or more columns; note that any dtypes inferred from the schema param will be overridden.

        +

    Returns pl.DataFrame

    Example

    data = {'a': [1n, 2n], 'b': [3, 4]}
    df = pl.DataFrame(data)
    df
    shape: (2, 2)
    ╭─────┬─────╮
    ab
    │ --- ┆ --- │
    u64i64
    ╞═════╪═════╡
    13
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    24
    ╰─────┴─────╯ +
    +

Methods

\ No newline at end of file diff --git a/interfaces/ExprConstructor.html b/interfaces/ExprConstructor.html new file mode 100644 index 000000000..5a28aa36c --- /dev/null +++ b/interfaces/ExprConstructor.html @@ -0,0 +1,6 @@ +ExprConstructor | nodejs-polars

Interface ExprConstructor

interface ExprConstructor {
    deserialize(buf, format): pl.Expr;
    isExpr(arg): arg is pl.Expr;
}

Hierarchy

  • Deserialize<pl.Expr>
    • ExprConstructor

Methods

\ No newline at end of file diff --git a/interfaces/GroupBy.html b/interfaces/GroupBy.html new file mode 100644 index 000000000..643b11dd8 --- /dev/null +++ b/interfaces/GroupBy.html @@ -0,0 +1,56 @@ +GroupBy | nodejs-polars

Interface GroupBy

Starts a new GroupBy operation.

+
interface GroupBy {
    [inspect](): string;
    agg(...columns): pl.DataFrame;
    agg(columns): pl.DataFrame;
    aggList(): pl.DataFrame;
    count(): pl.DataFrame;
    first(): pl.DataFrame;
    groups(): pl.DataFrame;
    head(n?): pl.DataFrame;
    last(): pl.DataFrame;
    len(): pl.DataFrame;
    max(): pl.DataFrame;
    mean(): pl.DataFrame;
    median(): pl.DataFrame;
    min(): pl.DataFrame;
    nUnique(): pl.DataFrame;
    pivot(__namedParameters): PivotOps;
    pivot(pivotCol, valuesCol): PivotOps;
    quantile(quantile): pl.DataFrame;
    sum(): pl.DataFrame;
    tail(n?): pl.DataFrame;
    toString(): string;
}

Methods

  • Use multiple aggregations on columns. +This can be combined with complete lazy API and is considered idiomatic polars.

    +
    +

    Parameters

    • Rest ...columns: pl.Expr[]

      map of 'col' -> 'agg'

      +
        +
      • using lazy API (recommended): [col('foo').sum(), col('bar').min()]
      • +
      • using multiple aggs per column: {'foo': ['sum', 'numUnique'], 'bar': ['min'] }
      • +
      • using single agg per column: {'foo': ['sum'], 'bar': 'min' }
      • +
      +

    Returns pl.DataFrame

    Example

    // use lazy api rest parameter style
    > df.groupBy('foo', 'bar')
    > .agg(pl.sum('ham'), col('spam').tail(4).sum())

    // use lazy api array style
    > df.groupBy('foo', 'bar')
    > .agg([pl.sum('ham'), col('spam').tail(4).sum()])

    // use a mapping
    > df.groupBy('foo', 'bar')
    > .agg({'spam': ['sum', 'min']})
    +
    +
  • Parameters

    • columns: Record<string, (keyof Expr) | (keyof Expr)[]>

    Returns pl.DataFrame

  • Return first n rows of each group.

    +

    Parameters

    • Optional n: number

      Number of values of the group to select

      +

    Returns pl.DataFrame

    Example

    > df = pl.DataFrame({
    > "letters": ["c", "c", "a", "c", "a", "b"],
    > "nrs": [1, 2, 3, 4, 5, 6]
    > })
    > df
    shape: (6, 2)
    ╭─────────┬─────╮
    lettersnrs
    │ --- ┆ --- │
    stri64
    ╞═════════╪═════╡
    "c"1
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"2
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "a"3
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"4
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "a"5
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "b"6
    ╰─────────┴─────╯
    > df.groupby("letters")
    > .head(2)
    > .sort("letters");
    > >>
    shape: (5, 2)
    ╭─────────┬─────╮
    lettersnrs
    │ --- ┆ --- │
    stri64
    ╞═════════╪═════╡
    "a"3
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "a"5
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "b"6
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"1
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"2
    ╰─────────┴─────╯ +
    +
  • Do a pivot operation based on the group key, a pivot column and an aggregation function on the values column.

    +

    Parameters

    • __namedParameters: {
          pivotCol: string;
          valuesCol: string;
      }
      • pivotCol: string
      • valuesCol: string

    Returns PivotOps

  • Parameters

    • pivotCol: string
    • valuesCol: string

    Returns PivotOps

\ No newline at end of file diff --git a/interfaces/JoinOptions.html b/interfaces/JoinOptions.html new file mode 100644 index 000000000..e4690199f --- /dev/null +++ b/interfaces/JoinOptions.html @@ -0,0 +1,12 @@ +JoinOptions | nodejs-polars

Interface JoinOptions

options for join operations

+

See

DataFrame.join

+
interface JoinOptions {
    how?: JoinType;
    leftOn?: string | string[];
    on?: string | string[];
    rightOn?: string | string[];
    suffix?: string;
}

Hierarchy (view full)

Properties

Properties

how?: JoinType

join type

+
leftOn?: string | string[]

left join column

+
on?: string | string[]

left and right join column

+
rightOn?: string | string[]

right join column

+
suffix?: string
\ No newline at end of file diff --git a/interfaces/JsonScanOptions.html b/interfaces/JsonScanOptions.html new file mode 100644 index 000000000..dfb4dd6ee --- /dev/null +++ b/interfaces/JsonScanOptions.html @@ -0,0 +1,9 @@ +JsonScanOptions | nodejs-polars

Interface JsonScanOptions

Options for scanJson

+
interface JsonScanOptions {
    batchSize?: number;
    inferSchemaLength?: number;
    lowMemory?: boolean;
    nThreads?: number;
    numRows?: number;
    rowCount?: RowCount;
    skipRows?: number;
}

Properties

batchSize?: number
inferSchemaLength?: number
lowMemory?: boolean
nThreads?: number
numRows?: number
rowCount?: RowCount
skipRows?: number
\ No newline at end of file diff --git a/interfaces/LazyDataFrameConstructor.html b/interfaces/LazyDataFrameConstructor.html new file mode 100644 index 000000000..f7afce615 --- /dev/null +++ b/interfaces/LazyDataFrameConstructor.html @@ -0,0 +1,6 @@ +LazyDataFrameConstructor | nodejs-polars

Interface LazyDataFrameConstructor

interface LazyDataFrameConstructor {
    deserialize(buf, format): LazyDataFrame;
    fromExternal(external): LazyDataFrame;
}

Hierarchy

Methods

\ No newline at end of file diff --git a/interfaces/LazyJoinOptions.html b/interfaces/LazyJoinOptions.html new file mode 100644 index 000000000..b9341480c --- /dev/null +++ b/interfaces/LazyJoinOptions.html @@ -0,0 +1,14 @@ +LazyJoinOptions | nodejs-polars

Interface LazyJoinOptions

options for lazy join operations

+

See

LazyDataFrame.join

+
interface LazyJoinOptions {
    allowParallel?: boolean;
    forceParallel?: boolean;
    how?: JoinType;
    leftOn?: string | string[];
    on?: string | string[];
    rightOn?: string | string[];
    suffix?: string;
}

Hierarchy (view full)

Properties

allowParallel?: boolean
forceParallel?: boolean
how?: JoinType

join type

+
leftOn?: string | string[]

left join column

+
on?: string | string[]

left and right join column

+
rightOn?: string | string[]

right join column

+
suffix?: string
\ No newline at end of file diff --git a/interfaces/ReadAvroOptions.html b/interfaces/ReadAvroOptions.html new file mode 100644 index 000000000..7c764c0f9 --- /dev/null +++ b/interfaces/ReadAvroOptions.html @@ -0,0 +1,4 @@ +ReadAvroOptions | nodejs-polars

Interface ReadAvroOptions

interface ReadAvroOptions {
    columns: string[] | number[];
    nRows: number;
    projection: number;
}

Properties

Properties

columns: string[] | number[]
nRows: number
projection: number
\ No newline at end of file diff --git a/interfaces/ReadCsvOptions.html b/interfaces/ReadCsvOptions.html new file mode 100644 index 000000000..e1023cecc --- /dev/null +++ b/interfaces/ReadCsvOptions.html @@ -0,0 +1,29 @@ +ReadCsvOptions | nodejs-polars

Interface ReadCsvOptions

interface ReadCsvOptions {
    chunkSize: number;
    columns: string[];
    commentChar: string;
    dtypes: Record<string, DataType>;
    encoding: "utf8" | "utf8-lossy";
    endRows: number;
    eolChar: string;
    hasHeader: boolean;
    ignoreErrors: boolean;
    inferSchemaLength: null | number;
    lowMemory: boolean;
    missingIsNull: boolean;
    nRows: number;
    nullValues: string | string[] | Record<string, string>;
    numThreads: number;
    projection: number;
    quoteChar: string;
    raiseIfEmpty: boolean;
    rechunk: boolean;
    rowCount: any;
    sampleSize: number;
    schema: Record<string, DataType>;
    sep: string;
    skipRows: number;
    skipRowsAfterHeader: number;
    startRows: number;
    truncateRaggedLines: boolean;
    tryParseDates: boolean;
}

Properties

chunkSize: number
columns: string[]
commentChar: string
dtypes: Record<string, DataType>
encoding: "utf8" | "utf8-lossy"
endRows: number
eolChar: string
hasHeader: boolean
ignoreErrors: boolean
inferSchemaLength: null | number
lowMemory: boolean
missingIsNull: boolean
nRows: number
nullValues: string | string[] | Record<string, string>
numThreads: number
projection: number
quoteChar: string
raiseIfEmpty: boolean
rechunk: boolean
rowCount: any
sampleSize: number
schema: Record<string, DataType>
sep: string
skipRows: number
skipRowsAfterHeader: number
startRows: number
truncateRaggedLines: boolean
tryParseDates: boolean
\ No newline at end of file diff --git a/interfaces/ReadIPCOptions.html b/interfaces/ReadIPCOptions.html new file mode 100644 index 000000000..e70936e75 --- /dev/null +++ b/interfaces/ReadIPCOptions.html @@ -0,0 +1,3 @@ +ReadIPCOptions | nodejs-polars

Interface ReadIPCOptions

interface ReadIPCOptions {
    columns: string[] | number[];
    nRows: number;
}

Properties

Properties

columns: string[] | number[]
nRows: number
\ No newline at end of file diff --git a/interfaces/ReadJsonOptions.html b/interfaces/ReadJsonOptions.html new file mode 100644 index 000000000..83ca889f0 --- /dev/null +++ b/interfaces/ReadJsonOptions.html @@ -0,0 +1,4 @@ +ReadJsonOptions | nodejs-polars

Interface ReadJsonOptions

interface ReadJsonOptions {
    batchSize: number;
    format: "json" | "lines";
    inferSchemaLength: null | number;
}

Properties

batchSize: number
format: "json" | "lines"
inferSchemaLength: null | number
\ No newline at end of file diff --git a/interfaces/ReadParquetOptions.html b/interfaces/ReadParquetOptions.html new file mode 100644 index 000000000..40d201933 --- /dev/null +++ b/interfaces/ReadParquetOptions.html @@ -0,0 +1,6 @@ +ReadParquetOptions | nodejs-polars

Interface ReadParquetOptions

Options for readParquet

+
interface ReadParquetOptions {
    columns?: string[] | number[];
    numRows?: number;
    parallel?: "auto" | "columns" | "row_groups" | "none";
    rowCount?: RowCount;
}

Properties

columns?: string[] | number[]
numRows?: number
parallel?: "auto" | "columns" | "row_groups" | "none"
rowCount?: RowCount
\ No newline at end of file diff --git a/interfaces/RollingOptions.html b/interfaces/RollingOptions.html new file mode 100644 index 000000000..6eaf6c18e --- /dev/null +++ b/interfaces/RollingOptions.html @@ -0,0 +1,7 @@ +RollingOptions | nodejs-polars

Interface RollingOptions

options for rolling window operations

+
interface RollingOptions {
    center?: boolean;
    ddof?: number;
    minPeriods?: number;
    weights?: number[];
    windowSize: number;
}

Hierarchy (view full)

Properties

center?: boolean
ddof?: number
minPeriods?: number
weights?: number[]
windowSize: number
\ No newline at end of file diff --git a/interfaces/RollingQuantileOptions.html b/interfaces/RollingQuantileOptions.html new file mode 100644 index 000000000..cc3f73a23 --- /dev/null +++ b/interfaces/RollingQuantileOptions.html @@ -0,0 +1,9 @@ +RollingQuantileOptions | nodejs-polars

Interface RollingQuantileOptions

options for rolling quantile operations

+
interface RollingQuantileOptions {
    center?: boolean;
    ddof?: number;
    interpolation?: InterpolationMethod;
    minPeriods?: number;
    quantile: number;
    weights?: number[];
    windowSize: number;
}

Hierarchy (view full)

Properties

center?: boolean
ddof?: number
interpolation?: InterpolationMethod
minPeriods?: number
quantile: number
weights?: number[]
windowSize: number
\ No newline at end of file diff --git a/interfaces/RollingSkewOptions.html b/interfaces/RollingSkewOptions.html new file mode 100644 index 000000000..60ea4b802 --- /dev/null +++ b/interfaces/RollingSkewOptions.html @@ -0,0 +1,4 @@ +RollingSkewOptions | nodejs-polars

Interface RollingSkewOptions

options for rolling mean operations

+
interface RollingSkewOptions {
    bias?: boolean;
    windowSize: number;
}

Properties

Properties

bias?: boolean
windowSize: number
\ No newline at end of file diff --git a/interfaces/RowCount.html b/interfaces/RowCount.html new file mode 100644 index 000000000..b7c499b6e --- /dev/null +++ b/interfaces/RowCount.html @@ -0,0 +1,6 @@ +RowCount | nodejs-polars

Interface RowCount

Add row count as column

+
interface RowCount {
    name: string;
    offset: string;
}

Properties

Properties

name: string

name of column

+
offset: string

offset

+
\ No newline at end of file diff --git a/interfaces/ScanCsvOptions.html b/interfaces/ScanCsvOptions.html new file mode 100644 index 000000000..466232984 --- /dev/null +++ b/interfaces/ScanCsvOptions.html @@ -0,0 +1,21 @@ +ScanCsvOptions | nodejs-polars

Interface ScanCsvOptions

interface ScanCsvOptions {
    cache: boolean;
    commentChar: string;
    encoding: string;
    eolChar: string;
    hasHeader: boolean;
    ignoreErrors: boolean;
    inferSchemaLength: null | number;
    lowMemory: boolean;
    missingUtf8IsEmptyString: boolean;
    nRows: number;
    nullValues: string | string[] | Record<string, string>;
    parseDates: boolean;
    quoteChar: string;
    raiseIfEmpty: boolean;
    rechunk: boolean;
    schema: Record<string, DataType>;
    sep: string;
    skipRows: number;
    skipRowsAfterHeader: number;
    truncateRaggedLines: boolean;
}

Properties

cache: boolean
commentChar: string
encoding: string
eolChar: string
hasHeader: boolean
ignoreErrors: boolean
inferSchemaLength: null | number
lowMemory: boolean
missingUtf8IsEmptyString: boolean
nRows: number
nullValues: string | string[] | Record<string, string>
parseDates: boolean
quoteChar: string
raiseIfEmpty: boolean
rechunk: boolean
schema: Record<string, DataType>
sep: string
skipRows: number
skipRowsAfterHeader: number
truncateRaggedLines: boolean
\ No newline at end of file diff --git a/interfaces/ScanIPCOptions.html b/interfaces/ScanIPCOptions.html new file mode 100644 index 000000000..8c5f1ec29 --- /dev/null +++ b/interfaces/ScanIPCOptions.html @@ -0,0 +1,4 @@ +ScanIPCOptions | nodejs-polars

Interface ScanIPCOptions

interface ScanIPCOptions {
    cache: boolean;
    nRows: number;
    rechunk: boolean;
}

Properties

Properties

cache: boolean
nRows: number
rechunk: boolean
\ No newline at end of file diff --git a/interfaces/ScanParquetOptions.html b/interfaces/ScanParquetOptions.html new file mode 100644 index 000000000..05d53842f --- /dev/null +++ b/interfaces/ScanParquetOptions.html @@ -0,0 +1,8 @@ +ScanParquetOptions | nodejs-polars

Interface ScanParquetOptions

Options for scanParquet

+
interface ScanParquetOptions {
    cache?: boolean;
    columns?: string[] | number[];
    numRows?: number;
    parallel?: "auto" | "columns" | "row_groups" | "none";
    rechunk?: boolean;
    rowCount?: RowCount;
}

Properties

cache?: boolean
columns?: string[] | number[]
numRows?: number
parallel?: "auto" | "columns" | "row_groups" | "none"
rechunk?: boolean
rowCount?: RowCount
\ No newline at end of file diff --git a/interfaces/SinkCsvOptions.html b/interfaces/SinkCsvOptions.html new file mode 100644 index 000000000..3e4ef60f9 --- /dev/null +++ b/interfaces/SinkCsvOptions.html @@ -0,0 +1,16 @@ +SinkCsvOptions | nodejs-polars

Interface SinkCsvOptions

Options for

+

See

LazyDataFrame.sinkCSV

+
interface SinkCsvOptions {
    batchSize?: number;
    dateFormat?: string;
    datetimeFormat?: string;
    floatPrecision?: number;
    includeBom?: boolean;
    includeHeader?: boolean;
    lineTerminator?: string;
    maintainOrder?: boolean;
    nullValue?: string;
    quote?: string;
    quoteChar?: string;
    separator?: string;
    timeFormat?: string;
}

Properties

batchSize?: number
dateFormat?: string
datetimeFormat?: string
floatPrecision?: number
includeBom?: boolean
includeHeader?: boolean
lineTerminator?: string
maintainOrder?: boolean
nullValue?: string
quote?: string
quoteChar?: string
separator?: string
timeFormat?: string
\ No newline at end of file diff --git a/interfaces/SinkParquetOptions.html b/interfaces/SinkParquetOptions.html new file mode 100644 index 000000000..70d8b02ad --- /dev/null +++ b/interfaces/SinkParquetOptions.html @@ -0,0 +1,15 @@ +SinkParquetOptions | nodejs-polars

Interface SinkParquetOptions

Options for

+

See

LazyDataFrame.sinkParquet

+
interface SinkParquetOptions {
    compression?: string;
    compressionLevel?: number;
    dataPagesizeLimit?: number;
    maintainOrder?: boolean;
    noOptimization?: boolean;
    predicatePushdown?: boolean;
    projectionPushdown?: boolean;
    rowGroupSize?: number;
    simplifyExpression?: boolean;
    slicePushdown?: boolean;
    statistics?: boolean;
    typeCoercion?: boolean;
}

Properties

compression?: string
compressionLevel?: number
dataPagesizeLimit?: number
maintainOrder?: boolean
noOptimization?: boolean
predicatePushdown?: boolean
projectionPushdown?: boolean
rowGroupSize?: number
simplifyExpression?: boolean
slicePushdown?: boolean
statistics?: boolean
typeCoercion?: boolean
\ No newline at end of file diff --git a/interfaces/StringNamespace.html b/interfaces/StringNamespace.html new file mode 100644 index 000000000..70c84851a --- /dev/null +++ b/interfaces/StringNamespace.html @@ -0,0 +1,104 @@ +StringNamespace | nodejs-polars

Interface StringNamespace

namespace containing expr string functions

+
interface StringNamespace {
    concat(delimiter, ignoreNulls?): pl.Expr;
    contains(pat): pl.Expr;
    decode(encoding, strict?): pl.Expr;
    decode(options): pl.Expr;
    encode(encoding): pl.Expr;
    extract(pat, groupIndex): pl.Expr;
    jsonDecode(dtype?, inferSchemaLength?): pl.Expr;
    jsonExtract(dtype?, inferSchemaLength?): pl.Expr;
    jsonPathMatch(pat): pl.Expr;
    lengths(): pl.Expr;
    lstrip(): pl.Expr;
    padEnd(length, fillChar): pl.Expr;
    padStart(length, fillChar): pl.Expr;
    replace(pat, val): pl.Expr;
    replaceAll(pat, val): pl.Expr;
    rstrip(): pl.Expr;
    slice(start, length?): pl.Expr;
    split(by, options?): pl.Expr;
    strip(): pl.Expr;
    strptime(datatype, fmt?): pl.Expr;
    strptime(datatype, fmt?): pl.Expr;
    toLowerCase(): pl.Expr;
    toUpperCase(): pl.Expr;
    zFill(length): pl.Expr;
}

Hierarchy

  • StringFunctions<pl.Expr>
    • StringNamespace

Methods

  • Vertically concat the values in the Series to a single string value.

    +

    Parameters

    • delimiter: string
    • Optional ignoreNulls: boolean

    Returns pl.Expr

    Example

    >>> df = pl.DataFrame({"foo": [1, null, 2]})
    >>> df = df.select(pl.col("foo").str.concat("-"))
    >>> df
    shape: (1, 1)
    ┌──────────┐
    foo
    │ --- │
    str
    ╞══════════╡
    1-null-2
    └──────────┘ +
    +
  • Check if strings in Series contain regex pattern.

    +

    Parameters

    • pat: string | RegExp

    Returns pl.Expr

  • Decodes a value using the provided encoding

    +

    Parameters

    • encoding: "base64" | "hex"

      hex | base64

      +
    • Optional strict: boolean

      how to handle invalid inputs

      +
      - true: method will throw error if unable to decode a value
      - false: unhandled values will be replaced with `null` +
      +

    Returns pl.Expr

    Example

    >>> df = pl.DataFrame({"strings": ["666f6f", "626172", null]})
    >>> df.select(col("strings").str.decode("hex"))
    shape: (3, 1)
    ┌─────────┐
    strings
    │ --- │
    str
    ╞═════════╡
    foo
    ├╌╌╌╌╌╌╌╌╌┤
    bar
    ├╌╌╌╌╌╌╌╌╌┤
    null
    └─────────┘ +
    +
  • Parameters

    • options: {
          encoding: "base64" | "hex";
          strict?: boolean;
      }
      • encoding: "base64" | "hex"
      • Optional strict?: boolean

    Returns pl.Expr

  • Encodes a value using the provided encoding

    +

    Parameters

    • encoding: "base64" | "hex"

      hex | base64

      +

    Returns pl.Expr

    Example

    >>> df = pl.DataFrame({"strings", ["foo", "bar", null]})
    >>> df.select(col("strings").str.encode("hex"))
    shape: (3, 1)
    ┌─────────┐
    strings
    │ --- │
    str
    ╞═════════╡
    │ 666f6f
    ├╌╌╌╌╌╌╌╌╌┤
    626172
    ├╌╌╌╌╌╌╌╌╌┤
    null
    └─────────┘ +
    +
  • Extract the target capture group from provided patterns.

    +

    Parameters

    • pat: any
    • groupIndex: number

      Index of the targeted capture group. +Group 0 mean the whole pattern, first group begin at index 1 +Default to the first capture group

      +

    Returns pl.Expr

    Utf8 array. Contain null if original value is null or regex capture nothing.

    +

    Example

    > df = pl.DataFrame({
    ... 'a': [
    ... 'http://vote.com/ballon_dor?candidate=messi&ref=polars',
    ... 'http://vote.com/ballon_dor?candidat=jorginho&ref=polars',
    ... 'http://vote.com/ballon_dor?candidate=ronaldo&ref=polars'
    ... ]})
    > df.select(pl.col('a').str.extract(/candidate=(\w+)/, 1))
    shape: (3, 1)
    ┌─────────┐
    a
    │ --- │
    str
    ╞═════════╡
    messi
    ├╌╌╌╌╌╌╌╌╌┤
    null
    ├╌╌╌╌╌╌╌╌╌┤
    ronaldo
    └─────────┘ +
    +
  • Parse string values as JSON. +Throw errors if encounter invalid JSON strings.

    +

    Parameters

    • Optional dtype: DataType
    • Optional inferSchemaLength: number

    Returns pl.Expr

    DF with struct

    +

    Params

    Not implemented ATM

    +

    Example

    >>> df = pl.DataFrame( {json: ['{"a":1, "b": true}', null, '{"a":2, "b": false}']} )
    >>> df.select(pl.col("json").str.jsonDecode())
    shape: (3, 1)
    ┌─────────────┐
    json
    │ --- │
    struct[2] │
    ╞═════════════╡
    │ {1,true} │
    │ {null,null} │
    │ {2,false} │
    └─────────────┘
    See Also
    ----------
    jsonPathMatch : Extract the first match of json string with provided JSONPath expression. +
    +
  • Parse string values as JSON. +Throw errors if encounter invalid JSON strings.

    +

    Parameters

    • Optional dtype: DataType
    • Optional inferSchemaLength: number

    Returns pl.Expr

    DF with struct

    +

    Params

    Not implemented ATM

    +

    Deprecated

    Since

    0.8.4

    +

    Use

    jsonDecode

    +

    Example

    >>> df = pl.DataFrame( {json: ['{"a":1, "b": true}', null, '{"a":2, "b": false}']} )
    >>> df.select(pl.col("json").str.jsonExtract())
    shape: (3, 1)
    ┌─────────────┐
    json
    │ --- │
    struct[2] │
    ╞═════════════╡
    │ {1,true} │
    │ {null,null} │
    │ {2,false} │
    └─────────────┘
    See Also
    ----------
    jsonPathMatch : Extract the first match of json string with provided JSONPath expression. +
    +
  • Extract the first match of json string with provided JSONPath expression. +Throw errors if encounter invalid json strings. +All return value will be casted to Utf8 regardless of the original value.

    +

    Parameters

    • pat: string

    Returns pl.Expr

    Utf8 array. Contain null if original value is null or the jsonPath return nothing.

    +

    See

    https://goessner.net/articles/JsonPath/

    +

    Example

    >>> df = pl.DataFrame({
    ... 'json_val': [
    ... '{"a":"1"}',
    ... null,
    ... '{"a":2}',
    ... '{"a":2.1}',
    ... '{"a":true}'
    ... ]
    ... })
    >>> df.select(pl.col('json_val').str.jsonPathMatch('$.a')
    shape: (5,)
    Series: 'json_val' [str]
    [
    "1"
    null
    "2"
    "2.1"
    "true"
    ] +
    +
  • Add a trailing fillChar to a string until string length is reached. +If string is longer or equal to given length no modifications will be done

    +

    Parameters

    • length: number

      of the final string

      +
    • fillChar: string

      that will fill the string.

      +

    Returns pl.Expr

    Note

    If a string longer than 1 character is provided only the first character will be used + *

    +

    Example

    > df = pl.DataFrame({
    ... 'foo': [
    ... "a",
    ... "b",
    ... "LONG_WORD",
    ... "cow"
    ... ]})
    > df.select(pl.col('foo').str.padEnd("_", 3)
    shape: (4, 1)
    ┌──────────┐
    a
    │ -------- │
    str
    ╞══════════╡
    a__
    ├╌╌╌╌╌╌╌╌╌╌┤
    b__
    ├╌╌╌╌╌╌╌╌╌╌┤
    LONG_WORD
    ├╌╌╌╌╌╌╌╌╌╌┤
    cow
    └──────────┘ +
    +
  • Add a leading fillChar to a string until string length is reached. +If string is longer or equal to given length no modifications will be done

    +

    Parameters

    • length: number

      of the final string

      +
    • fillChar: string

      that will fill the string.

      +

    Returns pl.Expr

    Note

    If a string longer than 1 character is provided only the first character will be used

    +

    Example

    > df = pl.DataFrame({
    ... 'foo': [
    ... "a",
    ... "b",
    ... "LONG_WORD",
    ... "cow"
    ... ]})
    > df.select(pl.col('foo').str.padStart("_", 3)
    shape: (4, 1)
    ┌──────────┐
    a
    │ -------- │
    str
    ╞══════════╡
    __a
    ├╌╌╌╌╌╌╌╌╌╌┤
    __b
    ├╌╌╌╌╌╌╌╌╌╌┤
    LONG_WORD
    ├╌╌╌╌╌╌╌╌╌╌┤
    cow
    └──────────┘ +
    +
  • Replace first regex match with a string value.

    +

    Parameters

    • pat: string | RegExp
    • val: string

    Returns pl.Expr

  • Replace all regex matches with a string value.

    +

    Parameters

    • pat: string | RegExp
    • val: string

    Returns pl.Expr

  • Create subslices of the string values of a Utf8 Series.

    +

    Parameters

    • start: number | pl.Expr

      Start of the slice (negative indexing may be used).

      +
    • Optional length: number | pl.Expr

      Optional length of the slice.

      +

    Returns pl.Expr

  • Split a string into substrings using the specified separator and return them as a Series.

    +

    Parameters

    • by: string
    • Optional options: boolean | {
          inclusive?: boolean;
      }

    Returns pl.Expr

  • Parse a Series of dtype Utf8 to a Date/Datetime Series.

    +

    Parameters

    • datatype: Date

      Date or Datetime.

      +
    • Optional fmt: string

      formatting syntax. Read more

      +

    Returns pl.Expr

  • Parameters

    • datatype: Datetime
    • Optional fmt: string

    Returns pl.Expr

  • Add leading "0" to a string until string length is reached. +If string is longer or equal to given length no modifications will be done

    +

    Parameters

    • length: number | pl.Expr

      of the final string

      +

    Returns pl.Expr

    See

    padStart + *

    +

    Example

    > df = pl.DataFrame({
    ... 'foo': [
    ... "a",
    ... "b",
    ... "LONG_WORD",
    ... "cow"
    ... ]})
    > df.select(pl.col('foo').str.justify(3)
    shape: (4, 1)
    ┌──────────┐
    a
    │ -------- │
    str
    ╞══════════╡
    │ 00a
    ├╌╌╌╌╌╌╌╌╌╌┤
    │ 00b
    ├╌╌╌╌╌╌╌╌╌╌┤
    LONG_WORD
    ├╌╌╌╌╌╌╌╌╌╌┤
    cow
    └──────────┘ +
    +
\ No newline at end of file diff --git a/interfaces/StructNamespace.html b/interfaces/StructNamespace.html new file mode 100644 index 000000000..1cbb3269d --- /dev/null +++ b/interfaces/StructNamespace.html @@ -0,0 +1,8 @@ +StructNamespace | nodejs-polars

Interface StructNamespace

Struct functions

+
interface StructNamespace {
    field(name): pl.Expr;
    renameFields(names): pl.Expr;
}

Methods

\ No newline at end of file diff --git a/interfaces/WriteAvroOptions.html b/interfaces/WriteAvroOptions.html new file mode 100644 index 000000000..c18aa7e84 --- /dev/null +++ b/interfaces/WriteAvroOptions.html @@ -0,0 +1,3 @@ +WriteAvroOptions | nodejs-polars

Interface WriteAvroOptions

Options for writing Avro files

+
interface WriteAvroOptions {
    compression?: "uncompressed" | "snappy" | "deflate";
}

Properties

Properties

compression?: "uncompressed" | "snappy" | "deflate"
\ No newline at end of file diff --git a/interfaces/WriteCsvOptions.html b/interfaces/WriteCsvOptions.html new file mode 100644 index 000000000..8509a2bdb --- /dev/null +++ b/interfaces/WriteCsvOptions.html @@ -0,0 +1,13 @@ +WriteCsvOptions | nodejs-polars

Interface WriteCsvOptions

Options for DataFrame.writeCSV

+
interface WriteCsvOptions {
    batchSize?: number;
    dateFormat?: string;
    datetimeFormat?: string;
    floatPrecision?: number;
    includeBom?: boolean;
    includeHeader?: boolean;
    lineTerminator?: string;
    nullValue?: string;
    quote?: string;
    sep?: string;
    timeFormat?: string;
}

Properties

batchSize?: number
dateFormat?: string
datetimeFormat?: string
floatPrecision?: number
includeBom?: boolean
includeHeader?: boolean
lineTerminator?: string
nullValue?: string
quote?: string
sep?: string
timeFormat?: string
\ No newline at end of file diff --git a/interfaces/WriteIPCOptions.html b/interfaces/WriteIPCOptions.html new file mode 100644 index 000000000..4da1ff416 --- /dev/null +++ b/interfaces/WriteIPCOptions.html @@ -0,0 +1,3 @@ +WriteIPCOptions | nodejs-polars

Interface WriteIPCOptions

Options for DataFrame.writeIPC

+
interface WriteIPCOptions {
    compression?: "uncompressed" | "lz4" | "zstd";
}

Properties

Properties

compression?: "uncompressed" | "lz4" | "zstd"
\ No newline at end of file diff --git a/interfaces/WriteJsonOptions.html b/interfaces/WriteJsonOptions.html new file mode 100644 index 000000000..7c92743a1 --- /dev/null +++ b/interfaces/WriteJsonOptions.html @@ -0,0 +1,4 @@ +WriteJsonOptions | nodejs-polars

Interface WriteJsonOptions

Options for DataFrame.writeJSON

+
interface WriteJsonOptions {
    multiline?: boolean;
    orient?: "row" | "col" | "dataframe";
}

Properties

Properties

multiline?: boolean
orient?: "row" | "col" | "dataframe"
\ No newline at end of file diff --git a/interfaces/WriteParquetOptions.html b/interfaces/WriteParquetOptions.html new file mode 100644 index 000000000..57a443811 --- /dev/null +++ b/interfaces/WriteParquetOptions.html @@ -0,0 +1,3 @@ +WriteParquetOptions | nodejs-polars

Interface WriteParquetOptions

Options for DataFrame.writeParquet

+
interface WriteParquetOptions {
    compression?: "uncompressed" | "snappy" | "gzip" | "lzo" | "brotli" | "lz4" | "zstd";
}

Properties

Properties

compression?: "uncompressed" | "snappy" | "gzip" | "lzo" | "brotli" | "lz4" | "zstd"
\ No newline at end of file diff --git a/interfaces/pl.Config.html b/interfaces/pl.Config.html new file mode 100644 index 000000000..34daa8378 --- /dev/null +++ b/interfaces/pl.Config.html @@ -0,0 +1,16 @@ +Config | nodejs-polars

Interface Config

Configure polars; offers options for table formatting and more.

+
interface Config {
    setAsciiTables(): Config;
    setGlobalStringCache(): Config;
    setTblCols(n): Config;
    setTblRows(n): Config;
    setTblWidthChars(width): Config;
    setUtf8Tables(): Config;
    unsetGlobalStringCache(): Config;
}

Methods

  • Set the number of columns used to print tables

    +

    Parameters

    • n: number

    Returns Config

  • Set the number of rows used to print tables

    +

    Parameters

    • n: number

    Returns Config

  • Set the number of character used to draw the table

    +

    Parameters

    • width: number

    Returns Config

\ No newline at end of file diff --git a/interfaces/pl.DataFrame-1.html b/interfaces/pl.DataFrame-1.html new file mode 100644 index 000000000..e53f01c38 --- /dev/null +++ b/interfaces/pl.DataFrame-1.html @@ -0,0 +1,577 @@ +DataFrame | nodejs-polars

Interface DataFrame

A DataFrame is a two-dimensional data structure that represents data as a table +with rows and columns.

+

Param: data

Object, Array, or Series + Two-dimensional data in various forms. object must contain Arrays. + Array may contain Series or other Arrays.

+

Param: columns

Array of str, default undefined + Column labels to use for resulting DataFrame. If specified, overrides any + labels already present in the data. Must match data dimensions.

+

Param: orient

'col' | 'row' default undefined + Whether to interpret two-dimensional data as columns or as rows. If None, + the orientation is inferred by matching the columns and data dimensions. If + this does not yield conclusive results, column orientation is used.

+

Example

Constructing a DataFrame from an object :

+
> const data = {'a': [1n, 2n], 'b': [3, 4]};
> const df = pl.DataFrame(data);
> console.log(df.toString());
shape: (2, 2)
╭─────┬─────╮
ab
│ --- ┆ --- │
u64i64
╞═════╪═════╡
13
├╌╌╌╌╌┼╌╌╌╌╌┤
24
╰─────┴─────╯ +
+

Notice that the dtype is automatically inferred as a polars Int64:

+
> df.dtypes
['UInt64', `Int64'] +
+

In order to specify dtypes for your columns, initialize the DataFrame with a list +of Series instead:

+
> const data = [pl.Series('col1', [1, 2], pl.Float32), pl.Series('col2', [3, 4], pl.Int64)];
> const df2 = pl.DataFrame(series);
> console.log(df2.toString());
shape: (2, 2)
╭──────┬──────╮
col1col2
│ --- ┆ --- │
f32i64
╞══════╪══════╡
13
├╌╌╌╌╌╌┼╌╌╌╌╌╌┤
24
╰──────┴──────╯ +
+

Constructing a DataFrame from a list of lists, row orientation inferred:

+
> const data = [[1, 2, 3], [4, 5, 6]];
> const df4 = pl.DataFrame(data, ['a', 'b', 'c']);
> console.log(df4.toString());
shape: (2, 3)
╭─────┬─────┬─────╮
abc
│ --- ┆ --- ┆ --- │
i64i64i64
╞═════╪═════╪═════╡
123
├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
456
╰─────┴─────┴─────╯ +
+
interface DataFrame {
    [inspect](): string;
    [iterator](): Generator<any, void, any>;
    add(other): pl.DataFrame;
    clone(): pl.DataFrame;
    columns: string[];
    describe(): pl.DataFrame;
    distinct(maintainOrder?, subset?, keep?): pl.DataFrame;
    div(other): pl.DataFrame;
    divideBy(other): pl.DataFrame;
    drop(name): pl.DataFrame;
    drop(names): pl.DataFrame;
    drop(name, ...names): pl.DataFrame;
    dropNulls(column): pl.DataFrame;
    dropNulls(columns): pl.DataFrame;
    dropNulls(...columns): pl.DataFrame;
    dtypes: DataType[];
    explode(column): pl.DataFrame;
    explode(columns): pl.DataFrame;
    explode(column, ...columns): pl.DataFrame;
    extend(other): pl.DataFrame;
    fillNull(strategy): pl.DataFrame;
    filter(predicate): pl.DataFrame;
    findIdxByName(name): number;
    fold(operation): pl.Series;
    frameEqual(other): boolean;
    frameEqual(other, nullEqual): boolean;
    getColumn(name): pl.Series;
    getColumns(): pl.Series[];
    groupBy(...by): GroupBy;
    groupByDynamic(options): RollingGroupBy;
    groupByRolling(opts): RollingGroupBy;
    hashRows(k0?, k1?, k2?, k3?): pl.Series;
    hashRows(options): pl.Series;
    head(length?): pl.DataFrame;
    height: number;
    hstack(columns): pl.DataFrame;
    hstack(columns, inPlace?): void;
    insertAtIdx(index, series): void;
    interpolate(): pl.DataFrame;
    isDuplicated(): pl.Series;
    isEmpty(): boolean;
    isUnique(): pl.Series;
    join(other, options): pl.DataFrame;
    join(other, options): pl.DataFrame;
    join(other, options): pl.DataFrame;
    joinAsof(other, options): pl.DataFrame;
    lazy(): LazyDataFrame;
    limit(length?): pl.DataFrame;
    map(func): any[];
    max(): pl.DataFrame;
    max(axis): pl.DataFrame;
    max(axis): pl.Series;
    mean(): pl.DataFrame;
    mean(axis): pl.DataFrame;
    mean(axis): pl.Series;
    mean(axis, nullStrategy?): pl.Series;
    median(): pl.DataFrame;
    melt(idVars, valueVars): pl.DataFrame;
    min(): pl.DataFrame;
    min(axis): pl.DataFrame;
    min(axis): pl.Series;
    minus(other): pl.DataFrame;
    modulo(other): pl.DataFrame;
    mul(other): pl.DataFrame;
    multiplyBy(other): pl.DataFrame;
    nChunks(): number;
    nullCount(): pl.DataFrame;
    partitionBy(cols, stable?, includeKey?): pl.DataFrame[];
    partitionBy<T>(cols, stable, includeKey, mapFn): T[];
    pivot(values, options): pl.DataFrame;
    pivot(options): pl.DataFrame;
    plus(other): pl.DataFrame;
    quantile(quantile): pl.DataFrame;
    rechunk(): pl.DataFrame;
    rem(other): pl.DataFrame;
    rename(mapping): pl.DataFrame;
    replaceAtIdx(index, newColumn): void;
    row(index): any[];
    rows(): any[][];
    sample(opts?): pl.DataFrame;
    sample(opts?): pl.DataFrame;
    sample(n?, frac?, withReplacement?, seed?): pl.DataFrame;
    get schema(): Record<string, DataType>;
    select(...columns): pl.DataFrame;
    serialize(format): Buffer;
    shape: {
        height: number;
        width: number;
    };
    shift(periods): pl.DataFrame;
    shift(__namedParameters): pl.DataFrame;
    shiftAndFill(n, fillValue): pl.DataFrame;
    shiftAndFill(__namedParameters): pl.DataFrame;
    shrinkToFit(): pl.DataFrame;
    shrinkToFit(inPlace): void;
    shrinkToFit(__namedParameters): void;
    slice(opts): pl.DataFrame;
    slice(offset, length): pl.DataFrame;
    sort(by, descending?, maintain_order?): pl.DataFrame;
    sort(__namedParameters): pl.DataFrame;
    std(): pl.DataFrame;
    sub(other): pl.DataFrame;
    sum(): pl.DataFrame;
    sum(axis): pl.DataFrame;
    sum(axis): pl.Series;
    sum(axis, nullStrategy?): pl.Series;
    tail(length?): pl.DataFrame;
    toCSV(destOrOptions?, options?): any;
    toDataResource(): TabularDataResource;
    toHTML(): string;
    toIPC(destination?, options?): any;
    toJSON(): string;
    toObject(): Record<string, any[]>;
    toParquet(destination?, options?): any;
    toRecords(): Record<string, any>[];
    toSeries(index?): pl.Series;
    toString(): string;
    toStruct(name): pl.Series;
    transpose(options?): pl.DataFrame;
    unique(maintainOrder?, subset?, keep?): pl.DataFrame;
    unique(opts): pl.DataFrame;
    unnest(names): pl.DataFrame;
    upsample(timeColumn, every, offset?, by?, maintainOrder?): pl.DataFrame;
    upsample(opts): pl.DataFrame;
    var(): pl.DataFrame;
    vstack(df): pl.DataFrame;
    where(predicate): pl.DataFrame;
    width: number;
    withColumn(column): pl.DataFrame;
    withColumn(column): pl.DataFrame;
    withColumnRenamed(existing, replacement): pl.DataFrame;
    withColumnRenamed(opts): pl.DataFrame;
    withColumns(...columns): pl.DataFrame;
    withRowCount(name?): pl.DataFrame;
    writeAvro(options?): Buffer;
    writeAvro(destination, options?): void;
    writeCSV(): Buffer;
    writeCSV(options): Buffer;
    writeCSV(dest, options?): void;
    writeIPC(options?): Buffer;
    writeIPC(destination, options?): void;
    writeJSON(options?): Buffer;
    writeJSON(destination, options?): void;
    writeParquet(options?): Buffer;
    writeParquet(destination, options?): void;
}

Hierarchy

Properties

dtypes: DataType[]
height: number
shape: {
    height: number;
    width: number;
}

Type declaration

  • height: number
  • width: number
width: number

Accessors

Methods - Arithmetic

Methods - Deprecated

  • Parameters

    • Optional destOrOptions: any
    • Optional options: any

    Returns any

    Deprecated

    since 0.4.0 use writeCSV

    +

Methods - IO

  • compat with JSON.stringify

    +

    Returns string

  • Converts dataframe object into column oriented javascript objects

    +

    Returns Record<string, any[]>

    Example

    > df.toObject()
    {
    "foo": [1,2,3],
    "bar": ["a", "b", "c"]
    } +
    +
  • Converts dataframe object into row oriented javascript objects

    +

    Returns Record<string, any>[]

    Example

    > df.toRecords()
    [
    {"foo":1.0,"bar":"a"},
    {"foo":2.0,"bar":"b"},
    {"foo":3.0,"bar":"c"}
    ] +
    +
  • Write the DataFrame disk in avro format.

    +

    Parameters

    Returns Buffer

  • Parameters

    Returns void

  • Write DataFrame to comma-separated values file (csv).

    +

    If no options are specified, it will return a new string containing the contents

    +
    +

    Returns Buffer

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.writeCSV();
    foo,bar,ham
    1,6,a
    2,7,b
    3,8,c

    // using a file path
    > df.head(1).writeCSV("./foo.csv")
    // foo.csv
    foo,bar,ham
    1,6,a

    // using a write stream
    > const writeStream = new Stream.Writable({
    ... write(chunk, encoding, callback) {
    ... console.log("writeStream: %O', chunk.toString());
    ... callback(null);
    ... }
    ... });
    > df.head(1).writeCSV(writeStream, {includeHeader: false});
    writeStream: '1,6,a' +
    +
  • Parameters

    Returns Buffer

  • Parameters

    Returns void

  • Write to Arrow IPC binary stream, or a feather file.

    +

    Parameters

    Returns Buffer

  • Parameters

    Returns void

  • Write Dataframe to JSON string, file, or write stream

    +

    Parameters

    • Optional options: {
          format: "json" | "lines";
      }
      • format: "json" | "lines"

        json | lines

        +

    Returns Buffer

    Example

    > const df = pl.DataFrame({
    ... foo: [1,2,3],
    ... bar: ['a','b','c']
    ... })

    > df.writeJSON({format:"json"})
    `[ {"foo":1.0,"bar":"a"}, {"foo":2.0,"bar":"b"}, {"foo":3.0,"bar":"c"}]`

    > df.writeJSON({format:"lines"})
    `{"foo":1.0,"bar":"a"}
    {"foo":2.0,"bar":"b"}
    {"foo":3.0,"bar":"c"}`

    // writing to a file
    > df.writeJSON("/path/to/file.json", {format:'lines'}) +
    +
  • Parameters

    • destination: string | Writable
    • Optional options: {
          format: "json" | "lines";
      }
      • format: "json" | "lines"

    Returns void

  • Write the DataFrame disk in parquet format.

    +

    Parameters

    Returns Buffer

  • Parameters

    Returns void

Methods - IO Deprecated

  • Parameters

    • Optional destination: any
    • Optional options: any

    Returns any

    Deprecated

    since 0.4.0 use writeIPC

    +
  • Parameters

    • Optional destination: any
    • Optional options: any

    Returns any

    Deprecated

    since 0.4.0 use writeParquet

    +

Methods - Math

  • Sample from this DataFrame by setting either n or frac.

    +

    Parameters

    • Optional opts: {
          n: number;
          seed?: number | bigint;
          withReplacement?: boolean;
      }
      • n: number
      • Optional seed?: number | bigint
      • Optional withReplacement?: boolean

    Returns pl.DataFrame

    Example

    > df = pl.DataFrame({
    > "foo": [1, 2, 3],
    > "bar": [6, 7, 8],
    > "ham": ['a', 'b', 'c']
    > })
    > df.sample({n: 2})
    shape: (2, 3)
    ╭─────┬─────┬─────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16"a"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    ╰─────┴─────┴─────╯ +
    +
  • Parameters

    • Optional opts: {
          frac: number;
          seed?: number | bigint;
          withReplacement?: boolean;
      }
      • frac: number
      • Optional seed?: number | bigint
      • Optional withReplacement?: boolean

    Returns pl.DataFrame

  • Parameters

    • Optional n: number
    • Optional frac: number
    • Optional withReplacement: boolean
    • Optional seed: number | bigint

    Returns pl.DataFrame

Methods - Other

  • Returns Generator<any, void, any>

  • Summary statistics for a DataFrame.

    +

    Only summarizes numeric datatypes at the moment and returns nulls for non numeric datatypes.

    +
    +

    Example

    +
    >  const df = pl.DataFrame({
    ... 'a': [1.0, 2.8, 3.0],
    ... 'b': [4, 5, 6],
    ... "c": [True, False, True]
    ... });
    ... df.describe()
    shape: (5, 4)
    ╭──────────┬───────┬─────┬──────╮
    describeabc
    │ --- ┆ --- ┆ --- ┆ --- │
    strf64f64f64
    ╞══════════╪═══════╪═════╪══════╡
    "mean"2.2675null
    ├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌┤
    "std"1.1021null
    ├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌┤
    "min"140.0
    ├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌┤
    "max"361
    ├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌┤
    "median"2.85null
    ╰──────────┴───────┴─────┴──────╯ +
    +

    Returns pl.DataFrame

  • Remove column from DataFrame and return as new.

    +
    +

    Parameters

    • name: string

    Returns pl.DataFrame

    Example

    >  const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6.0, 7.0, 8.0],
    ... "ham": ['a', 'b', 'c'],
    ... "apple": ['a', 'b', 'c']
    ... });
    > console.log(df.drop(['ham', 'apple']).toString());
    shape: (3, 2)
    ╭─────┬─────╮
    foobar
    │ --- ┆ --- │
    i64f64
    ╞═════╪═════╡
    16
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    27
    ├╌╌╌╌╌┼╌╌╌╌╌┤
    38
    ╰─────┴─────╯ +
    +
  • Parameters

    • names: string[]

    Returns pl.DataFrame

  • Parameters

    • name: string
    • Rest ...names: string[]

    Returns pl.DataFrame

  • Return a new DataFrame where the null values are dropped.

    +

    This method only drops nulls row-wise if any single value of the row is null.

    +
    +

    Parameters

    • column: string

    Returns pl.DataFrame

    Example

    >  const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, null, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > console.log(df.dropNulls().toString());
    shape: (2, 3)
    ┌─────┬─────┬─────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16"a"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    └─────┴─────┴─────┘ +
    +
  • Parameters

    • columns: string[]

    Returns pl.DataFrame

  • Parameters

    • Rest ...columns: string[]

    Returns pl.DataFrame

  • Explode DataFrame to long format by exploding a column with Lists.

    +
    +

    Parameters

    • column: ExprOrString

    Returns pl.DataFrame

    Example

    >  const df = pl.DataFrame({
    ... "letters": ["c", "c", "a", "c", "a", "b"],
    ... "nrs": [[1, 2], [1, 3], [4, 3], [5, 5, 5], [6], [2, 1, 2]]
    ... });
    > console.log(df.toString());
    shape: (6, 2)
    ╭─────────┬────────────╮
    lettersnrs
    │ --- ┆ --- │
    strlist [i64] │
    ╞═════════╪════════════╡
    "c" ┆ [1, 2] │
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    "c" ┆ [1, 3] │
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    "a" ┆ [4, 3] │
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    "c" ┆ [5, 5, 5] │
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    "a" ┆ [6] │
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    "b" ┆ [2, 1, 2] │
    ╰─────────┴────────────╯
    > df.explode("nrs")
    shape: (13, 2)
    ╭─────────┬─────╮
    lettersnrs
    │ --- ┆ --- │
    stri64
    ╞═════════╪═════╡
    "c"1
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"2
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"1
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"3
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    │ ... ┆ ... │
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"5
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "a"6
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "b"2
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "b"1
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "b"2
    ╰─────────┴─────╯ +
    +
  • Parameters

    • columns: ExprOrString[]

    Returns pl.DataFrame

  • Parameters

    • column: ExprOrString
    • Rest ...columns: ExprOrString[]

    Returns pl.DataFrame

  • Extend the memory backed by this DataFrame with the values from other.

    +
    +

    Different from vstack which adds the chunks from other to the chunks of this DataFrame + extent appends the data from other to the underlying memory locations and thus may cause a reallocation.

    +

    If this does not cause a reallocation, the resulting data structure will not have any extra chunks + and thus will yield faster queries.

    +

    Prefer extend over vstack when you want to do a query after a single append. For instance during + online operations where you add n rows and rerun a query.

    +

    Prefer vstack over extend when you want to append many times before doing a query. For instance + when you read in multiple files and when to store them in a single DataFrame. + In the latter case, finish the sequence of vstack operations with a rechunk.

    +

    Parameters

    Returns pl.DataFrame

  • Fill null/missing values by a filling strategy

    +

    Parameters

    • strategy: FillNullStrategy

      One of:

      +
        +
      • "backward"
      • +
      • "forward"
      • +
      • "mean"
      • +
      • "min'
      • +
      • "max"
      • +
      • "zero"
      • +
      • "one"
      • +
      +

    Returns pl.DataFrame

    DataFrame with None replaced with the filling strategy.

    +
  • Filter the rows in the DataFrame based on a predicate expression.

    +
    +

    Parameters

    • predicate: any

      Expression that evaluates to a boolean Series.

      +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    // Filter on one condition
    > df.filter(pl.col("foo").lt(3))
    shape: (2, 3)
    ┌─────┬─────┬─────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16a
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    27b
    └─────┴─────┴─────┘
    // Filter on multiple conditions
    > df.filter(
    ... pl.col("foo").lt(3)
    ... .and(pl.col("ham").eq(pl.lit("a")))
    ... )
    shape: (1, 3)
    ┌─────┬─────┬─────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16a
    └─────┴─────┴─────┘ +
    +
  • Find the index of a column by name.

    +
    +

    Parameters

    • name: string

      Name of the column to find.

      +

    Returns number

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.findIdxByName("ham"))
    2 +
    +
  • Apply a horizontal reduction on a DataFrame.

    +

    This can be used to effectively determine aggregations on a row level, +and can be applied to any DataType that can be supercasted (casted to a similar parent type).

    +

    An example of the supercast rules when applying an arithmetic operation on two DataTypes are for instance:

    +
      +
    • Int8 + Utf8 = Utf8
    • +
    • Float32 + Int64 = Float32
    • +
    • Float32 + Float64 = Float64
    • +
    +
    +

    Parameters

    Returns pl.Series

    Series

    +

    Example

    > // A horizontal sum operation
    > let df = pl.DataFrame({
    ... "a": [2, 1, 3],
    ... "b": [1, 2, 3],
    ... "c": [1.0, 2.0, 3.0]
    ... });
    > df.fold((s1, s2) => s1.plus(s2))
    Series: 'a' [f64]
    [
    4
    5
    9
    ]
    > // A horizontal minimum operation
    > df = pl.DataFrame({
    ... "a": [2, 1, 3],
    ... "b": [1, 2, 3],
    ... "c": [1.0, 2.0, 3.0]
    ... });
    > df.fold((s1, s2) => s1.zipWith(s1.lt(s2), s2))
    Series: 'a' [f64]
    [
    1
    1
    3
    ]
    > // A horizontal string concatenation
    > df = pl.DataFrame({
    ... "a": ["foo", "bar", 2],
    ... "b": [1, 2, 3],
    ... "c": [1.0, 2.0, 3.0]
    ... })
    > df.fold((s1, s2) => s.plus(s2))
    Series: '' [f64]
    [
    "foo11"
    "bar22
    "233"
    ] +
    +
  • Check if DataFrame is equal to other.

    +
    +

    Parameters

    Returns boolean

    Example

    > const df1 = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6.0, 7.0, 8.0],
    ... "ham": ['a', 'b', 'c']
    ... })
    > const df2 = pl.DataFrame({
    ... "foo": [3, 2, 1],
    ... "bar": [8.0, 7.0, 6.0],
    ... "ham": ['c', 'b', 'a']
    ... })
    > df1.frameEqual(df1)
    true
    > df1.frameEqual(df2)
    false +
    +
  • Parameters

    Returns boolean

  • Start a groupby operation.

    +
    +

    Parameters

    • Rest ...by: ColumnSelection[]

      Column(s) to group by.

      +

    Returns GroupBy

  • Groups based on a time value (or index value of type Int32, Int64). Time windows are calculated and rows are assigned to windows. +Different from a normal groupby is that a row can be member of multiple groups. The time/index window could +be seen as a rolling window, with a window size determined by dates/times/values instead of slots in the DataFrame.

    +

    A window is defined by:

    +
      +
    • every: interval of the window
    • +
    • period: length of the window
    • +
    • offset: offset of the window
    • +
    +

    The every, period and offset arguments are created with +the following string language:

    +
      +
    • 1ns (1 nanosecond)
    • +
    • 1us (1 microsecond)
    • +
    • 1ms (1 millisecond)
    • +
    • 1s (1 second)
    • +
    • 1m (1 minute)
    • +
    • 1h (1 hour)
    • +
    • 1d (1 day)
    • +
    • 1w (1 week)
    • +
    • 1mo (1 calendar month)
    • +
    • 1y (1 calendar year)
    • +
    • 1i (1 index count)
    • +
    +

    Or combine them: +"3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds

    +

    In case of a groupbyDynamic on an integer column, the windows are defined by:

    +
      +
    • "1i" # length 1
    • +
    • "10i" # length 10
    • +
    +

    Parameters

    Parameters

    • options: {
          by?: ColumnsOrExpr;
          check_sorted?: boolean;
          closed?: "none" | "left" | "right" | "both";
          every: string;
          includeBoundaries?: boolean;
          indexColumn: string;
          offset?: string;
          period?: string;
          start_by: StartBy;
      }
      • Optional by?: ColumnsOrExpr
      • Optional check_sorted?: boolean
      • Optional closed?: "none" | "left" | "right" | "both"
      • every: string
      • Optional includeBoundaries?: boolean
      • indexColumn: string
      • Optional offset?: string
      • Optional period?: string
      • start_by: StartBy

    Returns RollingGroupBy

  • Create rolling groups based on a time column (or index value of type Int32, Int64).

    +

    Different from a rolling groupby the windows are now determined by the individual values and are not of constant +intervals. For constant intervals use groupByDynamic

    +

    The period and offset arguments are created with +the following string language:

    +
      +
    • 1ns (1 nanosecond)
    • +
    • 1us (1 microsecond)
    • +
    • 1ms (1 millisecond)
    • +
    • 1s (1 second)
    • +
    • 1m (1 minute)
    • +
    • 1h (1 hour)
    • +
    • 1d (1 day)
    • +
    • 1w (1 week)
    • +
    • 1mo (1 calendar month)
    • +
    • 1y (1 calendar year)
    • +
    • 1i (1 index count)
    • +
    +

    Or combine them: +"3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds

    +

    In case of a groupby_rolling on an integer column, the windows are defined by:

    +
      +
    • "1i" # length 1
    • +
    • "10i" # length 10
    • +
    +

    Parameters

    • opts: {
          by?: ColumnsOrExpr;
          check_sorted?: boolean;
          closed?: "none" | "left" | "right" | "both";
          indexColumn: ColumnsOrExpr;
          offset?: string;
          period: string;
      }
      • Optional by?: ColumnsOrExpr
      • Optional check_sorted?: boolean
      • Optional closed?: "none" | "left" | "right" | "both"
      • indexColumn: ColumnsOrExpr
      • Optional offset?: string
      • period: string

    Returns RollingGroupBy

    Example


    >dates = [
    ... "2020-01-01 13:45:48",
    ... "2020-01-01 16:42:13",
    ... "2020-01-01 16:45:09",
    ... "2020-01-02 18:12:48",
    ... "2020-01-03 19:45:32",
    ... "2020-01-08 23:16:43",
    ... ]
    >df = pl.DataFrame({"dt": dates, "a": [3, 7, 5, 9, 2, 1]}).withColumn(
    ... pl.col("dt").str.strptime(pl.Datetime)
    ... )
    >out = df.groupbyRolling({indexColumn:"dt", period:"2d"}).agg(
    ... [
    ... pl.sum("a").alias("sum_a"),
    ... pl.min("a").alias("min_a"),
    ... pl.max("a").alias("max_a"),
    ... ]
    ... )
    >assert(out["sum_a"].toArray() === [3, 10, 15, 24, 11, 1])
    >assert(out["max_a"].toArray() === [3, 7, 7, 9, 9, 1])
    >assert(out["min_a"].toArray() === [3, 3, 3, 3, 2, 1])
    >out
    shape: (6, 4)
    ┌─────────────────────┬───────┬───────┬───────┐
    dta_suma_maxa_min
    │ --- ┆ --- ┆ --- ┆ --- │
    datetime[ms] ┆ i64i64i64
    ╞═════════════════════╪═══════╪═══════╪═══════╡
    2020-01-01 13:45:48333
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-01 16:42:131073
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-01 16:45:091573
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-02 18:12:482493
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-03 19:45:321192
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-08 23:16:43111
    └─────────────────────┴───────┴───────┴───────┘ +
    +
  • Hash and combine the rows in this DataFrame. (Hash value is UInt64)

    +

    Parameters

    • Optional k0: number

      seed parameter

      +
    • Optional k1: number

      seed parameter

      +
    • Optional k2: number

      seed parameter

      +
    • Optional k3: number

      seed parameter

      +

    Returns pl.Series

  • Parameters

    • options: {
          k0?: number;
          k1?: number;
          k2?: number;
          k3?: number;
      }
      • Optional k0?: number
      • Optional k1?: number
      • Optional k2?: number
      • Optional k3?: number

    Returns pl.Series

  • Get first N rows as DataFrame.

    +
    +

    Parameters

    • Optional length: number

      Length of the head.

      +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3, 4, 5],
    ... "bar": [6, 7, 8, 9, 10],
    ... "ham": ['a', 'b', 'c', 'd','e']
    ... });
    > df.head(3)
    shape: (3, 3)
    ╭─────┬─────┬─────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16"a"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    27"b"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    ╰─────┴─────┴─────╯ +
    +
  • Return a new DataFrame grown horizontally by stacking multiple Series to it.

    +

    Parameters

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > const x = pl.Series("apple", [10, 20, 30])
    > df.hStack([x])
    shape: (3, 4)
    ╭─────┬─────┬─────┬───────╮
    foobarhamapple
    │ --- ┆ --- ┆ --- ┆ --- │
    i64i64stri64
    ╞═════╪═════╪═════╪═══════╡
    16"a"10
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    27"b"20
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    38"c"30
    ╰─────┴─────┴─────┴───────╯ +
    +
  • Parameters

    Returns void

  • Insert a Series at a certain column index. This operation is in place.

    +

    Parameters

    • index: number

      Column position to insert the new Series column.

      +
    • series: pl.Series

      Series to insert

      +

    Returns void

  • Check if the dataframe is empty

    +

    Returns boolean

  • SQL like joins.

    +

    Parameters

    Returns pl.DataFrame

    See

    JoinOptions

    +

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6.0, 7.0, 8.0],
    ... "ham": ['a', 'b', 'c']
    ... });
    > const otherDF = pl.DataFrame({
    ... "apple": ['x', 'y', 'z'],
    ... "ham": ['a', 'b', 'd']
    ... });
    > df.join(otherDF, {on: 'ham'})
    shape: (2, 4)
    ╭─────┬─────┬─────┬───────╮
    foobarhamapple
    │ --- ┆ --- ┆ --- ┆ --- │
    i64f64strstr
    ╞═════╪═════╪═════╪═══════╡
    16"a""x"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    27"b""y"
    ╰─────┴─────┴─────┴───────╯ +
    +
  • Parameters

    • other: pl.DataFrame
    • options: {
          leftOn: ValueOrArray<string>;
          rightOn: ValueOrArray<string>;
      } & Omit<JoinOptions, "on">

    Returns pl.DataFrame

  • Parameters

    • other: pl.DataFrame
    • options: {
          how: "cross";
          suffix?: string;
      }
      • how: "cross"
      • Optional suffix?: string

    Returns pl.DataFrame

  • Perform an asof join. This is similar to a left-join except that we +match on nearest key rather than equal keys.

    +

    Both DataFrames must be sorted by the asofJoin key.

    +

    For each row in the left DataFrame:

    +
      +
    • A "backward" search selects the last row in the right DataFrame whose +'on' key is less than or equal to the left's key.

      +
    • +
    • A "forward" search selects the first row in the right DataFrame whose +'on' key is greater than or equal to the left's key.

      +
    • +
    +

    The default is "backward".

    +

    Parameters

    • other: pl.DataFrame

      DataFrame to join with.

      +
    • options: {
          allowParallel?: boolean;
          by?: string | string[];
          byLeft?: string | string[];
          byRight?: string | string[];
          forceParallel?: boolean;
          leftOn?: string;
          on?: string;
          rightOn?: string;
          strategy?: "backward" | "forward";
          suffix?: string;
          tolerance?: string | number;
      }
      • Optional allowParallel?: boolean

        Allow the physical plan to optionally evaluate the computation of both DataFrames up to the join in parallel.

        +
      • Optional by?: string | string[]
      • Optional byLeft?: string | string[]

        join on these columns before doing asof join

        +
      • Optional byRight?: string | string[]

        join on these columns before doing asof join

        +
      • Optional forceParallel?: boolean

        Force the physical plan to evaluate the computation of both DataFrames up to the join in parallel.

        +
      • Optional leftOn?: string

        Join column of the left DataFrame.

        +
      • Optional on?: string

        Join column of both DataFrames. If set, leftOn and rightOn should be undefined.

        +
      • Optional rightOn?: string

        Join column of the right DataFrame.

        +
      • Optional strategy?: "backward" | "forward"

        One of 'forward', 'backward'

        +
      • Optional suffix?: string

        Suffix to append to columns with a duplicate name.

        +
      • Optional tolerance?: string | number

        Numeric tolerance. By setting this the join will only be done if the near keys are within this distance. + If an asof join is done on columns of dtype "Date", "Datetime" you + use the following string language:

        +
          +
        • 1ns (1 nanosecond)
        • +
        • 1us (1 microsecond)
        • +
        • 1ms (1 millisecond)
        • +
        • 1s (1 second)
        • +
        • 1m (1 minute)
        • +
        • 1h (1 hour)
        • +
        • 1d (1 day)
        • +
        • 1w (1 week)
        • +
        • 1mo (1 calendar month)
        • +
        • 1y (1 calendar year)
        • +
        • 1i (1 index count)
        • +
        +

        Or combine them:

        +
          +
        • "3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds
        • +
        +

    Returns pl.DataFrame

    Example

    > const gdp = pl.DataFrame({
    ... date: [
    ... new Date('2016-01-01'),
    ... new Date('2017-01-01'),
    ... new Date('2018-01-01'),
    ... new Date('2019-01-01'),
    ... ], // note record date: Jan 1st (sorted!)
    ... gdp: [4164, 4411, 4566, 4696],
    ... })
    > const population = pl.DataFrame({
    ... date: [
    ... new Date('2016-05-12'),
    ... new Date('2017-05-12'),
    ... new Date('2018-05-12'),
    ... new Date('2019-05-12'),
    ... ], // note record date: May 12th (sorted!)
    ... "population": [82.19, 82.66, 83.12, 83.52],
    ... })
    > population.joinAsof(
    ... gdp,
    ... {leftOn:"date", rightOn:"date", strategy:"backward"}
    ... )
    shape: (4, 3)
    ┌─────────────────────┬────────────┬──────┐
    datepopulationgdp
    │ --- ┆ --- ┆ --- │
    datetime[μs] ┆ f64i64
    ╞═════════════════════╪════════════╪══════╡
    2016-05-12 00:00:0082.194164
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    2017-05-12 00:00:0082.664411
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    2018-05-12 00:00:0083.124566
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    2019-05-12 00:00:0083.524696
    └─────────────────────┴────────────┴──────┘ +
    +
  • Parameters

    • func: ((...args) => any)
        • (...args): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns any[]

  • Aggregate the columns of this DataFrame to their maximum value.

    +
    +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.max()
    shape: (1, 3)
    ╭─────┬─────┬──────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪══════╡
    38null
    ╰─────┴─────┴──────╯ +
    +
  • Parameters

    • axis: 0

    Returns pl.DataFrame

  • Parameters

    • axis: 1

    Returns pl.Series

  • Aggregate the columns of this DataFrame to their median value.

    +
    +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.median();
    shape: (1, 3)
    ╭─────┬─────┬──────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    f64f64str
    ╞═════╪═════╪══════╡
    27null
    ╰─────┴─────┴──────╯ +
    +
  • Unpivot DataFrame to long format.

    +
    +

    Parameters

    • idVars: ColumnSelection

      Columns to use as identifier variables.

      +
    • valueVars: ColumnSelection

      Values to use as value variables.

      +

    Returns pl.DataFrame

    Example

    > const df1 = pl.DataFrame({
    ... 'id': [1],
    ... 'asset_key_1': ['123'],
    ... 'asset_key_2': ['456'],
    ... 'asset_key_3': ['abc'],
    ... });
    > df1.melt('id', ['asset_key_1', 'asset_key_2', 'asset_key_3']);
    shape: (3, 3)
    ┌─────┬─────────────┬───────┐
    idvariablevalue
    │ --- ┆ --- ┆ --- │
    f64strstr
    ╞═════╪═════════════╪═══════╡
    1asset_key_1123
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    1asset_key_2456
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    1asset_key_3abc
    └─────┴─────────────┴───────┘ +
    +
  • Aggregate the columns of this DataFrame to their minimum value.

    +
    +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.min();
    shape: (1, 3)
    ╭─────┬─────┬──────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪══════╡
    16null
    ╰─────┴─────┴──────╯ +
    +
  • Parameters

    • axis: 0

    Returns pl.DataFrame

  • Parameters

    • axis: 1

    Returns pl.Series

  • Get number of chunks used by the ChunkedArrays of this DataFrame.

    +

    Returns number

  • Create a new DataFrame that shows the null counts per column.

    +
    +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, null, 3],
    ... "bar": [6, 7, null],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.nullCount();
    shape: (1, 3)
    ┌─────┬─────┬─────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    u32u32u32
    ╞═════╪═════╪═════╡
    110
    └─────┴─────┴─────┘ +
    +
  • Parameters

    • cols: string | string[]
    • Optional stable: boolean
    • Optional includeKey: boolean

    Returns pl.DataFrame[]

  • Type Parameters

    • T

    Parameters

    • cols: string | string[]
    • stable: boolean
    • includeKey: boolean
    • mapFn: ((df) => T)

    Returns T[]

  • Create a spreadsheet-style pivot table as a DataFrame.

    +

    Parameters

    • values: string | string[]

      Column values to aggregate. Can be multiple columns if the columns arguments contains multiple columns as well

      +
    • options: {
          aggregateFunc?: pl.Expr | "mean" | "min" | "max" | "first" | "last" | "count" | "median" | "sum";
          columns: string | string[];
          index: string | string[];
          maintainOrder?: boolean;
          separator?: string;
          sortColumns?: boolean;
      }
      • Optional aggregateFunc?: pl.Expr | "mean" | "min" | "max" | "first" | "last" | "count" | "median" | "sum"

        Any of: + - "sum" + - "max" + - "min" + - "mean" + - "median" + - "first" + - "last" + - "count" + Defaults to "first"

        +
      • columns: string | string[]

        Columns whose values will be used as the header of the output DataFrame

        +
      • index: string | string[]

        One or multiple keys to group by

        +
      • Optional maintainOrder?: boolean

        Sort the grouped keys so that the output order is predictable.

        +
      • Optional separator?: string

        Used as separator/delimiter in generated column names.

        +
      • Optional sortColumns?: boolean

        Sort the transposed columns by name. Default is by order of discovery.

        +

    Returns pl.DataFrame

    Example

      > const df = pl.DataFrame(
    ... {
    ... "foo": ["one", "one", "one", "two", "two", "two"],
    ... "bar": ["A", "B", "C", "A", "B", "C"],
    ... "baz": [1, 2, 3, 4, 5, 6],
    ... }
    ... );
    > df.pivot(values:"baz", {index:"foo", columns:"bar"});
    shape: (2, 4)
    ┌─────┬─────┬─────┬─────┐
    fooABC
    │ --- ┆ --- ┆ --- ┆ --- │
    strf64f64f64
    ╞═════╪═════╪═════╪═════╡
    one123
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    two456
    └─────┴─────┴─────┴─────┘ +
    +
  • Parameters

    • options: {
          aggregateFunc?: pl.Expr | "mean" | "min" | "max" | "first" | "last" | "count" | "median" | "sum";
          columns: string | string[];
          index: string | string[];
          maintainOrder?: boolean;
          separator?: string;
          sortColumns?: boolean;
          values: string | string[];
      }
      • Optional aggregateFunc?: pl.Expr | "mean" | "min" | "max" | "first" | "last" | "count" | "median" | "sum"
      • columns: string | string[]
      • index: string | string[]
      • Optional maintainOrder?: boolean
      • Optional separator?: string
      • Optional sortColumns?: boolean
      • values: string | string[]

    Returns pl.DataFrame

  • Aggregate the columns of this DataFrame to their quantile value.

    +

    Parameters

    • quantile: number

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.quantile(0.5);
    shape: (1, 3)
    ╭─────┬─────┬──────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪══════╡
    27null
    ╰─────┴─────┴──────╯ +
    +
  • Rechunk the data in this DataFrame to a contiguous allocation.

    +

    This will make sure all subsequent operations have optimal and predictable performance.

    +

    Returns pl.DataFrame

  • Rename column names.

    +
    +

    Parameters

    • mapping: Record<string, string>

      Key value pairs that map from old name to new name.

      +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.rename({"foo": "apple"});
    ╭───────┬─────┬─────╮
    applebarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═══════╪═════╪═════╡
    16"a"
    ├╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    27"b"
    ├╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    ╰───────┴─────┴─────╯ +
    +
  • Replace a column at an index location.

    +
    +

    Parameters

    • index: number

      Column index

      +
    • newColumn: pl.Series

      New column to insert

      +

    Returns void

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > const x = pl.Series("apple", [10, 20, 30]);
    > df.replaceAtIdx(0, x);
    shape: (3, 3)
    ╭───────┬─────┬─────╮
    applebarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═══════╪═════╪═════╡
    106"a"
    ├╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    207"b"
    ├╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    308"c"
    ╰───────┴─────┴─────╯ +
    +
  • Get a row as Array

    +

    Parameters

    • index: number

      row index

      +

    Returns any[]

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.row(2)
    [3, 8, 'c'] +
    +
  • Convert columnar data to rows as arrays

    +

    Returns any[][]

  • Select columns from this DataFrame.

    +
    +

    Parameters

    • Rest ...columns: ExprOrString[]

      Column or columns to select.

      +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.select('foo');
    shape: (3, 1)
    ┌─────┐
    foo
    │ --- │
    i64
    ╞═════╡
    1
    ├╌╌╌╌╌┤
    2
    ├╌╌╌╌╌┤
    3
    └─────┘ +
    +
  • Serializes object to desired format via serde

    +

    Parameters

    Returns Buffer

  • Shift the values by a given period and fill the parts that will be empty due to this operation +with Nones.

    +
    +

    Parameters

    • periods: number

      Number of places to shift (may be negative).

      +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.shift(1);
    shape: (3, 3)
    ┌──────┬──────┬──────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞══════╪══════╪══════╡
    nullnullnull
    ├╌╌╌╌╌╌┼╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    16"a"
    ├╌╌╌╌╌╌┼╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    27"b"
    └──────┴──────┴──────┘
    > df.shift(-1)
    shape: (3, 3)
    ┌──────┬──────┬──────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞══════╪══════╪══════╡
    27"b"
    ├╌╌╌╌╌╌┼╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    38"c"
    ├╌╌╌╌╌╌┼╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    nullnullnull
    └──────┴──────┴──────┘ +
    +
  • Parameters

    • __namedParameters: {
          periods: number;
      }
      • periods: number

    Returns pl.DataFrame

  • Shift the values by a given period and fill the parts that will be empty due to this operation +with the result of the fill_value expression.

    +
    +

    Parameters

    • n: number
    • fillValue: number

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.shiftAndFill({n:1, fill_value:0});
    shape: (3, 3)
    ┌─────┬─────┬─────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    00"0"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    16"a"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    27"b"
    └─────┴─────┴─────┘ +
    +
  • Parameters

    • __namedParameters: {
          fillValue: number;
          n: number;
      }
      • fillValue: number
      • n: number

    Returns pl.DataFrame

  • Shrink memory usage of this DataFrame to fit the exact capacity needed to hold the data.

    +

    Returns pl.DataFrame

  • Parameters

    • inPlace: true

    Returns void

  • Parameters

    • __namedParameters: {
          inPlace: true;
      }
      • inPlace: true

    Returns void

  • Slice this DataFrame over the rows direction.

    +
    +

    Parameters

    • opts: {
          length: number;
          offset: number;
      }
      • length: number

        Length of the slice

        +
      • offset: number

        Offset index.

        +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6.0, 7.0, 8.0],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.slice(1, 2); // Alternatively `df.slice({offset:1, length:2})`
    shape: (2, 3)
    ┌─────┬─────┬─────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    27"b"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    └─────┴─────┴─────┘ +
    +
  • Parameters

    • offset: number
    • length: number

    Returns pl.DataFrame

  • Sort the DataFrame by column.

    +
    +

    Parameters

    • by: ColumnsOrExpr

      By which columns to sort. Only accepts string.

      +
    • Optional descending: boolean
    • Optional maintain_order: boolean

    Returns pl.DataFrame

  • Parameters

    • __namedParameters: {
          by: ColumnsOrExpr;
          descending?: boolean;
          maintain_order?: boolean;
      }
      • by: ColumnsOrExpr
      • Optional descending?: boolean
      • Optional maintain_order?: boolean

    Returns pl.DataFrame

  • Aggregate the columns of this DataFrame to their standard deviation value.

    +
    +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "foo": [1, 2, 3],
    ... "bar": [6, 7, 8],
    ... "ham": ['a', 'b', 'c']
    ... });
    > df.std();
    shape: (1, 3)
    ╭─────┬─────┬──────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    f64f64str
    ╞═════╪═════╪══════╡
    11null
    ╰─────┴─────┴──────╯ +
    +
  • Parameters

    • Optional length: number

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "letters": ["c", "c", "a", "c", "a", "b"],
    ... "nrs": [1, 2, 3, 4, 5, 6]
    ... });
    > console.log(df.toString());
    shape: (6, 2)
    ╭─────────┬─────╮
    lettersnrs
    │ --- ┆ --- │
    stri64
    ╞═════════╪═════╡
    "c"1
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"2
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "a"3
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"4
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "a"5
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "b"6
    ╰─────────┴─────╯
    > df.groupby("letters")
    ... .tail(2)
    ... .sort("letters")
    shape: (5, 2)
    ╭─────────┬─────╮
    lettersnrs
    │ --- ┆ --- │
    stri64
    ╞═════════╪═════╡
    "a"3
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "a"5
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "b"6
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"2
    ├╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┤
    "c"4
    ╰─────────┴─────╯ +
    +
  • Converts dataframe object into a TabularDataResource

    +

    Returns TabularDataResource

  • Converts dataframe object into HTML

    +

    Returns string

  • Convert a DataFrame to a Series of type Struct

    +

    Parameters

    • name: string

      Name for the struct Series

      +

    Returns pl.Series

    Example

     > const df = pl.DataFrame({
    ... "a": [1, 2, 3, 4, 5],
    ... "b": ["one", "two", "three", "four", "five"],
    ... });
    > df.toStruct("nums");
    shape: (5,)
    Series: 'nums' [struct[2]{'a': i64, 'b': str}]
    [
    {1,"one"}
    {2,"two"}
    {3,"three"}
    {4,"four"}
    {5,"five"}
    ] +
    +
  • Transpose a DataFrame over the diagonal.

    +

    Parameters

    • Optional options: {
          columnNames?: Iterable<string>;
          headerName?: string;
          includeHeader?: boolean;
      }
      • Optional columnNames?: Iterable<string>

        Optional generator/iterator that yields column names. Will be used to replace the columns in the DataFrame.

        +
      • Optional headerName?: string

        If includeHeader is set, this determines the name of the column that will be inserted

        +
      • Optional includeHeader?: boolean

        If set, the column names will be added as first column.

        +

    Returns pl.DataFrame

    Remarks

    This is a very expensive operation. Perhaps you can do it differently.

    +

    Example

    > const df = pl.DataFrame({"a": [1, 2, 3], "b": [1, 2, 3]});
    > df.transpose({includeHeader:true})
    shape: (2, 4)
    ┌────────┬──────────┬──────────┬──────────┐
    columncolumn_0column_1column_2
    │ --- ┆ --- ┆ --- ┆ --- │
    stri64i64i64
    ╞════════╪══════════╪══════════╪══════════╡
    a123
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┤
    b123
    └────────┴──────────┴──────────┴──────────┘
    // replace the auto generated column names with a list
    > df.transpose({includeHeader:false, columnNames:["a", "b", "c"]})
    shape: (2, 3)
    ┌─────┬─────┬─────┐
    abc
    │ --- ┆ --- ┆ --- │
    i64i64i64
    ╞═════╪═════╪═════╡
    123
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    123
    └─────┴─────┴─────┘

    // Include the header as a separate column
    > df.transpose({
    ... includeHeader:true,
    ... headerName:"foo",
    ... columnNames:["a", "b", "c"]
    ... })
    shape: (2, 4)
    ┌─────┬─────┬─────┬─────┐
    fooabc
    │ --- ┆ --- ┆ --- ┆ --- │
    stri64i64i64
    ╞═════╪═════╪═════╪═════╡
    a123
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    b123
    └─────┴─────┴─────┴─────┘

    // Replace the auto generated column with column names from a generator function
    > function *namesGenerator() {
    ... const baseName = "my_column_";
    ... let count = 0;
    ... let name = `${baseName}_${count}`;
    ... count++;
    ... yield name;
    ... }
    > df.transpose({includeHeader:false, columnNames:namesGenerator})
    shape: (2, 3)
    ┌─────────────┬─────────────┬─────────────┐
    my_column_0my_column_1my_column_2
    │ --- ┆ --- ┆ --- │
    i64i64i64
    ╞═════════════╪═════════════╪═════════════╡
    123
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    123
    └─────────────┴─────────────┴─────────────┘ +
    +
  • Drop duplicate rows from this DataFrame. +Note that this fails if there is a column of type List in the DataFrame.

    +

    Parameters

    • Optional maintainOrder: boolean
    • Optional subset: ColumnSelection

      subset to drop duplicates for

      +
    • Optional keep: "first" | "last"

      "first" | "last"

      +

    Returns pl.DataFrame

  • Parameters

    • opts: {
          keep?: "first" | "last";
          maintainOrder?: boolean;
          subset?: ColumnSelection;
      }
      • Optional keep?: "first" | "last"
      • Optional maintainOrder?: boolean
      • Optional subset?: ColumnSelection

    Returns pl.DataFrame

  • Decompose a struct into its fields. The fields will be inserted in to the DataFrame on the +location of the struct type.

    +

    Parameters

    • names: string | string[]

      Names of the struct columns that will be decomposed by its fields

      +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    ... "int": [1, 2],
    ... "str": ["a", "b"],
    ... "bool": [true, null],
    ... "list": [[1, 2], [3]],
    ... })
    ... .toStruct("my_struct")
    ... .toFrame();
    > df
    shape: (2, 1)
    ┌─────────────────────────────┐
    my_struct
    │ --- │
    struct[4]{'int',...,'list'} │
    ╞═════════════════════════════╡
    │ {1,"a",true,[1, 2]} │
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    │ {2,"b",null,[3]} │
    └─────────────────────────────┘
    > df.unnest("my_struct")
    shape: (2, 4)
    ┌─────┬─────┬──────┬────────────┐
    intstrboollist
    │ --- ┆ --- ┆ --- ┆ --- │
    i64strboollist [i64] │
    ╞═════╪═════╪══════╪════════════╡
    1atrue ┆ [1, 2] │
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    2bnull ┆ [3] │
    └─────┴─────┴──────┴────────────┘ +
    +
  • Upsample a DataFrame at a regular frequency.

    +

    The every and offset arguments are created with the following string language:

    +
      +
    • 1ns (1 nanosecond)
    • +
    • 1us (1 microsecond)
    • +
    • 1ms (1 millisecond)
    • +
    • 1s (1 second)
    • +
    • 1m (1 minute)
    • +
    • 1h (1 hour)
    • +
    • 1d (1 calendar day)
    • +
    • 1w (1 calendar week)
    • +
    • 1mo (1 calendar month)
    • +
    • 1q (1 calendar quarter)
    • +
    • 1y (1 calendar year)
    • +
    • 1i (1 index count)
    • +
    +

    Or combine them:

    +
      +
    • "3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds
    • +
    +

    By "calendar day", we mean the corresponding time on the next day (which may not be 24 hours, due to daylight savings). +Similarly for "calendar week", "calendar month", "calendar quarter", and "calendar year".

    +

    Parameters

    Parameters

    • timeColumn: string

      Time column will be used to determine a date range. + Note that this column has to be sorted for the output to make sense.

      +
    • every: string

      Interval will start 'every' duration.

      +
    • Optional offset: string

      Change the start of the date range by this offset.

      +
    • Optional by: string | string[]

      First group by these columns and then upsample for every group.

      +
    • Optional maintainOrder: boolean

      Keep the ordering predictable. This is slower.

      +

      Returns

      DataFrame + Result will be sorted by timeColumn (but note that if by columns are passed, it will only be sorted within each by group).

      +

      Examples

      Upsample a DataFrame by a certain interval.

      +
      +
      +
      +

      const df = pl.DataFrame({ + "date": [ + new Date(2024, 1, 1), + new Date(2024, 3, 1), + new Date(2024, 4, 1), + new Date(2024, 5, 1), + ], + "groups": ["A", "B", "A", "B"], + "values": [0, 1, 2, 3], + }) + .withColumn(pl.col("date").cast(pl.Date).alias("date")) + .sort("date");

      +
      +
      +
      +
      +
      +
      +

      df.upsample({timeColumn: "date", every: "1mo", offset: "0ns", by: "groups", maintainOrder: true}) + .select(pl.col("*").forwardFill()); +shape: (7, 3) +┌────────────┬────────┬────────┐ +│ date ┆ groups ┆ values │ +│ --- ┆ --- ┆ --- │ +│ date ┆ str ┆ f64 │ +╞════════════╪════════╪════════╡ +│ 2024-02-01 ┆ A ┆ 0.0 │ +│ 2024-03-01 ┆ A ┆ 0.0 │ +│ 2024-04-01 ┆ A ┆ 0.0 │ +│ 2024-05-01 ┆ A ┆ 2.0 │ +│ 2024-04-01 ┆ B ┆ 1.0 │ +│ 2024-05-01 ┆ B ┆ 1.0 │ +│ 2024-06-01 ┆ B ┆ 3.0 │ +└────────────┴────────┴────────┘

      +
      +
      +
      +

    Returns pl.DataFrame

  • Parameters

    • opts: {
          by?: string | string[];
          every: string;
          maintainOrder?: boolean;
          offset?: string;
          timeColumn: string;
      }
      • Optional by?: string | string[]
      • every: string
      • Optional maintainOrder?: boolean
      • Optional offset?: string
      • timeColumn: string

    Returns pl.DataFrame

  • Aggregate the columns of this DataFrame to their variance value.

    +

    Returns pl.DataFrame

    Example

    > const df = pl.DataFrame({
    > "foo": [1, 2, 3],
    > "bar": [6, 7, 8],
    > "ham": ['a', 'b', 'c']
    > });
    > df.var()
    shape: (1, 3)
    ╭─────┬─────┬──────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    f64f64str
    ╞═════╪═════╪══════╡
    11null
    ╰─────┴─────┴──────╯ +
    +
  • Grow this DataFrame vertically by stacking a DataFrame to it.

    +

    Parameters

    Returns pl.DataFrame

    Example

    > const df1 = pl.DataFrame({
    ... "foo": [1, 2],
    ... "bar": [6, 7],
    ... "ham": ['a', 'b']
    ... });
    > const df2 = pl.DataFrame({
    ... "foo": [3, 4],
    ... "bar": [8 , 9],
    ... "ham": ['c', 'd']
    ... });
    > df1.vstack(df2);
    shape: (4, 3)
    ╭─────┬─────┬─────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16"a"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    27"b"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    49"d"
    ╰─────┴─────┴─────╯ +
    +
  • Return a new DataFrame with the column renamed.

    +

    Parameters

    • existing: string
    • replacement: string

    Returns pl.DataFrame

  • Parameters

    • opts: {
          existing: string;
          replacement: string;
      }
      • existing: string
      • replacement: string

    Returns pl.DataFrame

\ No newline at end of file diff --git a/interfaces/pl.Expr-1.html b/interfaces/pl.Expr-1.html new file mode 100644 index 000000000..4b7ba9053 --- /dev/null +++ b/interfaces/pl.Expr-1.html @@ -0,0 +1,493 @@ +Expr | nodejs-polars

Interface Expr

Expressions that can be used in various contexts.

+
interface Expr {
    [INSPECT_SYMBOL](): string;
    [toStringTag](): string;
    _expr: any;
    abs(): pl.Expr;
    add(other): pl.Expr;
    aggGroups(): pl.Expr;
    alias(name): pl.Expr;
    and(other): pl.Expr;
    arccos(): pl.Expr;
    arccosh(): pl.Expr;
    arcsin(): pl.Expr;
    arcsinh(): pl.Expr;
    arctan(): pl.Expr;
    arctanh(): pl.Expr;
    argMax(): pl.Expr;
    argMin(): pl.Expr;
    argSort(reverse?, maintain_order?): pl.Expr;
    argSort(__namedParameters): pl.Expr;
    argUnique(): pl.Expr;
    as(name): pl.Expr;
    backwardFill(): pl.Expr;
    cast(dtype, strict?): pl.Expr;
    ceil(): pl.Expr;
    clip(min, max): pl.Expr;
    clip(options): any;
    cos(): pl.Expr;
    cosh(): pl.Expr;
    cot(): pl.Expr;
    count(): pl.Expr;
    cumCount(reverse?): pl.Expr;
    cumCount(__namedParameters): pl.Expr;
    cumMax(reverse?): pl.Expr;
    cumMax(__namedParameters): pl.Expr;
    cumMin(reverse?): pl.Expr;
    cumMin(__namedParameters): pl.Expr;
    cumProd(reverse?): pl.Expr;
    cumProd(__namedParameters): pl.Expr;
    cumSum(reverse?): pl.Expr;
    cumSum(__namedParameters): pl.Expr;
    get date(): DatetimeNamespace;
    diff(n, nullBehavior): pl.Expr;
    diff(o): pl.Expr;
    div(other): pl.Expr;
    divideBy(other): pl.Expr;
    dot(other): pl.Expr;
    eq(other): pl.Expr;
    equals(other): pl.Expr;
    ewmMean(): pl.Expr;
    ewmMean(alpha?, adjust?, minPeriods?, bias?, ignoreNulls?): pl.Expr;
    ewmMean(opts): pl.Expr;
    ewmStd(): pl.Expr;
    ewmStd(alpha?, adjust?, minPeriods?, bias?, ignoreNulls?): pl.Expr;
    ewmStd(opts): pl.Expr;
    ewmVar(): pl.Expr;
    ewmVar(alpha?, adjust?, minPeriods?, bias?, ignoreNulls?): pl.Expr;
    ewmVar(opts): pl.Expr;
    exclude(column, ...columns): pl.Expr;
    exp(): pl.Expr;
    explode(): pl.Expr;
    extend(value, n): pl.Expr;
    extend(opt): pl.Expr;
    extendConstant(value, n): pl.Expr;
    extendConstant(opt): pl.Expr;
    fillNan(other): pl.Expr;
    fillNull(other): pl.Expr;
    filter(predicate): pl.Expr;
    first(): pl.Expr;
    flatten(): pl.Expr;
    floor(): pl.Expr;
    forwardFill(): pl.Expr;
    gather(index): pl.Expr;
    gather(__namedParameters): pl.Expr;
    gatherEvery(n, offset?): pl.Expr;
    greaterThan(other): pl.Expr;
    greaterThanEquals(other): pl.Expr;
    gt(other): pl.Expr;
    gtEq(other): pl.Expr;
    hash(k0?, k1?, k2?, k3?): pl.Expr;
    hash(__namedParameters): pl.Expr;
    head(length?): pl.Expr;
    head(__namedParameters): pl.Expr;
    inner(): any;
    interpolate(): pl.Expr;
    isDuplicated(): pl.Expr;
    isFinite(): pl.Expr;
    isFirstDistinct(): pl.Expr;
    isIn(other): pl.Expr;
    isInfinite(): pl.Expr;
    isNan(): pl.Expr;
    isNotNan(): pl.Expr;
    isNotNull(): pl.Expr;
    isNull(): pl.Expr;
    isUnique(): pl.Expr;
    keepName(): pl.Expr;
    kurtosis(): pl.Expr;
    kurtosis(fisher, bias?): pl.Expr;
    kurtosis(__namedParameters): pl.Expr;
    last(): pl.Expr;
    lessThan(other): pl.Expr;
    lessThanEquals(other): pl.Expr;
    list(): pl.Expr;
    log(base?): pl.Expr;
    log1p(): pl.Expr;
    lowerBound(): pl.Expr;
    get lst(): ListNamespace;
    lt(other): pl.Expr;
    ltEq(other): pl.Expr;
    max(): pl.Expr;
    mean(): pl.Expr;
    median(): pl.Expr;
    min(): pl.Expr;
    minus(other): pl.Expr;
    mode(): pl.Expr;
    modulo(other): pl.Expr;
    mul(other): pl.Expr;
    multiplyBy(other): pl.Expr;
    nUnique(): pl.Expr;
    neq(other): pl.Expr;
    not(): pl.Expr;
    notEquals(other): pl.Expr;
    or(other): pl.Expr;
    over(by, ...partitionBy): pl.Expr;
    peakMax(): pl.Expr;
    peakMin(): pl.Expr;
    plus(other): pl.Expr;
    pow(exponent): pl.Expr;
    pow(__namedParameters): pl.Expr;
    prefix(prefix): pl.Expr;
    quantile(quantile): pl.Expr;
    rank(method?): pl.Expr;
    rank(__namedParameters): pl.Expr;
    reinterpret(signed?): pl.Expr;
    reinterpret(__namedParameters): pl.Expr;
    rem(other): pl.Expr;
    repeatBy(by): pl.Expr;
    replace(old, new_, default_?, returnDtype?): pl.Expr;
    replace(__namedParameters): pl.Expr;
    reverse(): pl.Expr;
    rollingMax(options): pl.Expr;
    rollingMax(windowSize, weights?, minPeriods?, center?): pl.Expr;
    rollingMean(options): pl.Expr;
    rollingMean(windowSize, weights?, minPeriods?, center?): pl.Expr;
    rollingMedian(options): pl.Expr;
    rollingMedian(windowSize, weights?, minPeriods?, center?): pl.Expr;
    rollingMin(options): pl.Expr;
    rollingMin(windowSize, weights?, minPeriods?, center?): pl.Expr;
    rollingQuantile(options): pl.Expr;
    rollingQuantile(quantile, interpolation?, windowSize?, weights?, minPeriods?, center?, by?, closed?): pl.Expr;
    rollingSkew(windowSize, bias?): pl.Expr;
    rollingSkew(options): pl.Expr;
    rollingStd(options): pl.Expr;
    rollingStd(windowSize, weights?, minPeriods?, center?, ddof?): pl.Expr;
    rollingSum(options): pl.Expr;
    rollingSum(windowSize, weights?, minPeriods?, center?): pl.Expr;
    rollingVar(options): pl.Expr;
    rollingVar(windowSize, weights?, minPeriods?, center?, ddof?): pl.Expr;
    round(decimals): pl.Expr;
    round(options): pl.Expr;
    sample(opts?): pl.Expr;
    sample(opts?): pl.Expr;
    sample(n?, frac?, withReplacement?, seed?): pl.Expr;
    serialize(format): Buffer;
    shift(periods?): pl.Expr;
    shift(__namedParameters): pl.Expr;
    shiftAndFill(periods, fillValue): pl.Expr;
    shiftAndFill(__namedParameters): pl.Expr;
    sin(): pl.Expr;
    sinh(): pl.Expr;
    skew(bias?): pl.Expr;
    skew(__namedParameters): pl.Expr;
    slice(offset, length): pl.Expr;
    slice(__namedParameters): pl.Expr;
    sort(reverse?, nullsLast?): pl.Expr;
    sort(__namedParameters): pl.Expr;
    sortBy(by, reverse?): pl.Expr;
    sortBy(options): pl.Expr;
    std(): pl.Expr;
    get str(): StringNamespace;
    get struct(): StructNamespace;
    sub(other): pl.Expr;
    suffix(suffix): pl.Expr;
    sum(): pl.Expr;
    tail(length?): pl.Expr;
    tail(__namedParameters): pl.Expr;
    tan(): pl.Expr;
    tanh(): pl.Expr;
    toJSON(): string;
    toString(): string;
    unique(opt): pl.Expr;
    unique(maintainOrder?): pl.Expr;
    upperBound(): pl.Expr;
    var(): pl.Expr;
    where(predicate): pl.Expr;
}

Hierarchy

Properties

_expr: any

Accessors

Methods - Arithmetic

  • Get the remainder of self divided by other

    +

    Parameters

    • other: any

    Returns pl.Expr

  • Get the remainder of self divided by other

    +

    Parameters

    • other: any

    Returns pl.Expr

Methods - Comparison

  • Compare self to other: self == other

    +

    Parameters

    • other: any

    Returns pl.Expr

  • Compare self to other: self > other

    +

    Parameters

    • other: any

    Returns pl.Expr

  • Compare self to other: self >= other

    +

    Parameters

    • other: any

    Returns pl.Expr

  • Compare self to other: self < other

    +

    Parameters

    • other: any

    Returns pl.Expr

  • Compare self to other: self =< other

    +

    Parameters

    • other: any

    Returns pl.Expr

  • Compare self to other: self !== other

    +

    Parameters

    • other: any

    Returns pl.Expr

Methods - Cumulative

  • Get an array with the cumulative count computed at every element.

    +

    Parameters

    • Optional reverse: boolean

    Returns pl.Expr

  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Expr

  • Get an array with the cumulative max computes at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Expr

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumMax()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    2
    3
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Expr

  • Get an array with the cumulative min computed at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Expr

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumMin()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    1
    1
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Expr

  • Get an array with the cumulative product computed at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Expr

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumProd()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    2
    6
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Expr

  • Get an array with the cumulative sum computed at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Expr

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumSum()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    3
    6
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Expr

Methods - Math

  • Ceil underlying floating point array to the highest integers smaller or equal to the float value. +Only works on floating point Series

    +

    Returns pl.Expr

  • Clip (limit) the values in an array to any value that fits in 64 floating point range. +Only works for the following dtypes: {Int32, Int64, Float32, Float64, UInt32}. +If you want to clip other dtypes, consider writing a when -> then -> otherwise expression

    +

    Parameters

    • min: number

      Minimum value

      +
    • max: number

      Maximum value

      +

    Returns pl.Expr

  • Parameters

    • options: {
          max: number;
          min: number;
      }
      • max: number
      • min: number

    Returns any

  • Floor underlying floating point array to the lowest integers smaller or equal to the float value. +Only works on floating point Series

    +

    Returns pl.Expr

  • Round underlying floating point data by decimals digits.

    +

    Similar functionality to javascript toFixed

    +

    Parameters

    • decimals: number

      number of decimals to round by.

      +

    Returns pl.Expr

  • Parameters

    • options: {
          decimals: number;
      }
      • decimals: number

    Returns pl.Expr

  • Sample from this DataFrame by setting either n or frac.

    +

    Parameters

    • Optional opts: {
          n: number;
          seed?: number | bigint;
          withReplacement?: boolean;
      }
      • n: number
      • Optional seed?: number | bigint
      • Optional withReplacement?: boolean

    Returns pl.Expr

    Example

    > df = pl.DataFrame({
    > "foo": [1, 2, 3],
    > "bar": [6, 7, 8],
    > "ham": ['a', 'b', 'c']
    > })
    > df.sample({n: 2})
    shape: (2, 3)
    ╭─────┬─────┬─────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16"a"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    ╰─────┴─────┴─────╯ +
    +
  • Parameters

    • Optional opts: {
          frac: number;
          seed?: number | bigint;
          withReplacement?: boolean;
      }
      • frac: number
      • Optional seed?: number | bigint
      • Optional withReplacement?: boolean

    Returns pl.Expr

  • Parameters

    • Optional n: number
    • Optional frac: number
    • Optional withReplacement: boolean
    • Optional seed: number | bigint

    Returns pl.Expr

Methods - Other

  • Get the group indexes of the group by operation. +Should be used in aggregation context only.

    +

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame(
    ... {
    ... "group": [
    ... "one",
    ... "one",
    ... "one",
    ... "two",
    ... "two",
    ... "two",
    ... ],
    ... "value": [94, 95, 96, 97, 97, 99],
    ... }
    ... )
    >>> df.group_by("group", maintain_order=True).agg(pl.col("value").aggGroups())
    shape: (2, 2)
    ┌───────┬───────────┐
    groupvalue
    │ --- ┆ --- │
    strlist[u32] │
    ╞═══════╪═══════════╡
    one ┆ [0, 1, 2] │
    two ┆ [3, 4, 5] │
    └───────┴───────────┘ +
    +
  • Rename the output of an expression.

    +

    Parameters

    • name: string

      new name

      +

    Returns pl.Expr

    See

    Expr.as

    +

    Example

    > const df = pl.DataFrame({
    ... "a": [1, 2, 3],
    ... "b": ["a", "b", None],
    ... });
    > df
    shape: (3, 2)
    ╭─────┬──────╮
    ab
    │ --- ┆ --- │
    i64str
    ╞═════╪══════╡
    1"a"
    ├╌╌╌╌╌┼╌╌╌╌╌╌┤
    2"b"
    ├╌╌╌╌╌┼╌╌╌╌╌╌┤
    3null
    ╰─────┴──────╯
    > df.select([
    ... pl.col("a").alias("bar"),
    ... pl.col("b").alias("foo"),
    ... ])
    shape: (3, 2)
    ╭─────┬──────╮
    barfoo
    │ --- ┆ --- │
    i64str
    ╞═════╪══════╡
    1"a"
    ├╌╌╌╌╌┼╌╌╌╌╌╌┤
    2"b"
    ├╌╌╌╌╌┼╌╌╌╌╌╌┤
    3null
    ╰─────┴──────╯ +
    +
  • Compute the element-wise value for the inverse cosine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

       >>> const df = pl.DataFrame({"a": [0.0]})
    >>> df.select(pl.col("a").acrcos())
    shape: (1, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    1.570796
    └──────────┘ +
    +
  • Compute the element-wise value for the inverse hyperbolic cosine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

       >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").acrcosh())
    shape: (1, 1)
    ┌─────┐
    a
    │ --- │
    f64
    ╞═════╡
    0.0
    └─────┘ +
    +
  • Compute the element-wise value for the inverse sine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

    >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").acrsin())
    shape: (1, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    1.570796
    └──────────┘ +
    +
  • Compute the element-wise value for the inverse hyperbolic sine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").acrsinh())
    shape: (1, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    0.881374
    └──────────┘
    * ``` +
    +
  • Compute the element-wise value for the inverse tangent.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").arctan())
    shape: (1, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    0.785398
    └──────────┘ +
    +
  • Compute the element-wise value for the inverse hyperbolic tangent.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").arctanh())
    shape: (1, 1)
    ┌─────┐
    a
    │ --- │
    f64
    ╞═════╡
    inf
    └─────┘ +
    +
  • Get the index values that would sort this column.

    +

    Parameters

    • Optional reverse: boolean

      false -> order from small to large. + - true -> order from large to small.

      +
    • Optional maintain_order: boolean

    Returns pl.Expr

    UInt32 Series

    +
  • Parameters

    • __namedParameters: {
          maintain_order?: boolean;
          reverse?: boolean;
      }
      • Optional maintain_order?: boolean
      • Optional reverse?: boolean

    Returns pl.Expr

  • Compute the element-wise value for the cosine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

       >>> const df = pl.DataFrame({"a": [0.0]})
    >>> df.select(pl.col("a").cos())
    shape: (1, 1)
    ┌─────┐
    a
    │ --- │
    f64
    ╞═════╡
    1.0
    └─────┘ +
    +
  • Compute the element-wise value for the hyperbolic cosine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

       >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").cosh())
    shape: (1, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    1.543081
    └──────────┘ +
    +
  • Compute the element-wise value for the cotangent.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").cot().round(2))
    shape: (1, 1)
    ┌──────┐
    a
    │ --- │
    f64
    ╞══════╡
    0.64
    └──────┘ +
    +
  • Calculate the n-th discrete difference.

    +

    Parameters

    • n: number

      number of slots to shift

      +
    • nullBehavior: "ignore" | "drop"

      ignore or drop

      +

    Returns pl.Expr

  • Parameters

    • o: {
          n: number;
          nullBehavior: "ignore" | "drop";
      }
      • n: number
      • nullBehavior: "ignore" | "drop"

    Returns pl.Expr

  • Compute the dot/inner product between two Expressions

    +

    Parameters

    • other: any

      Expression to compute dot product with

      +

    Returns pl.Expr

  • Exponentially-weighted moving average.

    +

    Returns pl.Expr

    Expr that evaluates to a float 64 Series.

    +

    Examples

    > const df = pl.DataFrame({a: [1, 2, 3]});
    > df.select(pl.col("a").ewmMean())
    shape: (3, 1)
    ┌──────────┐
    a
    | --- │
    f64
    ╞══════════╡
    1.0
    1.666667
    2.428571
    └──────────┘ +
    +
  • Parameters

    • Optional alpha: number
    • Optional adjust: boolean
    • Optional minPeriods: number
    • Optional bias: boolean
    • Optional ignoreNulls: boolean

    Returns pl.Expr

  • Parameters

    • opts: {
          adjust?: boolean;
          alpha?: number;
          bias?: boolean;
          ignoreNulls?: boolean;
          minPeriods?: number;
      }
      • Optional adjust?: boolean
      • Optional alpha?: number
      • Optional bias?: boolean
      • Optional ignoreNulls?: boolean
      • Optional minPeriods?: number

    Returns pl.Expr

  • Exponentially-weighted standard deviation.

    +

    Returns pl.Expr

    Expr that evaluates to a float 64 Series.

    +

    Examples

    > const df = pl.DataFrame({a: [1, 2, 3]});
    > df.select(pl.col("a").ewmStd())
    shape: (3, 1)
    ┌──────────┐
    a
    | --- │
    f64
    ╞══════════╡
    0.0
    0.707107
    0.963624
    └──────────┘ +
    +
  • Parameters

    • Optional alpha: number
    • Optional adjust: boolean
    • Optional minPeriods: number
    • Optional bias: boolean
    • Optional ignoreNulls: boolean

    Returns pl.Expr

  • Parameters

    • opts: {
          adjust?: boolean;
          alpha?: number;
          bias?: boolean;
          ignoreNulls?: boolean;
          minPeriods?: number;
      }
      • Optional adjust?: boolean
      • Optional alpha?: number
      • Optional bias?: boolean
      • Optional ignoreNulls?: boolean
      • Optional minPeriods?: number

    Returns pl.Expr

  • Exponentially-weighted variance.

    +

    Returns pl.Expr

    Expr that evaluates to a float 64 Series.

    +

    Examples

    > const df = pl.DataFrame({a: [1, 2, 3]});
    > df.select(pl.col("a").ewmVar())
    shape: (3, 1)
    ┌──────────┐
    a
    | --- │
    f64
    ╞══════════╡
    0.0
    0.5
    0.928571
    └──────────┘ +
    +
  • Parameters

    • Optional alpha: number
    • Optional adjust: boolean
    • Optional minPeriods: number
    • Optional bias: boolean
    • Optional ignoreNulls: boolean

    Returns pl.Expr

  • Parameters

    • opts: {
          adjust?: boolean;
          alpha?: number;
          bias?: boolean;
          ignoreNulls?: boolean;
          minPeriods?: number;
      }
      • Optional adjust?: boolean
      • Optional alpha?: number
      • Optional bias?: boolean
      • Optional ignoreNulls?: boolean
      • Optional minPeriods?: number

    Returns pl.Expr

  • Exclude certain columns from a wildcard/regex selection.

    +

    You may also use regexes in the exclude list. They must start with ^ and end with $.

    +

    Parameters

    • column: string
    • Rest ...columns: string[]

      Column(s) to exclude from selection

      +

    Returns pl.Expr

    Example

     > const df = pl.DataFrame({
    ... "a": [1, 2, 3],
    ... "b": ["a", "b", None],
    ... "c": [None, 2, 1],
    ...});
    > df
    shape: (3, 3)
    ╭─────┬──────┬──────╮
    abc
    │ --- ┆ --- ┆ --- │
    i64stri64
    ╞═════╪══════╪══════╡
    1"a"null
    ├╌╌╌╌╌┼╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    2"b"2
    ├╌╌╌╌╌┼╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    3null1
    ╰─────┴──────┴──────╯
    > df.select(
    ... pl.col("*").exclude("b"),
    ... );
    shape: (3, 2)
    ╭─────┬──────╮
    ac
    │ --- ┆ --- │
    i64i64
    ╞═════╪══════╡
    1null
    ├╌╌╌╌╌┼╌╌╌╌╌╌┤
    22
    ├╌╌╌╌╌┼╌╌╌╌╌╌┤
    31
    ╰─────┴──────╯ +
    +
  • Compute the exponential, element-wise.

    +

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame({"values": [1.0, 2.0, 4.0]})
    >>> df.select(pl.col("values").exp())
    shape: (3, 1)
    ┌──────────┐
    values
    │ --- │
    f64
    ╞══════════╡
    2.718282
    7.389056
    54.59815
    └──────────┘ +
    +
  • Extend the Series with given number of values.

    +

    Parameters

    • value: any

      The value to extend the Series with. This value may be null to fill with nulls.

      +
    • n: number

      The number of values to extend.

      +

    Returns pl.Expr

    Deprecated

    See

    extendConstant

    +
  • Parameters

    • opt: {
          n: number;
          value: any;
      }
      • n: number
      • value: any

    Returns pl.Expr

  • Extend the Series with given number of values.

    +

    Parameters

    • value: any

      The value to extend the Series with. This value may be null to fill with nulls.

      +
    • n: number

      The number of values to extend.

      +

    Returns pl.Expr

  • Parameters

    • opt: {
          n: number;
          value: any;
      }
      • n: number
      • value: any

    Returns pl.Expr

  • Filter a single column.

    +

    Mostly useful in in aggregation context. +If you want to filter on a DataFrame level, use LazyFrame.filter.

    +

    Parameters

    • predicate: pl.Expr

      Boolean expression.

      +

    Returns pl.Expr

  • Take every nth value in the Series and return as a new Series.

    +

    Parameters

    • n: number
    • Optional offset: number

    Returns pl.Expr

  • Hash the Series.

    +

    Parameters

    • Optional k0: number
    • Optional k1: number
    • Optional k2: number
    • Optional k3: number

    Returns pl.Expr

  • Parameters

    • __namedParameters: {
          k0?: number;
          k1?: number;
          k2?: number;
          k3?: number;
      }
      • Optional k0?: number
      • Optional k1?: number
      • Optional k2?: number
      • Optional k3?: number

    Returns pl.Expr

  • Check if elements of this Series are in the right Series, or List values of the right Series.

    +

    Parameters

    • other: any

      Series of primitive type or List type.

      +

    Returns pl.Expr

    Expr that evaluates to a Boolean Series.

    +

    Example

    > const df = pl.DataFrame({
    ... "sets": [[1, 2, 3], [1, 2], [9, 10]],
    ... "optional_members": [1, 2, 3]
    ... });
    > df.select(
    ... pl.col("optional_members").isIn("sets").alias("contains")
    ... );
    shape: (3, 1)
    ┌──────────┐
    contains
    │ --- │
    bool
    ╞══════════╡
    true
    ├╌╌╌╌╌╌╌╌╌╌┤
    true
    ├╌╌╌╌╌╌╌╌╌╌┤
    false
    └──────────┘ +
    +
  • Keep the original root name of the expression.

    +

    A groupby aggregation often changes the name of a column. +With keepName we can keep the original name of the column

    +

    Returns pl.Expr

    Example

    > const df = pl.DataFrame({
    ... "a": [1, 2, 3],
    ... "b": ["a", "b", None],
    ... });

    > df
    ... .groupBy("a")
    ... .agg(pl.col("b").list())
    ... .sort({by:"a"});

    shape: (3, 2)
    ╭─────┬────────────╮
    ab_agg_list
    │ --- ┆ --- │
    i64list [str] │
    ╞═════╪════════════╡
    1 ┆ [a] │
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    2 ┆ [b] │
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    3 ┆ [null] │
    ╰─────┴────────────╯

    Keep the original column name:

    > df
    ... .groupby("a")
    ... .agg(col("b").list().keepName())
    ... .sort({by:"a"})

    shape: (3, 2)
    ╭─────┬────────────╮
    ab
    │ --- ┆ --- │
    i64list [str] │
    ╞═════╪════════════╡
    1 ┆ [a] │
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    2 ┆ [b] │
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┤
    3 ┆ [null] │
    ╰─────┴────────────╯ +
    +
  • Compute the logarithm to a given base.

    +

    Parameters

    • Optional base: number

      Given base, defaults to e

      +

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame({"a": [1, 2, 3]})
    >>> df.select(pl.col("a").log(base=2))
    shape: (3, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    0.0
    1.0
    1.584963
    └──────────┘ +
    +
  • Compute the natural logarithm of each element plus one. +This computes log(1 + x) but is more numerically stable for x close to zero.

    +

    Returns pl.Expr

    Example

     >>> const df = pl.DataFrame({"a": [1, 2, 3]})
    >>> df.select(pl.col("a").log1p())
    shape: (3, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    0.693147
    1.098612
    1.386294
    └──────────┘ +
    +
  • Apply window function over a subgroup.

    +

    This is similar to a groupby + aggregation + self join. +Or similar to window functions in Postgres

    +

    Parameters

    • by: ExprOrString
    • Rest ...partitionBy: ExprOrString[]

      Column(s) to partition by.

      +

    Returns pl.Expr

    Example

    > const df = pl.DataFrame({
    ... "groups": [1, 1, 2, 2, 1, 2, 3, 3, 1],
    ... "values": [1, 2, 3, 4, 5, 6, 7, 8, 8],
    ... });
    > df.select(
    ... pl.col("groups").sum().over("groups")
    ... );
    ╭────────┬────────╮
    groupsvalues
    │ --- ┆ --- │
    i32i32
    ╞════════╪════════╡
    116
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    116
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    213
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    213
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    │ ... ┆ ... │
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    116
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    213
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    315
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    315
    ├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    116
    ╰────────┴────────╯ +
    +
  • Add a prefix the to root column name of the expression.

    +

    Parameters

    • prefix: string

    Returns pl.Expr

    Example

    > const df = pl.DataFrame({
    ... "A": [1, 2, 3, 4, 5],
    ... "fruits": ["banana", "banana", "apple", "apple", "banana"],
    ... "B": [5, 4, 3, 2, 1],
    ... "cars": ["beetle", "audi", "beetle", "beetle", "beetle"],
    ... });
    shape: (5, 4)
    ╭─────┬──────────┬─────┬──────────╮
    AfruitsBcars
    │ --- ┆ --- ┆ --- ┆ --- │
    i64stri64str
    ╞═════╪══════════╪═════╪══════════╡
    1"banana"5"beetle"
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┤
    2"banana"4"audi"
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┤
    3"apple"3"beetle"
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┤
    4"apple"2"beetle"
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┤
    5"banana"1"beetle"
    ╰─────┴──────────┴─────┴──────────╯
    > df.select(
    ... pl.col("*").reverse().prefix("reverse_"),
    ... )
    shape: (5, 8)
    ╭───────────┬────────────────┬───────────┬──────────────╮
    reverse_Areverse_fruitsreverse_Breverse_cars
    │ --- ┆ --- ┆ --- ┆ --- │
    i64stri64str
    ╞═══════════╪════════════════╪═══════════╪══════════════╡
    5"banana"1"beetle"
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    4"apple"2"beetle"
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    3"apple"3"beetle"
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    2"banana"4"audi"
    ├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    1"banana"5"beetle"
    ╰───────────┴────────────────┴───────────┴──────────────╯ +
    +
  • Repeat the elements in this Series n times by dictated by the number given by by. +The elements are expanded into a List

    +

    Parameters

    • by: string | pl.Expr

      Numeric column that determines how often the values will be repeated.

      +

      The column will be coerced to UInt32. Give this dtype to make the coercion a no-op.

      +

    Returns pl.Expr

  • Replace values by different values.

    +

    Parameters

    • old: number | pl.Expr | number[]

      Value or sequence of values to replace. + Accepts expression input. Sequences are parsed as Series, other non-expression inputs are parsed as literals.

      +
    • new_: number | pl.Expr | number[]

      Value or sequence of values to replace by. + Accepts expression input. Sequences are parsed as Series, other non-expression inputs are parsed as literals. + Length must match the length of old or have length 1.

      +
    • Optional default_: number | pl.Expr | number[]

      Set values that were not replaced to this value. + Defaults to keeping the original value. + Accepts expression input. Non-expression inputs are parsed as literals.

      +
    • Optional returnDtype: DataType

      The data type of the resulting expression. If set to None (default), the data type is determined automatically based on the other inputs.

      +

    Returns pl.Expr

    See

    str.replace

    +

    Example

    Replace a single value by another value. Values that were not replaced remain unchanged.

    +
     >>> const df = pl.DataFrame({"a": [1, 2, 2, 3]});
    >>> df.withColumns(pl.col("a").replace(2, 100).alias("replaced"));
    shape: (4, 2)
    ┌─────┬──────────┐
    areplaced
    │ --- ┆ --- │
    i64i64
    ╞═════╪══════════╡
    11
    2100
    2100
    33
    └─────┴──────────┘ +
    +

    Replace multiple values by passing sequences to the old and new_ parameters.

    +
     >>> df.withColumns(pl.col("a").replace([2, 3], [100, 200]).alias("replaced"));
    shape: (4, 2)
    ┌─────┬──────────┐
    areplaced
    │ --- ┆ --- │
    i64i64
    ╞═════╪══════════╡
    11
    2100
    2100
    3200
    └─────┴──────────┘ +
    +

    Passing a mapping with replacements is also supported as syntactic sugar. + Specify a default to set all values that were not matched.

    +
     >>> const mapping = {2: 100, 3: 200};
    >>> df.withColumns(pl.col("a").replace({ old: mapping, default_: -1, returnDtype: pl.Int64 }).alias("replaced");
    shape: (4, 2)
    ┌─────┬──────────┐
    areplaced
    │ --- ┆ --- │
    i64i64
    ╞═════╪══════════╡
    1 ┆ -1
    2100
    2100
    3200
    └─────┴──────────┘ +
    +

    Replacing by values of a different data type sets the return type based on + a combination of the new data type and either the original data type or the + default data type if it was set.

    +
     >>> const df = pl.DataFrame({"a": ["x", "y", "z"]});
    >>> const mapping = {"x": 1, "y": 2, "z": 3};
    >>> df.withColumns(pl.col("a").replace({ old: mapping }).alias("replaced"));
    shape: (3, 2)
    ┌─────┬──────────┐
    areplaced
    │ --- ┆ --- │
    strstr
    ╞═════╪══════════╡
    x1
    y2
    z3
    └─────┴──────────┘
    >>> df.withColumns(pl.col("a").replace({ old: mapping, default_: None }).alias("replaced"));
    shape: (3, 2)
    ┌─────┬──────────┐
    areplaced
    │ --- ┆ --- │
    stri64
    ╞═════╪══════════╡
    x1
    y2
    z3
    └─────┴──────────┘ +
    +

    Set the returnDtype parameter to control the resulting data type directly.

    +
     >>> df.withColumns(pl.col("a").replace({ old: mapping, returnDtype: pl.UInt8 }).alias("replaced"));
    shape: (3, 2)
    ┌─────┬──────────┐
    areplaced
    │ --- ┆ --- │
    stru8
    ╞═════╪══════════╡
    x1
    y2
    z3
    └─────┴──────────┘ +
    +

    Expression input is supported for all parameters.

    +
     >>> const df = pl.DataFrame({"a": [1, 2, 2, 3], "b": [1.5, 2.5, 5.0, 1.0]});
    >>> df.withColumns(
    ... pl.col("a").replace({
    ... old: pl.col("a").max(),
    ... new_: pl.col("b").sum(),
    ... default_: pl.col("b"),
    ... }).alias("replaced")
    ... );
    shape: (4, 3)
    ┌─────┬─────┬──────────┐
    abreplaced
    │ --- ┆ --- ┆ --- │
    i64f64f64
    ╞═════╪═════╪══════════╡
    11.51.5
    22.52.5
    25.05.0
    31.010.0
    └─────┴─────┴──────────┘ +
    +
  • Parameters

    • __namedParameters: {
          default_?: number | pl.Expr | number[];
          new_?: number | pl.Expr | number[];
          old: unknown;
          returnDtype?: DataType;
      }
      • Optional default_?: number | pl.Expr | number[]
      • Optional new_?: number | pl.Expr | number[]
      • old: unknown
      • Optional returnDtype?: DataType

    Returns pl.Expr

  • Serializes object to desired format via serde

    +

    Parameters

    Returns Buffer

  • Shift the values by a given period and fill the parts that will be empty due to this operation

    +

    Parameters

    • Optional periods: number

      number of places to shift (may be negative).

      +

    Returns pl.Expr

  • Parameters

    • __namedParameters: {
          periods: number;
      }
      • periods: number

    Returns pl.Expr

  • Shift the values by a given period and fill the parts that will be empty due to this operation

    +

    Parameters

    • periods: number

      Number of places to shift (may be negative).

      +
    • fillValue: number

      Fill null values with the result of this expression.

      +

    Returns pl.Expr

  • Parameters

    • __namedParameters: {
          fillValue: number;
          periods: number;
      }
      • fillValue: number
      • periods: number

    Returns pl.Expr

  • Compute the element-wise value for the sine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [0.0]})
    >>> df.select(pl.col("a").sin())
    shape: (1, 1)
    ┌─────┐
    a
    │ --- │
    f64
    ╞═════╡
    0.0
    └─────┘ +
    +
  • Compute the element-wise value for the hyperbolic sine.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").sinh())
    shape: (1, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    1.175201
    └──────────┘ +
    +
  • Compute the sample skewness of a data set. +For normally distributed data, the skewness should be about zero. For +unimodal continuous distributions, a skewness value greater than zero means +that there is more weight in the right tail of the distribution.

    +
    +

    Parameters

    • Optional bias: boolean

      If False, then the calculations are corrected for statistical bias.

      +

    Returns pl.Expr

  • Parameters

    • __namedParameters: {
          bias: boolean;
      }
      • bias: boolean

    Returns pl.Expr

  • Sort this column. In projection/ selection context the whole column is sorted.

    +

    Parameters

    • Optional reverse: boolean
        +
      • false -> order from small to large.
      • +
      • true -> order from large to small.
      • +
      +
    • Optional nullsLast: boolean

      If true nulls are considered to be larger than any valid value

      +

    Returns pl.Expr

  • Parameters

    • __namedParameters: {
          nullsLast?: boolean;
          reverse?: boolean;
      }
      • Optional nullsLast?: boolean
      • Optional reverse?: boolean

    Returns pl.Expr

  • Sort this column by the ordering of another column, or multiple other columns. + In projection/ selection context the whole column is sorted. + If used in a groupby context, the groups are sorted.

    +

    Parameters

    Parameters

    • by: ExprOrString | ExprOrString[]

      The column(s) used for sorting.

      +
    • Optional reverse: boolean | boolean[]

      false -> order from small to large. + true -> order from large to small.

      +

    Returns pl.Expr

  • Parameters

    • options: {
          by: ExprOrString | ExprOrString[];
          reverse?: boolean | boolean[];
      }
      • by: ExprOrString | ExprOrString[]
      • Optional reverse?: boolean | boolean[]

    Returns pl.Expr

  • Get sum value.

    +

    Returns pl.Expr

    Note

    Dtypes in {Int8, UInt8, Int16, UInt16} are cast to Int64 before summing to prevent overflow issues.

    +
  • Compute the element-wise value for the tangent.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").tan().round(2))
    shape: (1, 1)
    ┌──────┐
    a
    │ --- │
    f64
    ╞══════╡
    1.56
    └──────┘ +
    +
  • Compute the element-wise value for the hyperbolic tangent.

    +

    Returns pl.Expr

    Expression of data type :class:Float64.

    +

    Example

     >>> const df = pl.DataFrame({"a": [1.0]})
    >>> df.select(pl.col("a").tanh())
    shape: (1, 1)
    ┌──────────┐
    a
    │ --- │
    f64
    ╞══════════╡
    0.761594
    └──────────┘ +
    +

Methods - Rolling

  • Apply a rolling max (moving max) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Expr

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Expr

  • Apply a rolling mean (moving mean) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Expr

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Expr

  • Compute a rolling median

    +

    Parameters

    Returns pl.Expr

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Expr

  • Apply a rolling min (moving min) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Expr

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Expr

  • Compute a rolling quantile

    +

    Parameters

    Returns pl.Expr

  • Parameters

    • quantile: number
    • Optional interpolation: InterpolationMethod
    • Optional windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean
    • Optional by: string
    • Optional closed: ClosedWindow

    Returns pl.Expr

  • Compute a rolling skew

    +

    Parameters

    • windowSize: number

      Size of the rolling window

      +
    • Optional bias: boolean

      If false, then the calculations are corrected for statistical bias.

      +

    Returns pl.Expr

  • Compute a rolling skew

    +

    Parameters

    Returns pl.Expr

  • Compute a rolling std dev

    +

    A window of length window_size will traverse the array. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector. The resulting +values will be aggregated to their sum.

    +
    +

    Parameters

    Returns pl.Expr

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean
    • Optional ddof: number

    Returns pl.Expr

  • Apply a rolling sum (moving sum) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Expr

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Expr

  • Compute a rolling variance.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Expr

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean
    • Optional ddof: number

    Returns pl.Expr

\ No newline at end of file diff --git a/interfaces/pl.LazyDataFrame.html b/interfaces/pl.LazyDataFrame.html new file mode 100644 index 000000000..c4dae3b1c --- /dev/null +++ b/interfaces/pl.LazyDataFrame.html @@ -0,0 +1,239 @@ +LazyDataFrame | nodejs-polars

Interface LazyDataFrame

Representation of a Lazy computation graph / query.

+
interface LazyDataFrame {
    [inspect](): string;
    cache(): LazyDataFrame;
    clone(): LazyDataFrame;
    collect(opts?): Promise<pl.DataFrame>;
    collectSync(opts?): pl.DataFrame;
    get columns(): string[];
    describeOptimizedPlan(opts?): string;
    describePlan(): string;
    distinct(maintainOrder?, subset?, keep?): LazyDataFrame;
    distinct(opts): LazyDataFrame;
    drop(name): LazyDataFrame;
    drop(names): LazyDataFrame;
    drop(name, ...names): LazyDataFrame;
    dropNulls(column): LazyDataFrame;
    dropNulls(columns): LazyDataFrame;
    dropNulls(...columns): LazyDataFrame;
    explode(column): LazyDataFrame;
    explode(columns): LazyDataFrame;
    explode(column, ...columns): LazyDataFrame;
    fetch(numRows?): Promise<pl.DataFrame>;
    fetch(numRows, opts): Promise<pl.DataFrame>;
    fetchSync(numRows?): pl.DataFrame;
    fetchSync(numRows, opts): pl.DataFrame;
    fillNull(fillValue): LazyDataFrame;
    filter(predicate): LazyDataFrame;
    first(): pl.DataFrame;
    groupBy(by, maintainOrder?): LazyGroupBy;
    groupBy(by, opts): LazyGroupBy;
    groupByDynamic(options): LazyGroupBy;
    groupByRolling(opts): LazyGroupBy;
    head(length?): LazyDataFrame;
    join(other, joinOptions): LazyDataFrame;
    join(other, joinOptions): LazyDataFrame;
    join(other, options): LazyDataFrame;
    joinAsof(other, options): LazyDataFrame;
    last(): LazyDataFrame;
    limit(n?): LazyDataFrame;
    max(): LazyDataFrame;
    mean(): LazyDataFrame;
    median(): LazyDataFrame;
    melt(idVars, valueVars): LazyDataFrame;
    min(): LazyDataFrame;
    quantile(quantile): LazyDataFrame;
    rename(mapping): LazyDataFrame;
    reverse(): LazyDataFrame;
    select(column): LazyDataFrame;
    select(columns): LazyDataFrame;
    select(...columns): LazyDataFrame;
    serialize(format): Buffer;
    shift(periods): LazyDataFrame;
    shift(opts): LazyDataFrame;
    shiftAndFill(n, fillValue): LazyDataFrame;
    shiftAndFill(opts): LazyDataFrame;
    sinkCSV(path, options?): void;
    sinkParquet(path, options?): void;
    slice(offset, length): LazyDataFrame;
    slice(opts): LazyDataFrame;
    sort(by, descending?, maintain_order?): LazyDataFrame;
    sort(opts): LazyDataFrame;
    std(): LazyDataFrame;
    sum(): LazyDataFrame;
    tail(length?): LazyDataFrame;
    toJSON(): string;
    unique(maintainOrder?, subset?, keep?): LazyDataFrame;
    unique(opts): LazyDataFrame;
    var(): LazyDataFrame;
    withColumn(expr): LazyDataFrame;
    withColumnRenamed(existing, replacement): LazyDataFrame;
    withColumns(exprs): LazyDataFrame;
    withColumns(...exprs): LazyDataFrame;
    withRowCount(): LazyDataFrame;
}

Hierarchy

  • Serialize
  • GroupByOps<LazyGroupBy>
    • LazyDataFrame

Accessors

Methods

  • Collect into a DataFrame. +Note: use fetch if you want to run this query on the first n rows only. +This can be a huge time saver in debugging queries.

    +

    Parameters

    Returns Promise<pl.DataFrame>

    DataFrame

    +
  • A string representation of the optimized query plan.

    +

    Parameters

    Returns string

  • A string representation of the unoptimized query plan.

    +

    Returns string

  • Drop duplicate rows from this DataFrame. +Note that this fails if there is a column of type List in the DataFrame.

    +

    Parameters

    • Optional maintainOrder: boolean
    • Optional subset: ColumnSelection

      subset to drop duplicates for

      +
    • Optional keep: "first" | "last"

      "first" | "last"

      +

    Returns LazyDataFrame

    Deprecated

    Since

    0.4.0

    +

    Use

    unique

    +
  • Parameters

    • opts: {
          keep?: "first" | "last";
          maintainOrder?: boolean;
          subset?: ColumnSelection;
      }
      • Optional keep?: "first" | "last"
      • Optional maintainOrder?: boolean
      • Optional subset?: ColumnSelection

    Returns LazyDataFrame

  • Fetch is like a collect operation, but it overwrites the number of rows read by every scan

    +

    Note that the fetch does not guarantee the final number of rows in the DataFrame. +Filter, join operations and a lower number of rows available in the scanned file influence +the final number of rows.

    +

    Parameters

    • Optional numRows: number

      collect 'n' number of rows from data source

      +

    Returns Promise<pl.DataFrame>

  • Parameters

    Returns Promise<pl.DataFrame>

  • Filter the rows in the DataFrame based on a predicate expression.

    +

    Parameters

    • predicate: string | pl.Expr

      Expression that evaluates to a boolean Series.

      +

    Returns LazyDataFrame

    Example

    > lf = pl.DataFrame({
    > "foo": [1, 2, 3],
    > "bar": [6, 7, 8],
    > "ham": ['a', 'b', 'c']
    > }).lazy()
    > // Filter on one condition
    > lf.filter(pl.col("foo").lt(3)).collect()
    shape: (2, 3)
    ┌─────┬─────┬─────┐
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16a
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    27b
    └─────┴─────┴─────┘ +
    +
  • Start a groupby operation.

    +

    Parameters

    • by: ColumnsOrExpr
    • Optional maintainOrder: boolean

    Returns LazyGroupBy

  • Parameters

    • by: ColumnsOrExpr
    • opts: {
          maintainOrder: boolean;
      }
      • maintainOrder: boolean

    Returns LazyGroupBy

  • Groups based on a time value (or index value of type Int32, Int64). Time windows are calculated and rows are assigned to windows. +Different from a normal groupby is that a row can be member of multiple groups. The time/index window could +be seen as a rolling window, with a window size determined by dates/times/values instead of slots in the DataFrame.

    +

    A window is defined by:

    +
      +
    • every: interval of the window
    • +
    • period: length of the window
    • +
    • offset: offset of the window
    • +
    +

    The every, period and offset arguments are created with +the following string language:

    +
      +
    • 1ns (1 nanosecond)
    • +
    • 1us (1 microsecond)
    • +
    • 1ms (1 millisecond)
    • +
    • 1s (1 second)
    • +
    • 1m (1 minute)
    • +
    • 1h (1 hour)
    • +
    • 1d (1 day)
    • +
    • 1w (1 week)
    • +
    • 1mo (1 calendar month)
    • +
    • 1y (1 calendar year)
    • +
    • 1i (1 index count)
    • +
    +

    Or combine them: +"3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds

    +

    In case of a groupbyDynamic on an integer column, the windows are defined by:

    +
      +
    • "1i" # length 1
    • +
    • "10i" # length 10
    • +
    +

    Parameters

    Parameters

    • options: {
          by?: ColumnsOrExpr;
          check_sorted?: boolean;
          closed?: "none" | "left" | "right" | "both";
          every: string;
          includeBoundaries?: boolean;
          indexColumn: string;
          offset?: string;
          period?: string;
          start_by: StartBy;
      }
      • Optional by?: ColumnsOrExpr
      • Optional check_sorted?: boolean
      • Optional closed?: "none" | "left" | "right" | "both"
      • every: string
      • Optional includeBoundaries?: boolean
      • indexColumn: string
      • Optional offset?: string
      • Optional period?: string
      • start_by: StartBy

    Returns LazyGroupBy

  • Create rolling groups based on a time column (or index value of type Int32, Int64).

    +

    Different from a rolling groupby the windows are now determined by the individual values and are not of constant +intervals. For constant intervals use groupByDynamic

    +

    The period and offset arguments are created with +the following string language:

    +
      +
    • 1ns (1 nanosecond)
    • +
    • 1us (1 microsecond)
    • +
    • 1ms (1 millisecond)
    • +
    • 1s (1 second)
    • +
    • 1m (1 minute)
    • +
    • 1h (1 hour)
    • +
    • 1d (1 day)
    • +
    • 1w (1 week)
    • +
    • 1mo (1 calendar month)
    • +
    • 1y (1 calendar year)
    • +
    • 1i (1 index count)
    • +
    +

    Or combine them: +"3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds

    +

    In case of a groupby_rolling on an integer column, the windows are defined by:

    +
      +
    • "1i" # length 1
    • +
    • "10i" # length 10
    • +
    +

    Parameters

    • opts: {
          by?: ColumnsOrExpr;
          check_sorted?: boolean;
          closed?: "none" | "left" | "right" | "both";
          indexColumn: ColumnsOrExpr;
          offset?: string;
          period: string;
      }
      • Optional by?: ColumnsOrExpr
      • Optional check_sorted?: boolean
      • Optional closed?: "none" | "left" | "right" | "both"
      • indexColumn: ColumnsOrExpr
      • Optional offset?: string
      • period: string

    Returns LazyGroupBy

    Example


    >dates = [
    ... "2020-01-01 13:45:48",
    ... "2020-01-01 16:42:13",
    ... "2020-01-01 16:45:09",
    ... "2020-01-02 18:12:48",
    ... "2020-01-03 19:45:32",
    ... "2020-01-08 23:16:43",
    ... ]
    >df = pl.DataFrame({"dt": dates, "a": [3, 7, 5, 9, 2, 1]}).withColumn(
    ... pl.col("dt").str.strptime(pl.Datetime)
    ... )
    >out = df.groupbyRolling({indexColumn:"dt", period:"2d"}).agg(
    ... [
    ... pl.sum("a").alias("sum_a"),
    ... pl.min("a").alias("min_a"),
    ... pl.max("a").alias("max_a"),
    ... ]
    ... )
    >assert(out["sum_a"].toArray() === [3, 10, 15, 24, 11, 1])
    >assert(out["max_a"].toArray() === [3, 7, 7, 9, 9, 1])
    >assert(out["min_a"].toArray() === [3, 3, 3, 3, 2, 1])
    >out
    shape: (6, 4)
    ┌─────────────────────┬───────┬───────┬───────┐
    dta_suma_maxa_min
    │ --- ┆ --- ┆ --- ┆ --- │
    datetime[ms] ┆ i64i64i64
    ╞═════════════════════╪═══════╪═══════╪═══════╡
    2020-01-01 13:45:48333
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-01 16:42:131073
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-01 16:45:091573
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-02 18:12:482493
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-03 19:45:321192
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    2020-01-08 23:16:43111
    └─────────────────────┴───────┴───────┴───────┘ +
    +
  • Gets the first n rows of the DataFrame. You probably don't want to use this!

    +

    Consider using the fetch operation. +The fetch operation will truly load the first nrows lazily.

    +

    Parameters

    • Optional length: number

    Returns LazyDataFrame

  • SQL like joins.

    +

    Parameters

    Returns LazyDataFrame

    See

    LazyJoinOptions

    +

    Example

    >>> const df = pl.DataFrame({
    >>> foo: [1, 2, 3],
    >>> bar: [6.0, 7.0, 8.0],
    >>> ham: ['a', 'b', 'c'],
    >>> }).lazy()
    >>>
    >>> const otherDF = pl.DataFrame({
    >>> apple: ['x', 'y', 'z'],
    >>> ham: ['a', 'b', 'd'],
    >>> }).lazy();
    >>> const result = await df.join(otherDF, { on: 'ham', how: 'inner' }).collect();
    shape: (2, 4)
    ╭─────┬─────┬─────┬───────╮
    foobarhamapple
    │ --- ┆ --- ┆ --- ┆ --- │
    i64f64strstr
    ╞═════╪═════╪═════╪═══════╡
    16"a""x"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    27"b""y"
    ╰─────┴─────┴─────┴───────╯ +
    +
  • Parameters

    Returns LazyDataFrame

  • Parameters

    • other: LazyDataFrame
    • options: {
          allowParallel?: boolean;
          forceParallel?: boolean;
          how: "cross";
          suffix?: string;
      }
      • Optional allowParallel?: boolean
      • Optional forceParallel?: boolean
      • how: "cross"
      • Optional suffix?: string

    Returns LazyDataFrame

  • Perform an asof join. This is similar to a left-join except that we +match on nearest key rather than equal keys.

    +

    Both DataFrames must be sorted by the asof_join key.

    +

    For each row in the left DataFrame:

    +
      +
    • A "backward" search selects the last row in the right DataFrame whose +'on' key is less than or equal to the left's key.

      +
    • +
    • A "forward" search selects the first row in the right DataFrame whose +'on' key is greater than or equal to the left's key.

      +
    • +
    +

    The default is "backward".

    +

    Parameters

    Parameters

    • other: LazyDataFrame

      DataFrame to join with.

      +
    • options: {
          allowParallel?: boolean;
          by?: string | string[];
          byLeft?: string | string[];
          byRight?: string | string[];
          forceParallel?: boolean;
          leftOn?: string;
          on?: string;
          rightOn?: string;
          strategy?: "backward" | "forward";
          suffix?: string;
          tolerance?: string | number;
      }
      • Optional allowParallel?: boolean

        Allow the physical plan to optionally evaluate the computation of both DataFrames up to the join in parallel.

        +
      • Optional by?: string | string[]
      • Optional byLeft?: string | string[]

        join on these columns before doing asof join

        +
      • Optional byRight?: string | string[]

        join on these columns before doing asof join

        +
      • Optional forceParallel?: boolean

        Force the physical plan to evaluate the computation of both DataFrames up to the join in parallel.

        +
      • Optional leftOn?: string

        Join column of the left DataFrame.

        +
      • Optional on?: string

        Join column of both DataFrames. If set, leftOn and rightOn should be undefined.

        +
      • Optional rightOn?: string

        Join column of the right DataFrame.

        +
      • Optional strategy?: "backward" | "forward"

        One of {'forward', 'backward'}

        +
      • Optional suffix?: string

        Suffix to append to columns with a duplicate name.

        +
      • Optional tolerance?: string | number

        Numeric tolerance. By setting this the join will only be done if the near keys are within this distance. + If an asof join is done on columns of dtype "Date", "Datetime" you + use the following string language:

        +
          +
        • 1ns (1 nanosecond)
        • +
        • 1us (1 microsecond)
        • +
        • 1ms (1 millisecond)
        • +
        • 1s (1 second)
        • +
        • 1m (1 minute)
        • +
        • 1h (1 hour)
        • +
        • 1d (1 day)
        • +
        • 1w (1 week)
        • +
        • 1mo (1 calendar month)
        • +
        • 1y (1 calendar year)
        • +
        • 1i (1 index count)
        • +
        +

        Or combine them:

        +
          +
        • "3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds
        • +
        +

    Returns LazyDataFrame

    Example

     >const gdp = pl.DataFrame({
    ... date: [
    ... new Date('2016-01-01'),
    ... new Date('2017-01-01'),
    ... new Date('2018-01-01'),
    ... new Date('2019-01-01'),
    ... ], // note record date: Jan 1st (sorted!)
    ... gdp: [4164, 4411, 4566, 4696],
    ... })
    >const population = pl.DataFrame({
    ... date: [
    ... new Date('2016-05-12'),
    ... new Date('2017-05-12'),
    ... new Date('2018-05-12'),
    ... new Date('2019-05-12'),
    ... ], // note record date: May 12th (sorted!)
    ... "population": [82.19, 82.66, 83.12, 83.52],
    ... })
    >population.joinAsof(
    ... gdp,
    ... {leftOn:"date", rightOn:"date", strategy:"backward"}
    ... )
    shape: (4, 3)
    ┌─────────────────────┬────────────┬──────┐
    datepopulationgdp
    │ --- ┆ --- ┆ --- │
    datetime[μs] ┆ f64i64
    ╞═════════════════════╪════════════╪══════╡
    2016-05-12 00:00:0082.194164
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    2017-05-12 00:00:0082.664411
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    2018-05-12 00:00:0083.124566
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌┤
    2019-05-12 00:00:0083.524696
    └─────────────────────┴────────────┴──────┘ +
    +
  • Serializes object to desired format via serde

    +

    Parameters

    Returns Buffer

  • Evaluate the query in streaming mode and write to a CSV file.

    +

    .. warning:: + Streaming mode is considered unstable. It may be changed + at any point without it being considered a breaking change.

    +

    This allows streaming results that are larger than RAM to be written to disk.

    +

    Parameters

    Parameters

    • path: string

      File path to which the file should be written.

      +
    • Optional options: SinkCsvOptions

    Returns void

  • Evaluate the query in streaming mode and write to a Parquet file.

    +

    .. warning:: + Streaming mode is considered unstable. It may be changed + at any point without it being considered a breaking change.

    +

    This allows streaming results that are larger than RAM to be written to disk.

    +

    Parameters

    Parameters

    • path: string

      File path to which the file should be written.

      +
    • Optional options: SinkParquetOptions

    Returns void

  • Drop duplicate rows from this DataFrame. +Note that this fails if there is a column of type List in the DataFrame.

    +

    Parameters

    • Optional maintainOrder: boolean
    • Optional subset: ColumnSelection

      subset to drop duplicates for

      +
    • Optional keep: "first" | "last"

      "first" | "last"

      +

    Returns LazyDataFrame

  • Parameters

    • opts: {
          keep?: "first" | "last";
          maintainOrder?: boolean;
          subset?: ColumnSelection;
      }
      • Optional keep?: "first" | "last"
      • Optional maintainOrder?: boolean
      • Optional subset?: ColumnSelection

    Returns LazyDataFrame

\ No newline at end of file diff --git a/interfaces/pl.Series-1.html b/interfaces/pl.Series-1.html new file mode 100644 index 000000000..5710f43ae --- /dev/null +++ b/interfaces/pl.Series-1.html @@ -0,0 +1,534 @@ +Series | nodejs-polars

Interface Series

A Series represents a single column in a polars DataFrame.

+
interface Series {
    [inspect](): string;
    [iterator](): IterableIterator<any>;
    abs(): pl.Series;
    add(other): pl.Series;
    alias(name): pl.Series;
    append(other): void;
    argMax(): Optional<number>;
    argMin(): Optional<number>;
    argSort(): pl.Series;
    argSort(reverse): pl.Series;
    argSort(__namedParameters): pl.Series;
    argTrue(): pl.Series;
    argUnique(): pl.Series;
    as(name): pl.Series;
    bitand(other): pl.Series;
    bitor(other): pl.Series;
    bitxor(other): pl.Series;
    cast(dtype, strict?): pl.Series;
    ceil(): pl.Series;
    chunkLengths(): any[];
    clip(min, max): pl.Series;
    clip(options): any;
    clone(): pl.Series;
    concat(other): pl.Series;
    cumCount(reverse?): pl.Series;
    cumCount(__namedParameters): pl.Series;
    cumMax(reverse?): pl.Series;
    cumMax(__namedParameters): pl.Series;
    cumMin(reverse?): pl.Series;
    cumMin(__namedParameters): pl.Series;
    cumProd(reverse?): pl.Series;
    cumProd(__namedParameters): pl.Series;
    cumSum(reverse?): pl.Series;
    cumSum(__namedParameters): pl.Series;
    date: SeriesDateFunctions;
    describe(): pl.DataFrame;
    diff(n, nullBehavior): pl.Series;
    diff(__namedParameters): pl.Series;
    div(other): pl.Series;
    divideBy(other): pl.Series;
    dot(other): undefined | null | number;
    dropNulls(): pl.Series;
    dtype: DataType;
    eq(other): pl.Series;
    equals(other): pl.Series;
    ewmMean(): pl.Series;
    ewmMean(alpha?, adjust?, minPeriods?, bias?, ignoreNulls?): pl.Series;
    ewmMean(opts): pl.Series;
    ewmStd(): pl.Series;
    ewmStd(alpha?, adjust?, minPeriods?, bias?, ignoreNulls?): pl.Series;
    ewmStd(opts): pl.Series;
    ewmVar(): pl.Series;
    ewmVar(alpha?, adjust?, minPeriods?, bias?, ignoreNulls?): pl.Series;
    ewmVar(opts): pl.Series;
    explode(): any;
    extend(value, n): pl.Series;
    extendConstant(value, n): pl.Series;
    fillNull(strategy): pl.Series;
    fillNull(__namedParameters): pl.Series;
    filter(predicate): pl.Series;
    filter(__namedParameters): pl.Series;
    floor(): pl.Series;
    gather(indices): pl.Series;
    gatherEvery(n, offset?): pl.Series;
    get(index): any;
    getIndex(n): any;
    greaterThan(other): pl.Series;
    greaterThanEquals(other): pl.Series;
    gt(other): pl.Series;
    gtEq(other): pl.Series;
    hasValidity(): boolean;
    hash(k0?, k1?, k2?, k3?): pl.Series;
    hash(__namedParameters): pl.Series;
    head(length?): pl.Series;
    inner(): any;
    interpolate(method?): pl.Series;
    isBoolean(): boolean;
    isDateTime(): boolean;
    isDuplicated(): pl.Series;
    isFinite(): pl.Series;
    isFirstDistinct(): pl.Series;
    isFloat(): boolean;
    isIn<U>(other): pl.Series;
    isInfinite(): pl.Series;
    isNotNull(): pl.Series;
    isNull(): pl.Series;
    isNumeric(): boolean;
    isString(): boolean;
    isUnique(): pl.Series;
    isUtf8(): boolean;
    kurtosis(): Optional<number>;
    kurtosis(fisher, bias?): Optional<number>;
    kurtosis(__namedParameters): Optional<number>;
    len(): number;
    lessThan(other): pl.Series;
    lessThanEquals(other): pl.Series;
    limit(n?): pl.Series;
    lst: ListNamespace;
    lt(other): pl.Series;
    ltEq(other): pl.Series;
    max(): number;
    mean(): number;
    median(): number;
    min(): number;
    minus(other): pl.Series;
    mode(): pl.Series;
    modulo(other): pl.Series;
    mul(other): pl.Series;
    multiplyBy(other): pl.Series;
    nChunks(): number;
    nUnique(): number;
    name: string;
    neq(other): pl.Series;
    notEquals(other): pl.Series;
    nullCount(): number;
    peakMax(): pl.Series;
    peakMin(): pl.Series;
    plus(other): pl.Series;
    quantile(quantile, interpolation?): number;
    rank(method?): pl.Series;
    rechunk(): pl.Series;
    rechunk(inPlace): pl.Series;
    rechunk(inPlace): void;
    reinterpret(signed?): pl.Series;
    rem(other): pl.Series;
    rename(name): pl.Series;
    rename(name, inPlace): void;
    rename(__namedParameters): void;
    rename(__namedParameters): void;
    rollingMax(options): pl.Series;
    rollingMax(windowSize, weights?, minPeriods?, center?): pl.Series;
    rollingMean(options): pl.Series;
    rollingMean(windowSize, weights?, minPeriods?, center?): pl.Series;
    rollingMedian(options): pl.Series;
    rollingMedian(windowSize, weights?, minPeriods?, center?): pl.Series;
    rollingMin(options): pl.Series;
    rollingMin(windowSize, weights?, minPeriods?, center?): pl.Series;
    rollingQuantile(options): pl.Series;
    rollingQuantile(quantile, interpolation?, windowSize?, weights?, minPeriods?, center?, by?, closed?): pl.Series;
    rollingSkew(windowSize, bias?): pl.Series;
    rollingSkew(options): pl.Series;
    rollingStd(options): pl.Series;
    rollingStd(windowSize, weights?, minPeriods?, center?, ddof?): pl.Series;
    rollingSum(options): pl.Series;
    rollingSum(windowSize, weights?, minPeriods?, center?): pl.Series;
    rollingVar(options): pl.Series;
    rollingVar(windowSize, weights?, minPeriods?, center?, ddof?): pl.Series;
    round(decimals): pl.Series;
    round(options): pl.Series;
    sample(opts?): pl.Series;
    sample(opts?): pl.Series;
    sample(n?, frac?, withReplacement?, seed?): pl.Series;
    scatter(indices, value): void;
    serialize(format): Buffer;
    seriesEqual<U1>(other, nullEqual?, strict?): boolean;
    set(filter, value): pl.Series;
    setAtIdx(indices, value): void;
    shift(periods): pl.Series;
    shiftAndFill(periods, fillValue): pl.Series;
    shiftAndFill(args): pl.Series;
    shrinkToFit(): pl.Series;
    shrinkToFit(inPlace): void;
    skew(bias?): undefined | number;
    slice(start, length?): pl.Series;
    sort(): pl.Series;
    sort(options): pl.Series;
    str: StringNamespace;
    struct: SeriesStructFunctions;
    sub(other): pl.Series;
    sum(): number;
    tail(length?): pl.Series;
    toArray(): any[];
    toDummies(separator?, dropFirst?): pl.DataFrame;
    toFrame(): pl.DataFrame;
    toJSON(): string;
    toObject(): {
        datatype: string;
        name: string;
        values: any[];
    };
    toTypedArray(): any;
    unique(maintainOrder?): pl.Series;
    valueCounts(sort?): pl.DataFrame;
    values(): IterableIterator<any>;
    zipWith(mask, other): pl.Series;
}

Hierarchy

Properties

date: SeriesDateFunctions
dtype: DataType
lst: ListNamespace
name: string
str: StringNamespace
struct: SeriesStructFunctions

Methods - Arithmetic

Methods - Comparison

  • Compare self to other: self >= other

    +

    Parameters

    • other: any

    Returns pl.Series

Methods - Cumulative

  • Get an array with the cumulative count computed at every element.

    +

    Parameters

    • Optional reverse: boolean

    Returns pl.Series

  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Series

  • Get an array with the cumulative max computes at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumMax()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    2
    3
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Series

  • Get an array with the cumulative min computed at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumMin()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    1
    1
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Series

  • Get an array with the cumulative product computed at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumProd()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    2
    6
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Series

  • Get an array with the cumulative sum computed at every element.

    +
    +

    Parameters

    • Optional reverse: boolean

      reverse the operation

      +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.cumSum()
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    3
    6
    ] +
    +
  • Parameters

    • __namedParameters: {
          reverse: boolean;
      }
      • reverse: boolean

    Returns pl.Series

Methods - Math

  • Ceil underlying floating point array to the highest integers smaller or equal to the float value. +Only works on floating point Series

    +

    Returns pl.Series

  • Clip (limit) the values in an array to any value that fits in 64 floating point range. +Only works for the following dtypes: {Int32, Int64, Float32, Float64, UInt32}. +If you want to clip other dtypes, consider writing a when -> then -> otherwise expression

    +

    Parameters

    • min: number

      Minimum value

      +
    • max: number

      Maximum value

      +

    Returns pl.Series

  • Parameters

    • options: {
          max: number;
          min: number;
      }
      • max: number
      • min: number

    Returns any

  • Floor underlying floating point array to the lowest integers smaller or equal to the float value. +Only works on floating point Series

    +

    Returns pl.Series

  • Round underlying floating point data by decimals digits.

    +

    Similar functionality to javascript toFixed

    +

    Parameters

    • decimals: number

      number of decimals to round by.

      +

    Returns pl.Series

  • Parameters

    • options: {
          decimals: number;
      }
      • decimals: number

    Returns pl.Series

  • Sample from this DataFrame by setting either n or frac.

    +

    Parameters

    • Optional opts: {
          n: number;
          seed?: number | bigint;
          withReplacement?: boolean;
      }
      • n: number
      • Optional seed?: number | bigint
      • Optional withReplacement?: boolean

    Returns pl.Series

    Example

    > df = pl.DataFrame({
    > "foo": [1, 2, 3],
    > "bar": [6, 7, 8],
    > "ham": ['a', 'b', 'c']
    > })
    > df.sample({n: 2})
    shape: (2, 3)
    ╭─────┬─────┬─────╮
    foobarham
    │ --- ┆ --- ┆ --- │
    i64i64str
    ╞═════╪═════╪═════╡
    16"a"
    ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
    38"c"
    ╰─────┴─────┴─────╯ +
    +
  • Parameters

    • Optional opts: {
          frac: number;
          seed?: number | bigint;
          withReplacement?: boolean;
      }
      • frac: number
      • Optional seed?: number | bigint
      • Optional withReplacement?: boolean

    Returns pl.Series

  • Parameters

    • Optional n: number
    • Optional frac: number
    • Optional withReplacement: boolean
    • Optional seed: number | bigint

    Returns pl.Series

Methods - Other

  • Returns IterableIterator<any>

  • Append a Series to this one.

    +
    +

    Parameters

    Returns void

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > const s2 = pl.Series("b", [4, 5, 6])
    > s.append(s2)
    shape: (6,)
    Series: 'a' [i64]
    [
    1
    2
    3
    4
    5
    6
    ] +
    +
  • Get the index of the maximal value.

    +

    Returns Optional<number>

  • Get the index of the minimal value.

    +

    Returns Optional<number>

  • Get the length of each individual chunk

    +

    Returns any[]

  • __Quick summary statistics of a series. __

    +

    Series with mixed datatypes will return summary statistics for the datatype of the first value.

    +
    +

    Returns pl.DataFrame

    Example

    >  const seriesNum = pl.Series([1,2,3,4,5])
    > series_num.describe()

    shape: (6, 2)
    ┌──────────────┬────────────────────┐
    statisticvalue
    │ --- ┆ --- │
    strf64
    ╞══════════════╪════════════════════╡
    "min"1
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    "max"5
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    "null_count"0.0
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    "mean"3
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    "std"1.5811388300841898
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
    "count"5
    └──────────────┴────────────────────┘

    > series_str = pl.Series(["a", "a", None, "b", "c"])
    > series_str.describe()

    shape: (3, 2)
    ┌──────────────┬───────┐
    statisticvalue
    │ --- ┆ --- │
    stri64
    ╞══════════════╪═══════╡
    "unique"4
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    "null_count"1
    ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
    "count"5
    └──────────────┴───────┘ +
    +
  • Calculates the n-th discrete difference.

    +

    Parameters

    • n: number

      number of slots to shift

      +
    • nullBehavior: "ignore" | "drop"

      'ignore' | 'drop'

      +

    Returns pl.Series

  • Parameters

    • __namedParameters: {
          n: number;
          nullBehavior: "ignore" | "drop";
      }
      • n: number
      • nullBehavior: "ignore" | "drop"

    Returns pl.Series

  • Compute the dot/inner product between two Series

    +
    +

    Parameters

    Returns undefined | null | number

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > const s2 = pl.Series("b", [4.0, 5.0, 6.0])
    > s.dot(s2)
    32.0 +
    +
  • Exponentially-weighted moving average.

    +

    Returns pl.Series

    Expr that evaluates to a float 64 Series.

    +

    Examples

    > const df = pl.DataFrame({a: [1, 2, 3]});
    > df.select(pl.col("a").ewmMean())
    shape: (3, 1)
    ┌──────────┐
    a
    | --- │
    f64
    ╞══════════╡
    1.0
    1.666667
    2.428571
    └──────────┘ +
    +
  • Parameters

    • Optional alpha: number
    • Optional adjust: boolean
    • Optional minPeriods: number
    • Optional bias: boolean
    • Optional ignoreNulls: boolean

    Returns pl.Series

  • Parameters

    • opts: {
          adjust?: boolean;
          alpha?: number;
          bias?: boolean;
          ignoreNulls?: boolean;
          minPeriods?: number;
      }
      • Optional adjust?: boolean
      • Optional alpha?: number
      • Optional bias?: boolean
      • Optional ignoreNulls?: boolean
      • Optional minPeriods?: number

    Returns pl.Series

  • Exponentially-weighted standard deviation.

    +

    Returns pl.Series

    Expr that evaluates to a float 64 Series.

    +

    Examples

    > const df = pl.DataFrame({a: [1, 2, 3]});
    > df.select(pl.col("a").ewmStd())
    shape: (3, 1)
    ┌──────────┐
    a
    | --- │
    f64
    ╞══════════╡
    0.0
    0.707107
    0.963624
    └──────────┘ +
    +
  • Parameters

    • Optional alpha: number
    • Optional adjust: boolean
    • Optional minPeriods: number
    • Optional bias: boolean
    • Optional ignoreNulls: boolean

    Returns pl.Series

  • Parameters

    • opts: {
          adjust?: boolean;
          alpha?: number;
          bias?: boolean;
          ignoreNulls?: boolean;
          minPeriods?: number;
      }
      • Optional adjust?: boolean
      • Optional alpha?: number
      • Optional bias?: boolean
      • Optional ignoreNulls?: boolean
      • Optional minPeriods?: number

    Returns pl.Series

  • Exponentially-weighted variance.

    +

    Returns pl.Series

    Expr that evaluates to a float 64 Series.

    +

    Examples

    > const df = pl.DataFrame({a: [1, 2, 3]});
    > df.select(pl.col("a").ewmVar())
    shape: (3, 1)
    ┌──────────┐
    a
    | --- │
    f64
    ╞══════════╡
    0.0
    0.5
    0.928571
    └──────────┘ +
    +
  • Parameters

    • Optional alpha: number
    • Optional adjust: boolean
    • Optional minPeriods: number
    • Optional bias: boolean
    • Optional ignoreNulls: boolean

    Returns pl.Series

  • Parameters

    • opts: {
          adjust?: boolean;
          alpha?: number;
          bias?: boolean;
          ignoreNulls?: boolean;
          minPeriods?: number;
      }
      • Optional adjust?: boolean
      • Optional alpha?: number
      • Optional bias?: boolean
      • Optional ignoreNulls?: boolean
      • Optional minPeriods?: number

    Returns pl.Series

  • Explode a list or utf8 Series.

    +

    This means that every item is expanded to a new row.

    +
    +

    Returns any

    Example

    >  const s = pl.Series('a', [[1, 2], [3, 4], [9, 10]])
    > s.explode()
    shape: (6,)
    Series: 'a' [i64]
    [
    1
    2
    3
    4
    9
    10
    ] +
    +
  • Extend the Series with given number of values.

    +

    Parameters

    • value: any

      The value to extend the Series with. This value may be null to fill with nulls.

      +
    • n: number

      The number of values to extend.

      +

    Returns pl.Series

    Deprecated

    See

    extendConstant

    +
  • Extend the Series with given number of values.

    +

    Parameters

    • value: any

      The value to extend the Series with. This value may be null to fill with nulls.

      +
    • n: number

      The number of values to extend.

      +

    Returns pl.Series

  • Fill null values with a filling strategy.

    +
    +

    Parameters

    • strategy: "backward" | "forward" | "mean" | "min" | "max" | "zero" | "one"

      Filling Strategy

      +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 3, None])
    > s.fill_null('forward'))
    shape: (4,)
    Series: '' [i64]
    [
    1
    2
    3
    3
    ]
    > s.fill_null('min'))
    shape: (4,)
    Series: 'a' [i64]
    [
    1
    2
    3
    1
    ] +
    +
  • Parameters

    • __namedParameters: {
          strategy: "backward" | "forward" | "mean" | "min" | "max" | "zero" | "one";
      }
      • strategy: "backward" | "forward" | "mean" | "min" | "max" | "zero" | "one"

    Returns pl.Series

  • Take values by index.

    +
    +

    Parameters

    • indices: number[]

      Index location used for the selection

      +

    Returns pl.Series

    Example

    s = pl.Series("a", [1, 2, 3, 4])
    s.gather([1, 3])
    shape: (2,)
    Series: 'a' [i64]
    [
    2
    4
    ] +
    +
  • Take every nth value in the Series and return as new Series.

    +

    Parameters

    • n: number

      Gather every n-th row

      +
    • Optional offset: number

      Start the row count at this offset

      +

    Returns pl.Series

    Example

    s = pl.Series("a", [1, 2, 3, 4])
    s.gatherEvery(2))
    shape: (2,)
    Series: 'a' [i64]
    [
    1
    3
    ]
    s.gather_every(2, offset=1)
    shape: (2,)
    Series: 'a' [i64]
    [
    2
    4
    ] +
    +
  • Returns True if the Series has a validity bitmask. +If there is none, it means that there are no null values.

    +

    Returns boolean

  • Hash the Series +The hash value is of type UInt64

    +
    +

    Parameters

    • Optional k0: number | bigint

      seed parameter

      +
    • Optional k1: number | bigint

      seed parameter

      +
    • Optional k2: number | bigint

      seed parameter

      +
    • Optional k3: number | bigint

      seed parameter

      +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.hash(42)
    shape: (3,)
    Series: 'a' [u64]
    [
    7499844439152382372
    821952831504499201
    6685218033491627602
    ] +
    +
  • Parameters

    • __namedParameters: {
          k0?: number | bigint;
          k1?: number | bigint;
          k2?: number | bigint;
          k3?: number | bigint;
      }
      • Optional k0?: number | bigint
      • Optional k1?: number | bigint
      • Optional k2?: number | bigint
      • Optional k3?: number | bigint

    Returns pl.Series

  • Get first N elements as Series.

    +
    +

    Parameters

    • Optional length: number

      Length of the head

      +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.head(2)
    shape: (2,)
    Series: 'a' [i64]
    [
    1
    2
    ] +
    +
  • Interpolate intermediate values.

    +

    The interpolation method is linear.

    +
    +

    Parameters

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, None, None, 5])
    > s.interpolate()
    shape: (5,)
    Series: 'a' [i64]
    [
    1
    2
    3
    4
    5
    ] +
    +
  • Check if this Series is a Boolean.

    +

    Returns boolean

  • Check if this Series is a DataTime.

    +

    Returns boolean

  • Get mask of all duplicated values.

    +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 2, 3])
    > s.isDuplicated()

    shape: (4,)
    Series: 'a' [bool]
    [
    false
    true
    true
    false
    ] +
    +
  • Check if this Series is a Float.

    +

    Returns boolean

  • Get mask of infinite values if Series dtype is Float.

    +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1.0, 2.0, 3.0])
    > s.isInfinite()

    shape: (3,)
    Series: 'a' [bool]
    [
    false
    false
    false
    ] +
    +
  • Get mask of non null values.

    +

    undefined values are treated as null

    +
    +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1.0, undefined, 2.0, 3.0, null])
    > s.isNotNull()
    shape: (5,)
    Series: 'a' [bool]
    [
    true
    false
    true
    true
    false
    ] +
    +
  • Get mask of null values.

    +

    undefined values are treated as null

    +
    +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1.0, undefined, 2.0, 3.0, null])
    > s.isNull()
    shape: (5,)
    Series: 'a' [bool]
    [
    false
    true
    false
    false
    true
    ] +
    +
  • Check if this Series datatype is numeric.

    +

    Returns boolean

  • Checks if this Series datatype is a String.

    +

    Returns boolean

  • Get mask of unique values.

    +
    +

    Returns pl.Series

    Example

    >  const s = pl.Series("a", [1, 2, 2, 3])
    > s.isUnique()
    shape: (4,)
    Series: 'a' [bool]
    [
    true
    false
    false
    true
    ] +
    +
  • Checks if this Series datatype is a Utf8.

    +

    Returns boolean

    Deprecated

    since 0.8.4

    +

    See

    Use Series.dtype.equals(pl.String) instead.

    +
  • Compute the kurtosis (Fisher or Pearson) of a dataset.

    +

    Kurtosis is the fourth central moment divided by the square of the +variance. If Fisher's definition is used, then 3.0 is subtracted from +the result to give 0.0 for a normal distribution. +If bias is False then the kurtosis is calculated using k statistics to +eliminate bias coming from biased moment estimators

    +
    +

    Returns Optional<number>

  • Parameters

    • fisher: boolean
    • Optional bias: boolean

    Returns Optional<number>

  • Parameters

    • __namedParameters: {
          bias?: boolean;
          fisher?: boolean;
      }
      • Optional bias?: boolean
      • Optional fisher?: boolean

    Returns Optional<number>

  • Length of this Series.

    +
    +

    Returns number

    Example

    >  const s = pl.Series("a", [1, 2, 3])
    > s.len()
    3 +
    +
  • Take n elements from this Series.

    +
    +

    Parameters

    • Optional n: number

      Amount of elements to take.

      +

    Returns pl.Series

    See

    head

    +

    Example

    s = pl.Series("a", [1, 2, 3])
    s.limit(2)
    shape: (2,)
    Series: 'a' [i64]
    [
    1
    2
    ] +
    +
  • Get the maximum value in this Series.

    +

    Returns number

    Example

    > s = pl.Series("a", [1, 2, 3])
    > s.max()
    3 +
    +
  • Reduce this Series to the mean value.

    +

    Returns number

    Example

    > s = pl.Series("a", [1, 2, 3])
    > s.mean()
    2 +
    +
  • Get the median of this Series

    +

    Returns number

    Example

    > s = pl.Series("a", [1, 2, 3])
    > s.median()
    2 +
    +
  • Get the minimal value in this Series.

    +

    Returns number

    Example

    > s = pl.Series("a", [1, 2, 3])
    > s.min()
    1 +
    +
  • Compute the most occurring value(s). Can return multiple Values

    +
    +

    Returns pl.Series

    Example

    s = pl.Series("a", [1, 2, 2, 3])
    s.mode()
    shape: (1,)
    Series: 'a' [i64]
    [
    2
    ]

    s = pl.Series("a", ['a', 'b', 'c', 'c', 'b'])
    s.mode()
    shape: (1,)
    Series: 'a' [str]
    [
    'b'
    'c'
    ] +
    +
  • Get the number of chunks that this Series contains.

    +

    Returns number

  • Count the number of unique values in this Series.

    +
    +

    Returns number

    Example

    s = pl.Series("a", [1, 2, 2, 3])
    s.nUnique()
    3 +
    +
  • Count the null values in this Series. -- +undefined values are treated as null

    +

    Returns number

  • Get a boolean mask of the local maximum peaks.

    +
    +

    Returns pl.Series

    Example

    s = pl.Series("a", [1, 2, 3, 4, 5])
    s.peakMax()
    shape: (5,)
    Series: '' [bool]
    [
    false
    false
    false
    false
    true
    ] +
    +
  • Get a boolean mask of the local minimum peaks.

    +
    +

    Returns pl.Series

    Example

    s = pl.Series("a", [4, 1, 3, 2, 5])
    s.peakMin()
    shape: (5,)
    Series: '' [bool]
    [
    false
    true
    false
    true
    false
    ] +
    +
  • Get the quantile value of this Series.

    +
    +

    Parameters

    • quantile: number
    • Optional interpolation: string

    Returns number

    Example

    s = pl.Series("a", [1, 2, 3])
    s.quantile(0.5)
    2 +
    +
  • Assign ranks to data, dealing with ties appropriately.

    +

    Parameters

    • Optional method: RankMethod

      The method used to assign ranks to tied elements. +The following methods are available: default is 'average'

      +
        +
      • 'average': The average of the ranks that would have been assigned to + all the tied values is assigned to each value.
      • +
      • 'min': The minimum of the ranks that would have been assigned to all +the tied values is assigned to each value. This is also +referred to as "competition" ranking.
      • +
      • 'max': The maximum of the ranks that would have been assigned to all +the tied values is assigned to each value.
      • +
      • 'dense': Like 'min', but the rank of the next highest element is +assigned the rank immediately after those assigned to the tied +elements.
      • +
      • 'ordinal': All values are given a distinct rank, corresponding to +the order that the values occur in a.
      • +
      • 'random': Like 'ordinal', but the rank for ties is not dependent +on the order that the values occur in a.
      • +
      +

    Returns pl.Series

  • Reinterpret the underlying bits as a signed/unsigned integer.

    +

    This operation is only allowed for 64bit integers. For lower bits integers, +you can safely use that cast operation.

    +
    +

    Parameters

    • Optional signed: boolean

      signed or unsigned

      +
        +
      • True -> pl.Int64
      • +
      • False -> pl.UInt64
      • +
      +

    Returns pl.Series

    See

    cast

    +
  • Rename this Series.

    +

    Parameters

    • name: string

      new name

      +

    Returns pl.Series

    See

    alias

    +

    Example

    s = pl.Series("a", [1, 2, 3])
    s.rename('b')
    shape: (3,)
    Series: 'b' [i64]
    [
    1
    2
    3
    ] +
    +
  • Parameters

    • name: string
    • inPlace: boolean

    Returns void

  • Parameters

    • __namedParameters: {
          inPlace?: boolean;
          name: string;
      }
      • Optional inPlace?: boolean
      • name: string

    Returns void

  • Parameters

    • __namedParameters: {
          inPlace: true;
          name: string;
      }
      • inPlace: true
      • name: string

    Returns void

  • Serializes object to desired format via serde

    +

    Parameters

    Returns Buffer

  • Check if series is equal with another Series.

    +

    Type Parameters

    • U1

    Parameters

    • other: pl.Series

      Series to compare with.

      +
    • Optional nullEqual: boolean

      Consider null values as equal. ('undefined' is treated as null)

      +
      +
    • Optional strict: boolean

    Returns boolean

    Example

    s = pl.Series("a", [1, 2, 3])
    s2 = pl.Series("b", [4, 5, 6])
    s.series_equal(s)
    true
    s.series_equal(s2)
    false +
    +
  • Set masked values

    +

    Parameters

    • indices: pl.Series | number[]
    • value: any

      value to replace masked values with

      +

    Returns void

    Deprecated

    Since

    0.8.4

    +

    Use

    scatter

    +
  • Shift the values by a given period

    +

    the parts that will be empty due to this operation will be filled with null.

    +
    +

    Parameters

    • periods: number

      Number of places to shift (may be negative).

      +

    Returns pl.Series

    Example

    s = pl.Series("a", [1, 2, 3])
    s.shift(1)
    shape: (3,)
    Series: 'a' [i64]
    [
    null
    1
    2
    ]
    s.shift(-1)
    shape: (3,)
    Series: 'a' [i64]
    [
    2
    3
    null
    ] +
    +
  • Shift the values by a given period

    +

    the parts that will be empty due to this operation will be filled with fillValue.

    +
    +

    Parameters

    • periods: number

      Number of places to shift (may be negative).

      +
    • fillValue: number

      Fill null & undefined values with the result of this expression.

      +

    Returns pl.Series

  • Parameters

    • args: {
          fillValue: number;
          periods: number;
      }
      • fillValue: number
      • periods: number

    Returns pl.Series

  • Compute the sample skewness of a data set.

    +

    For normally distributed data, the skewness should be about zero. For +unimodal continuous distributions, a skewness value greater than zero means +that there is more weight in the right tail of the distribution. The +function skewtest can be used to determine if the skewness value +is close enough to zero, statistically speaking.

    +
    +

    Parameters

    • Optional bias: boolean

      If false, then the calculations are corrected for statistical bias.

      +

    Returns undefined | number

  • Create subslices of the Series.

    +

    Parameters

    • start: number
    • Optional length: number

      length of the slice.

      +

    Returns pl.Series

  • Sort this Series.

    +

    Returns pl.Series

    Example

    s = pl.Series("a", [1, 3, 4, 2])
    s.sort()
    shape: (4,)
    Series: 'a' [i64]
    [
    1
    2
    3
    4
    ]
    s.sort({descending: true})
    shape: (4,)
    Series: 'a' [i64]
    [
    4
    3
    2
    1
    ] +
    +
  • Parameters

    • options: {
          descending?: boolean;
          nullsLast?: boolean;
      }
      • Optional descending?: boolean
      • Optional nullsLast?: boolean

    Returns pl.Series

  • Reduce this Series to the sum value.

    +

    Returns number

    Example

    > s = pl.Series("a", [1, 2, 3])
    > s.sum()
    6 +
    +
  • Get last N elements as Series.

    +
    +

    Parameters

    • Optional length: number

      Length of the tail

      +

    Returns pl.Series

    See

    head

    +

    Example

    s = pl.Series("a", [1, 2, 3])
    s.tail(2)
    shape: (2,)
    Series: 'a' [i64]
    [
    2
    3
    ] +
    +
  • Convert this Series to a Javascript Array.

    +

    This operation clones data, and is very slow, but maintains greater precision for all dtypes. +Often times series.toObject().values is faster, but less precise

    +
    +

    Returns any[]

    Example

    const s = pl.Series("a", [1, 2, 3])
    const arr = s.toArray()
    [1, 2, 3]
    Array.isArray(arr)
    true +
    +
  • Get dummy/indicator variables.

    +

    Parameters

    • Optional separator: string
    • Optional dropFirst: boolean

    Returns pl.DataFrame

    Example

    const s = pl.Series("a", [1, 2, 3])
    >>> s.toDummies()
    shape: (3, 3)
    ┌─────┬─────┬─────┐
    a_1a_2a_3
    │ --- ┆ --- ┆ --- │
    u8u8u8
    ╞═════╪═════╪═════╡
    100
    010
    001
    └─────┴─────┴─────┘

    >>> s.toDummies(":", true)
    shape: (3, 2)
    ┌─────┬─────┐
    a:2a:3
    │ --- ┆ --- │
    u8u8
    ╞═════╪═════╡
    00
    10
    01
    └─────┴─────┘ +
    +
  • Returns a Javascript object representation of Series +Often this is much faster than the iterator, or values method

    +

    Returns {
        datatype: string;
        name: string;
        values: any[];
    }

    • datatype: string
    • name: string
    • values: any[]

    Example

    const s = pl.Series("foo", [1,2,3])
    s.toObject()
    {
    name: "foo",
    datatype: "Float64",
    values: [1,2,3]
    } +
    +
  • Converts series to a javascript typedArray.

    +

    Warning: +This will throw an error if you have nulls, or are using non numeric data types

    +

    Returns any

  • Get unique elements in series.

    +
    +

    Parameters

    • Optional maintainOrder: boolean | {
          maintainOrder: boolean;
      }

      Maintain order of data. This requires more work.

      +

    Returns pl.Series

    Example

    s = pl.Series("a", [1, 2, 2, 3])
    s.unique()
    shape: (3,)
    Series: 'a' [i64]
    [
    1
    2
    3
    ] +
    +
  • Count the unique values in a Series.

    +

    Parameters

    • Optional sort: boolean

      Sort the output by count in descending order. + If set to False (default), the order of the output is random.

      +
      +

    Returns pl.DataFrame

    Example

    s = pl.Series("a", [1, 2, 2, 3])
    s.valueCounts()
    shape: (3, 2)
    ╭─────┬────────╮
    acounts
    │ --- ┆ --- │
    i64u32
    ╞═════╪════════╡
    22
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    11
    ├╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
    31
    ╰─────┴────────╯ +
    +
  • Returns an iterator over the values

    +

    Returns IterableIterator<any>

  • Where mask evaluates true, take values from self.

    +

    Where mask evaluates false, take values from other.

    +
    +

    Parameters

    Returns pl.Series

Methods - Rolling

  • Apply a rolling max (moving max) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Series

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Series

  • Apply a rolling mean (moving mean) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Series

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Series

  • Compute a rolling median

    +

    Parameters

    Returns pl.Series

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Series

  • Apply a rolling min (moving min) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Series

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Series

  • Compute a rolling skew

    +

    Parameters

    • windowSize: number

      Size of the rolling window

      +
    • Optional bias: boolean

      If false, then the calculations are corrected for statistical bias.

      +

    Returns pl.Series

  • Compute a rolling skew

    +

    Parameters

    Returns pl.Series

  • Compute a rolling std dev

    +

    A window of length window_size will traverse the array. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector. The resulting +values will be aggregated to their sum.

    +
    +

    Parameters

    Returns pl.Series

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean
    • Optional ddof: number

    Returns pl.Series

  • Apply a rolling sum (moving sum) over the values in this Series.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Series

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean

    Returns pl.Series

  • Compute a rolling variance.

    +

    A window of length window_size will traverse the series. The values that fill this window +will (optionally) be multiplied with the weights given by the weight vector.

    +

    The resulting parameters' values will be aggregated into their sum.

    +
    +

    Parameters

    Returns pl.Series

  • Parameters

    • windowSize: number
    • Optional weights: number[]
    • Optional minPeriods: number[]
    • Optional center: boolean
    • Optional ddof: number

    Returns pl.Series

\ No newline at end of file diff --git a/modules.html b/modules.html new file mode 100644 index 000000000..e04589725 --- /dev/null +++ b/modules.html @@ -0,0 +1,153 @@ +nodejs-polars

nodejs-polars

References

Namespaces

Classes

Interfaces - Options

Interfaces - Other

Type Aliases

Variables

Functions

References

Re-exports DataFrame
Re-exports Expr
Re-exports Field
Re-exports Series
Re-exports allHorizontal
Re-exports anyHorizontal
Re-exports argSortBy
Re-exports avg
Re-exports col
Re-exports cols
Re-exports concat
Re-exports concatList
Re-exports concatString
Re-exports count
Re-exports cov
Renames and re-exports pl
Re-exports element
Re-exports exclude
Re-exports first
Re-exports format
Re-exports groups
Re-exports head
Re-exports intRange
Re-exports intRanges
Re-exports last
Re-exports list
Re-exports lit
Re-exports maxHorizontal
Re-exports mean
Re-exports median
Re-exports minHorizontal
Re-exports nUnique
Re-exports nth
Re-exports pearsonCorr
Re-exports quantile
Re-exports readAvro
Re-exports readCSV
Re-exports readCSVStream
Re-exports readIPC
Re-exports readJSON
Re-exports readJSONStream
Re-exports readParquet
Re-exports readRecords
Re-exports repeat
Re-exports scanCSV
Re-exports scanIPC
Re-exports scanJson
Re-exports scanParquet
Re-exports select
Re-exports spearmanRankCorr
Re-exports struct
Re-exports sumHorizontal
Re-exports tail
Re-exports when
\ No newline at end of file diff --git a/modules/DataType-1.html b/modules/DataType-1.html new file mode 100644 index 000000000..fe8f2c289 --- /dev/null +++ b/modules/DataType-1.html @@ -0,0 +1,65 @@ +DataType | nodejs-polars

Namespace DataType

Datatype namespace

+

Accessors

\ No newline at end of file diff --git a/modules/pl.Field-1.html b/modules/pl.Field-1.html new file mode 100644 index 000000000..0fbdd502f --- /dev/null +++ b/modules/pl.Field-1.html @@ -0,0 +1,2 @@ +Field | nodejs-polars

Namespace Field

Index

Functions

\ No newline at end of file diff --git a/modules/pl.html b/modules/pl.html new file mode 100644 index 000000000..cc9a097d8 --- /dev/null +++ b/modules/pl.html @@ -0,0 +1,113 @@ +pl | nodejs-polars
\ No newline at end of file diff --git a/types/Bool-1.html b/types/Bool-1.html new file mode 100644 index 000000000..e5b671d88 --- /dev/null +++ b/types/Bool-1.html @@ -0,0 +1 @@ +Bool | nodejs-polars

Type alias Bool

Bool: Bool
\ No newline at end of file diff --git a/types/Categorical-1.html b/types/Categorical-1.html new file mode 100644 index 000000000..a59b3c0a7 --- /dev/null +++ b/types/Categorical-1.html @@ -0,0 +1 @@ +Categorical | nodejs-polars

Type alias Categorical

Categorical: Categorical
\ No newline at end of file diff --git a/types/ChainedThen.html b/types/ChainedThen.html new file mode 100644 index 000000000..e030c9ce4 --- /dev/null +++ b/types/ChainedThen.html @@ -0,0 +1 @@ +ChainedThen | nodejs-polars

Type alias ChainedThen

ChainedThen: lazy.ChainedThen
\ No newline at end of file diff --git a/types/ChainedWhen.html b/types/ChainedWhen.html new file mode 100644 index 000000000..4b45b5500 --- /dev/null +++ b/types/ChainedWhen.html @@ -0,0 +1 @@ +ChainedWhen | nodejs-polars

Type alias ChainedWhen

ChainedWhen: lazy.ChainedWhen
\ No newline at end of file diff --git a/types/ClosedWindow.html b/types/ClosedWindow.html new file mode 100644 index 000000000..efb79f637 --- /dev/null +++ b/types/ClosedWindow.html @@ -0,0 +1,2 @@ +ClosedWindow | nodejs-polars

Type alias ClosedWindow

ClosedWindow: "None" | "Both" | "Left" | "Right"

ClosedWindow types

+
\ No newline at end of file diff --git a/types/DataType-1.Bool.html b/types/DataType-1.Bool.html new file mode 100644 index 000000000..5ceeff676 --- /dev/null +++ b/types/DataType-1.Bool.html @@ -0,0 +1 @@ +Bool | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.Categorical.html b/types/DataType-1.Categorical.html new file mode 100644 index 000000000..ad66fc3cf --- /dev/null +++ b/types/DataType-1.Categorical.html @@ -0,0 +1 @@ +Categorical | nodejs-polars

Type alias Categorical

Categorical: Categorical
\ No newline at end of file diff --git a/types/DataType-1.Date.html b/types/DataType-1.Date.html new file mode 100644 index 000000000..7eaef69a4 --- /dev/null +++ b/types/DataType-1.Date.html @@ -0,0 +1 @@ +Date | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.Datetime.html b/types/DataType-1.Datetime.html new file mode 100644 index 000000000..95b5abeac --- /dev/null +++ b/types/DataType-1.Datetime.html @@ -0,0 +1 @@ +Datetime | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.Decimal.html b/types/DataType-1.Decimal.html new file mode 100644 index 000000000..2bdba1f9b --- /dev/null +++ b/types/DataType-1.Decimal.html @@ -0,0 +1 @@ +Decimal | nodejs-polars
Decimal: Decimal
\ No newline at end of file diff --git a/types/DataType-1.FixedSizeList.html b/types/DataType-1.FixedSizeList.html new file mode 100644 index 000000000..6a466c030 --- /dev/null +++ b/types/DataType-1.FixedSizeList.html @@ -0,0 +1 @@ +FixedSizeList | nodejs-polars

Type alias FixedSizeList

FixedSizeList: FixedSizeList
\ No newline at end of file diff --git a/types/DataType-1.Float32.html b/types/DataType-1.Float32.html new file mode 100644 index 000000000..5591b229d --- /dev/null +++ b/types/DataType-1.Float32.html @@ -0,0 +1 @@ +Float32 | nodejs-polars
Float32: Float32
\ No newline at end of file diff --git a/types/DataType-1.Float64.html b/types/DataType-1.Float64.html new file mode 100644 index 000000000..e9ed79c45 --- /dev/null +++ b/types/DataType-1.Float64.html @@ -0,0 +1 @@ +Float64 | nodejs-polars
Float64: Float64
\ No newline at end of file diff --git a/types/DataType-1.Int16.html b/types/DataType-1.Int16.html new file mode 100644 index 000000000..2329ad76e --- /dev/null +++ b/types/DataType-1.Int16.html @@ -0,0 +1 @@ +Int16 | nodejs-polars
Int16: Int16
\ No newline at end of file diff --git a/types/DataType-1.Int32.html b/types/DataType-1.Int32.html new file mode 100644 index 000000000..55f349c55 --- /dev/null +++ b/types/DataType-1.Int32.html @@ -0,0 +1 @@ +Int32 | nodejs-polars
Int32: Int32
\ No newline at end of file diff --git a/types/DataType-1.Int64.html b/types/DataType-1.Int64.html new file mode 100644 index 000000000..fcf530bb6 --- /dev/null +++ b/types/DataType-1.Int64.html @@ -0,0 +1 @@ +Int64 | nodejs-polars
Int64: Int64
\ No newline at end of file diff --git a/types/DataType-1.Int8.html b/types/DataType-1.Int8.html new file mode 100644 index 000000000..035b12895 --- /dev/null +++ b/types/DataType-1.Int8.html @@ -0,0 +1 @@ +Int8 | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.List.html b/types/DataType-1.List.html new file mode 100644 index 000000000..74ce79838 --- /dev/null +++ b/types/DataType-1.List.html @@ -0,0 +1 @@ +List | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.Null.html b/types/DataType-1.Null.html new file mode 100644 index 000000000..4e07d5cc9 --- /dev/null +++ b/types/DataType-1.Null.html @@ -0,0 +1 @@ +Null | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.Object.html b/types/DataType-1.Object.html new file mode 100644 index 000000000..2a425de38 --- /dev/null +++ b/types/DataType-1.Object.html @@ -0,0 +1 @@ +Object | nodejs-polars
Object: Object_
\ No newline at end of file diff --git a/types/DataType-1.String.html b/types/DataType-1.String.html new file mode 100644 index 000000000..e33da4361 --- /dev/null +++ b/types/DataType-1.String.html @@ -0,0 +1 @@ +String | nodejs-polars
String: String
\ No newline at end of file diff --git a/types/DataType-1.Struct.html b/types/DataType-1.Struct.html new file mode 100644 index 000000000..012027d76 --- /dev/null +++ b/types/DataType-1.Struct.html @@ -0,0 +1 @@ +Struct | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.Time.html b/types/DataType-1.Time.html new file mode 100644 index 000000000..4ef3686f5 --- /dev/null +++ b/types/DataType-1.Time.html @@ -0,0 +1 @@ +Time | nodejs-polars
\ No newline at end of file diff --git a/types/DataType-1.UInt16.html b/types/DataType-1.UInt16.html new file mode 100644 index 000000000..03d125887 --- /dev/null +++ b/types/DataType-1.UInt16.html @@ -0,0 +1 @@ +UInt16 | nodejs-polars
UInt16: UInt16
\ No newline at end of file diff --git a/types/DataType-1.UInt32.html b/types/DataType-1.UInt32.html new file mode 100644 index 000000000..e3f66b0c1 --- /dev/null +++ b/types/DataType-1.UInt32.html @@ -0,0 +1 @@ +UInt32 | nodejs-polars
UInt32: UInt32
\ No newline at end of file diff --git a/types/DataType-1.UInt64.html b/types/DataType-1.UInt64.html new file mode 100644 index 000000000..0f4838d1e --- /dev/null +++ b/types/DataType-1.UInt64.html @@ -0,0 +1 @@ +UInt64 | nodejs-polars
UInt64: UInt64
\ No newline at end of file diff --git a/types/DataType-1.UInt8.html b/types/DataType-1.UInt8.html new file mode 100644 index 000000000..b709d16ee --- /dev/null +++ b/types/DataType-1.UInt8.html @@ -0,0 +1 @@ +UInt8 | nodejs-polars
UInt8: UInt8
\ No newline at end of file diff --git a/types/DataType-1.Utf8.html b/types/DataType-1.Utf8.html new file mode 100644 index 000000000..84909be09 --- /dev/null +++ b/types/DataType-1.Utf8.html @@ -0,0 +1 @@ +Utf8 | nodejs-polars
\ No newline at end of file diff --git a/types/Date-1.html b/types/Date-1.html new file mode 100644 index 000000000..6eab63e7c --- /dev/null +++ b/types/Date-1.html @@ -0,0 +1 @@ +Date | nodejs-polars

Type alias Date

Date: Date
\ No newline at end of file diff --git a/types/Datetime-1.html b/types/Datetime-1.html new file mode 100644 index 000000000..7c675f13d --- /dev/null +++ b/types/Datetime-1.html @@ -0,0 +1 @@ +Datetime | nodejs-polars

Type alias Datetime

Datetime: Datetime
\ No newline at end of file diff --git a/types/DatetimeNamespace.html b/types/DatetimeNamespace.html new file mode 100644 index 000000000..68a5d49a5 --- /dev/null +++ b/types/DatetimeNamespace.html @@ -0,0 +1,2 @@ +DatetimeNamespace | nodejs-polars

Type alias DatetimeNamespace

DatetimeNamespace: DateFunctions<pl.Expr>

DateTime functions

+
\ No newline at end of file diff --git a/types/Decimal-1.html b/types/Decimal-1.html new file mode 100644 index 000000000..4e8790a3d --- /dev/null +++ b/types/Decimal-1.html @@ -0,0 +1 @@ +Decimal | nodejs-polars

Type alias Decimal

Decimal: Decimal
\ No newline at end of file diff --git a/types/DownsampleRule.html b/types/DownsampleRule.html new file mode 100644 index 000000000..582a51461 --- /dev/null +++ b/types/DownsampleRule.html @@ -0,0 +1,2 @@ +DownsampleRule | nodejs-polars

Type alias DownsampleRule

DownsampleRule: "month" | "week" | "day" | "hour" | "minute" | "second"

Downsample rules

+
\ No newline at end of file diff --git a/types/FillNullStrategy.html b/types/FillNullStrategy.html new file mode 100644 index 000000000..33698bd27 --- /dev/null +++ b/types/FillNullStrategy.html @@ -0,0 +1,2 @@ +FillNullStrategy | nodejs-polars

Type alias FillNullStrategy

FillNullStrategy: "backward" | "forward" | "mean" | "min" | "max" | "zero" | "one"

Fill null strategies

+
\ No newline at end of file diff --git a/types/FixedSizeList-1.html b/types/FixedSizeList-1.html new file mode 100644 index 000000000..8ba6123b0 --- /dev/null +++ b/types/FixedSizeList-1.html @@ -0,0 +1 @@ +FixedSizeList | nodejs-polars

Type alias FixedSizeList

FixedSizeList: FixedSizeList
\ No newline at end of file diff --git a/types/Float32-1.html b/types/Float32-1.html new file mode 100644 index 000000000..7da973de6 --- /dev/null +++ b/types/Float32-1.html @@ -0,0 +1 @@ +Float32 | nodejs-polars

Type alias Float32

Float32: Float32
\ No newline at end of file diff --git a/types/Float64-1.html b/types/Float64-1.html new file mode 100644 index 000000000..687219300 --- /dev/null +++ b/types/Float64-1.html @@ -0,0 +1 @@ +Float64 | nodejs-polars

Type alias Float64

Float64: Float64
\ No newline at end of file diff --git a/types/Int16-1.html b/types/Int16-1.html new file mode 100644 index 000000000..0c3b422e9 --- /dev/null +++ b/types/Int16-1.html @@ -0,0 +1 @@ +Int16 | nodejs-polars

Type alias Int16

Int16: Int16
\ No newline at end of file diff --git a/types/Int32-1.html b/types/Int32-1.html new file mode 100644 index 000000000..d5b547f67 --- /dev/null +++ b/types/Int32-1.html @@ -0,0 +1 @@ +Int32 | nodejs-polars

Type alias Int32

Int32: Int32
\ No newline at end of file diff --git a/types/Int64-1.html b/types/Int64-1.html new file mode 100644 index 000000000..62eedfe5e --- /dev/null +++ b/types/Int64-1.html @@ -0,0 +1 @@ +Int64 | nodejs-polars

Type alias Int64

Int64: Int64
\ No newline at end of file diff --git a/types/Int8-1.html b/types/Int8-1.html new file mode 100644 index 000000000..9e8300d26 --- /dev/null +++ b/types/Int8-1.html @@ -0,0 +1 @@ +Int8 | nodejs-polars

Type alias Int8

Int8: Int8
\ No newline at end of file diff --git a/types/InterpolationMethod.html b/types/InterpolationMethod.html new file mode 100644 index 000000000..4e7fcb567 --- /dev/null +++ b/types/InterpolationMethod.html @@ -0,0 +1,2 @@ +InterpolationMethod | nodejs-polars

Type alias InterpolationMethod

InterpolationMethod: "nearest" | "higher" | "lower" | "midpoint" | "linear"

Interpolation types

+
\ No newline at end of file diff --git a/types/JoinType.html b/types/JoinType.html new file mode 100644 index 000000000..0ec3b1312 --- /dev/null +++ b/types/JoinType.html @@ -0,0 +1,2 @@ +JoinType | nodejs-polars

Type alias JoinType

JoinType: "left" | "inner" | "outer" | "semi" | "anti" | "cross"

Join types

+
\ No newline at end of file diff --git a/types/LazyGroupBy.html b/types/LazyGroupBy.html new file mode 100644 index 000000000..bd505b38d --- /dev/null +++ b/types/LazyGroupBy.html @@ -0,0 +1 @@ +LazyGroupBy | nodejs-polars

Type alias LazyGroupBy

LazyGroupBy: lazy.LazyGroupBy
\ No newline at end of file diff --git a/types/LazyOptions.html b/types/LazyOptions.html new file mode 100644 index 000000000..a5220af74 --- /dev/null +++ b/types/LazyOptions.html @@ -0,0 +1,3 @@ +LazyOptions | nodejs-polars

Type alias LazyOptions

LazyOptions: {
    noOptimization?: boolean;
    predicatePushdown?: boolean;
    projectionPushdown?: boolean;
    simplifyExpression?: boolean;
    stringCache?: boolean;
    typeCoercion?: boolean;
}

options for lazy operations

+

Type declaration

  • Optional noOptimization?: boolean
  • Optional predicatePushdown?: boolean
  • Optional projectionPushdown?: boolean
  • Optional simplifyExpression?: boolean
  • Optional stringCache?: boolean
  • Optional typeCoercion?: boolean

See

LazyDataFrame.collect

+
\ No newline at end of file diff --git a/types/List-1.html b/types/List-1.html new file mode 100644 index 000000000..ed9103efe --- /dev/null +++ b/types/List-1.html @@ -0,0 +1 @@ +List | nodejs-polars

Type alias List

List: List
\ No newline at end of file diff --git a/types/ListNamespace.html b/types/ListNamespace.html new file mode 100644 index 000000000..4f6eb4509 --- /dev/null +++ b/types/ListNamespace.html @@ -0,0 +1,2 @@ +ListNamespace | nodejs-polars

Type alias ListNamespace

ListNamespace: ListFunctions<pl.Expr>

namespace containing expr list functions

+
\ No newline at end of file diff --git a/types/Null-1.html b/types/Null-1.html new file mode 100644 index 000000000..c031ced94 --- /dev/null +++ b/types/Null-1.html @@ -0,0 +1 @@ +Null | nodejs-polars

Type alias Null

Null: Null
\ No newline at end of file diff --git a/types/Object-1.html b/types/Object-1.html new file mode 100644 index 000000000..651c7da31 --- /dev/null +++ b/types/Object-1.html @@ -0,0 +1 @@ +Object | nodejs-polars

Type alias Object

Object: Object_
\ No newline at end of file diff --git a/types/RankMethod.html b/types/RankMethod.html new file mode 100644 index 000000000..363bb0582 --- /dev/null +++ b/types/RankMethod.html @@ -0,0 +1,2 @@ +RankMethod | nodejs-polars

Type alias RankMethod

RankMethod: "average" | "min" | "max" | "dense" | "ordinal" | "random"

Rank methods

+
\ No newline at end of file diff --git a/types/String-1.html b/types/String-1.html new file mode 100644 index 000000000..448dcd230 --- /dev/null +++ b/types/String-1.html @@ -0,0 +1 @@ +String | nodejs-polars

Type alias String

String: String
\ No newline at end of file diff --git a/types/Struct-1.html b/types/Struct-1.html new file mode 100644 index 000000000..b842e9077 --- /dev/null +++ b/types/Struct-1.html @@ -0,0 +1 @@ +Struct | nodejs-polars

Type alias Struct

Struct: Struct
\ No newline at end of file diff --git a/types/Then.html b/types/Then.html new file mode 100644 index 000000000..733679736 --- /dev/null +++ b/types/Then.html @@ -0,0 +1 @@ +Then | nodejs-polars

Type alias Then

Then: lazy.Then
\ No newline at end of file diff --git a/types/Time-1.html b/types/Time-1.html new file mode 100644 index 000000000..3ec01eaf8 --- /dev/null +++ b/types/Time-1.html @@ -0,0 +1 @@ +Time | nodejs-polars

Type alias Time

Time: Time
\ No newline at end of file diff --git a/types/UInt16-1.html b/types/UInt16-1.html new file mode 100644 index 000000000..026ac2afb --- /dev/null +++ b/types/UInt16-1.html @@ -0,0 +1 @@ +UInt16 | nodejs-polars

Type alias UInt16

UInt16: UInt16
\ No newline at end of file diff --git a/types/UInt32-1.html b/types/UInt32-1.html new file mode 100644 index 000000000..7ead94e83 --- /dev/null +++ b/types/UInt32-1.html @@ -0,0 +1 @@ +UInt32 | nodejs-polars

Type alias UInt32

UInt32: UInt32
\ No newline at end of file diff --git a/types/UInt64-1.html b/types/UInt64-1.html new file mode 100644 index 000000000..93d4190a2 --- /dev/null +++ b/types/UInt64-1.html @@ -0,0 +1 @@ +UInt64 | nodejs-polars

Type alias UInt64

UInt64: UInt64
\ No newline at end of file diff --git a/types/UInt8-1.html b/types/UInt8-1.html new file mode 100644 index 000000000..a42bbe3e2 --- /dev/null +++ b/types/UInt8-1.html @@ -0,0 +1 @@ +UInt8 | nodejs-polars

Type alias UInt8

UInt8: UInt8
\ No newline at end of file diff --git a/types/Utf8-1.html b/types/Utf8-1.html new file mode 100644 index 000000000..784b12756 --- /dev/null +++ b/types/Utf8-1.html @@ -0,0 +1 @@ +Utf8 | nodejs-polars

Type alias Utf8

Utf8: Utf8
\ No newline at end of file diff --git a/types/When.html b/types/When.html new file mode 100644 index 000000000..e6e97e4fb --- /dev/null +++ b/types/When.html @@ -0,0 +1 @@ +When | nodejs-polars

Type alias When

When: lazy.When
\ No newline at end of file diff --git a/types/pl.Bool-1.html b/types/pl.Bool-1.html new file mode 100644 index 000000000..484661b00 --- /dev/null +++ b/types/pl.Bool-1.html @@ -0,0 +1 @@ +Bool | nodejs-polars

Type alias Bool

Bool: Bool
\ No newline at end of file diff --git a/types/pl.Categorical-1.html b/types/pl.Categorical-1.html new file mode 100644 index 000000000..e5559abfc --- /dev/null +++ b/types/pl.Categorical-1.html @@ -0,0 +1 @@ +Categorical | nodejs-polars

Type alias Categorical

Categorical: Categorical
\ No newline at end of file diff --git a/types/pl.ChainedThen.html b/types/pl.ChainedThen.html new file mode 100644 index 000000000..a2ba098ef --- /dev/null +++ b/types/pl.ChainedThen.html @@ -0,0 +1 @@ +ChainedThen | nodejs-polars

Type alias ChainedThen

ChainedThen: lazy.ChainedThen
\ No newline at end of file diff --git a/types/pl.ChainedWhen.html b/types/pl.ChainedWhen.html new file mode 100644 index 000000000..1acb6d4f6 --- /dev/null +++ b/types/pl.ChainedWhen.html @@ -0,0 +1 @@ +ChainedWhen | nodejs-polars

Type alias ChainedWhen

ChainedWhen: lazy.ChainedWhen
\ No newline at end of file diff --git a/types/pl.Date-1.html b/types/pl.Date-1.html new file mode 100644 index 000000000..2da62b583 --- /dev/null +++ b/types/pl.Date-1.html @@ -0,0 +1 @@ +Date | nodejs-polars

Type alias Date

Date: Date
\ No newline at end of file diff --git a/types/pl.Datetime-1.html b/types/pl.Datetime-1.html new file mode 100644 index 000000000..6a8b79385 --- /dev/null +++ b/types/pl.Datetime-1.html @@ -0,0 +1 @@ +Datetime | nodejs-polars

Type alias Datetime

Datetime: Datetime
\ No newline at end of file diff --git a/types/pl.Decimal-1.html b/types/pl.Decimal-1.html new file mode 100644 index 000000000..659933b69 --- /dev/null +++ b/types/pl.Decimal-1.html @@ -0,0 +1 @@ +Decimal | nodejs-polars

Type alias Decimal

Decimal: Decimal
\ No newline at end of file diff --git a/types/pl.FixedSizeList-1.html b/types/pl.FixedSizeList-1.html new file mode 100644 index 000000000..6d3aa5014 --- /dev/null +++ b/types/pl.FixedSizeList-1.html @@ -0,0 +1 @@ +FixedSizeList | nodejs-polars

Type alias FixedSizeList

FixedSizeList: FixedSizeList
\ No newline at end of file diff --git a/types/pl.Float32-1.html b/types/pl.Float32-1.html new file mode 100644 index 000000000..d5356f802 --- /dev/null +++ b/types/pl.Float32-1.html @@ -0,0 +1 @@ +Float32 | nodejs-polars

Type alias Float32

Float32: Float32
\ No newline at end of file diff --git a/types/pl.Float64-1.html b/types/pl.Float64-1.html new file mode 100644 index 000000000..39c96850a --- /dev/null +++ b/types/pl.Float64-1.html @@ -0,0 +1 @@ +Float64 | nodejs-polars

Type alias Float64

Float64: Float64
\ No newline at end of file diff --git a/types/pl.Int16-1.html b/types/pl.Int16-1.html new file mode 100644 index 000000000..cd8341d4b --- /dev/null +++ b/types/pl.Int16-1.html @@ -0,0 +1 @@ +Int16 | nodejs-polars

Type alias Int16

Int16: Int16
\ No newline at end of file diff --git a/types/pl.Int32-1.html b/types/pl.Int32-1.html new file mode 100644 index 000000000..5f8160a10 --- /dev/null +++ b/types/pl.Int32-1.html @@ -0,0 +1 @@ +Int32 | nodejs-polars

Type alias Int32

Int32: Int32
\ No newline at end of file diff --git a/types/pl.Int64-1.html b/types/pl.Int64-1.html new file mode 100644 index 000000000..040abeb94 --- /dev/null +++ b/types/pl.Int64-1.html @@ -0,0 +1 @@ +Int64 | nodejs-polars

Type alias Int64

Int64: Int64
\ No newline at end of file diff --git a/types/pl.Int8-1.html b/types/pl.Int8-1.html new file mode 100644 index 000000000..dd950a78f --- /dev/null +++ b/types/pl.Int8-1.html @@ -0,0 +1 @@ +Int8 | nodejs-polars

Type alias Int8

Int8: Int8
\ No newline at end of file diff --git a/types/pl.LazyGroupBy.html b/types/pl.LazyGroupBy.html new file mode 100644 index 000000000..2b2d599e9 --- /dev/null +++ b/types/pl.LazyGroupBy.html @@ -0,0 +1 @@ +LazyGroupBy | nodejs-polars

Type alias LazyGroupBy

LazyGroupBy: lazy.LazyGroupBy
\ No newline at end of file diff --git a/types/pl.List-1.html b/types/pl.List-1.html new file mode 100644 index 000000000..890ede653 --- /dev/null +++ b/types/pl.List-1.html @@ -0,0 +1 @@ +List | nodejs-polars

Type alias List

List: List
\ No newline at end of file diff --git a/types/pl.Null-1.html b/types/pl.Null-1.html new file mode 100644 index 000000000..9ea64c60d --- /dev/null +++ b/types/pl.Null-1.html @@ -0,0 +1 @@ +Null | nodejs-polars

Type alias Null

Null: Null
\ No newline at end of file diff --git a/types/pl.Object-1.html b/types/pl.Object-1.html new file mode 100644 index 000000000..bf0ac4e4b --- /dev/null +++ b/types/pl.Object-1.html @@ -0,0 +1 @@ +Object | nodejs-polars

Type alias Object

Object: Object_
\ No newline at end of file diff --git a/types/pl.String-1.html b/types/pl.String-1.html new file mode 100644 index 000000000..b0e78ded9 --- /dev/null +++ b/types/pl.String-1.html @@ -0,0 +1 @@ +String | nodejs-polars

Type alias String

String: String
\ No newline at end of file diff --git a/types/pl.Struct-1.html b/types/pl.Struct-1.html new file mode 100644 index 000000000..dfd70ffe2 --- /dev/null +++ b/types/pl.Struct-1.html @@ -0,0 +1 @@ +Struct | nodejs-polars

Type alias Struct

Struct: Struct
\ No newline at end of file diff --git a/types/pl.Then.html b/types/pl.Then.html new file mode 100644 index 000000000..043c823b5 --- /dev/null +++ b/types/pl.Then.html @@ -0,0 +1 @@ +Then | nodejs-polars

Type alias Then

Then: lazy.Then
\ No newline at end of file diff --git a/types/pl.Time-1.html b/types/pl.Time-1.html new file mode 100644 index 000000000..9c435d195 --- /dev/null +++ b/types/pl.Time-1.html @@ -0,0 +1 @@ +Time | nodejs-polars

Type alias Time

Time: Time
\ No newline at end of file diff --git a/types/pl.UInt16-1.html b/types/pl.UInt16-1.html new file mode 100644 index 000000000..a53a13cc3 --- /dev/null +++ b/types/pl.UInt16-1.html @@ -0,0 +1 @@ +UInt16 | nodejs-polars

Type alias UInt16

UInt16: UInt16
\ No newline at end of file diff --git a/types/pl.UInt32-1.html b/types/pl.UInt32-1.html new file mode 100644 index 000000000..ab6ef8d4a --- /dev/null +++ b/types/pl.UInt32-1.html @@ -0,0 +1 @@ +UInt32 | nodejs-polars

Type alias UInt32

UInt32: UInt32
\ No newline at end of file diff --git a/types/pl.UInt64-1.html b/types/pl.UInt64-1.html new file mode 100644 index 000000000..1b0c70450 --- /dev/null +++ b/types/pl.UInt64-1.html @@ -0,0 +1 @@ +UInt64 | nodejs-polars

Type alias UInt64

UInt64: UInt64
\ No newline at end of file diff --git a/types/pl.UInt8-1.html b/types/pl.UInt8-1.html new file mode 100644 index 000000000..a4bb04512 --- /dev/null +++ b/types/pl.UInt8-1.html @@ -0,0 +1 @@ +UInt8 | nodejs-polars

Type alias UInt8

UInt8: UInt8
\ No newline at end of file diff --git a/types/pl.Utf8-1.html b/types/pl.Utf8-1.html new file mode 100644 index 000000000..af48153d0 --- /dev/null +++ b/types/pl.Utf8-1.html @@ -0,0 +1 @@ +Utf8 | nodejs-polars

Type alias Utf8

Utf8: Utf8
\ No newline at end of file diff --git a/types/pl.When.html b/types/pl.When.html new file mode 100644 index 000000000..d4d7961c9 --- /dev/null +++ b/types/pl.When.html @@ -0,0 +1 @@ +When | nodejs-polars

Type alias When

When: lazy.When
\ No newline at end of file diff --git a/variables/Bool.html b/variables/Bool.html new file mode 100644 index 000000000..1f81c876e --- /dev/null +++ b/variables/Bool.html @@ -0,0 +1 @@ +Bool | nodejs-polars

Variable Bool

Bool: DataType
\ No newline at end of file diff --git a/variables/Categorical.html b/variables/Categorical.html new file mode 100644 index 000000000..a773bdff3 --- /dev/null +++ b/variables/Categorical.html @@ -0,0 +1 @@ +Categorical | nodejs-polars

Variable Categorical

Categorical: DataType
\ No newline at end of file diff --git a/variables/Date.html b/variables/Date.html new file mode 100644 index 000000000..45aed7ffc --- /dev/null +++ b/variables/Date.html @@ -0,0 +1 @@ +Date | nodejs-polars

Variable Date

Date: DataType
\ No newline at end of file diff --git a/variables/Float32.html b/variables/Float32.html new file mode 100644 index 000000000..8a8cac1a5 --- /dev/null +++ b/variables/Float32.html @@ -0,0 +1 @@ +Float32 | nodejs-polars

Variable Float32

Float32: DataType
\ No newline at end of file diff --git a/variables/Float64.html b/variables/Float64.html new file mode 100644 index 000000000..b5c01666a --- /dev/null +++ b/variables/Float64.html @@ -0,0 +1 @@ +Float64 | nodejs-polars

Variable Float64

Float64: DataType
\ No newline at end of file diff --git a/variables/Int16.html b/variables/Int16.html new file mode 100644 index 000000000..ddbb61e8d --- /dev/null +++ b/variables/Int16.html @@ -0,0 +1 @@ +Int16 | nodejs-polars

Variable Int16

Int16: DataType
\ No newline at end of file diff --git a/variables/Int32.html b/variables/Int32.html new file mode 100644 index 000000000..9dcc7ef5d --- /dev/null +++ b/variables/Int32.html @@ -0,0 +1 @@ +Int32 | nodejs-polars

Variable Int32

Int32: DataType
\ No newline at end of file diff --git a/variables/Int64.html b/variables/Int64.html new file mode 100644 index 000000000..3e5b1c132 --- /dev/null +++ b/variables/Int64.html @@ -0,0 +1 @@ +Int64 | nodejs-polars

Variable Int64

Int64: DataType
\ No newline at end of file diff --git a/variables/Int8.html b/variables/Int8.html new file mode 100644 index 000000000..26009ecdd --- /dev/null +++ b/variables/Int8.html @@ -0,0 +1 @@ +Int8 | nodejs-polars

Variable Int8

Int8: DataType
\ No newline at end of file diff --git a/variables/Null.html b/variables/Null.html new file mode 100644 index 000000000..721f17883 --- /dev/null +++ b/variables/Null.html @@ -0,0 +1 @@ +Null | nodejs-polars

Variable Null

Null: DataType
\ No newline at end of file diff --git a/variables/Object.html b/variables/Object.html new file mode 100644 index 000000000..0f2d953dd --- /dev/null +++ b/variables/Object.html @@ -0,0 +1 @@ +Object | nodejs-polars

Variable Object

Object: DataType
\ No newline at end of file diff --git a/variables/String.html b/variables/String.html new file mode 100644 index 000000000..06c393193 --- /dev/null +++ b/variables/String.html @@ -0,0 +1 @@ +String | nodejs-polars

Variable String

String: DataType
\ No newline at end of file diff --git a/variables/Time.html b/variables/Time.html new file mode 100644 index 000000000..5bda088dc --- /dev/null +++ b/variables/Time.html @@ -0,0 +1 @@ +Time | nodejs-polars

Variable Time

Time: DataType
\ No newline at end of file diff --git a/variables/UInt16.html b/variables/UInt16.html new file mode 100644 index 000000000..f90236c68 --- /dev/null +++ b/variables/UInt16.html @@ -0,0 +1 @@ +UInt16 | nodejs-polars

Variable UInt16

UInt16: DataType
\ No newline at end of file diff --git a/variables/UInt32.html b/variables/UInt32.html new file mode 100644 index 000000000..a91ddcaed --- /dev/null +++ b/variables/UInt32.html @@ -0,0 +1 @@ +UInt32 | nodejs-polars

Variable UInt32

UInt32: DataType
\ No newline at end of file diff --git a/variables/UInt64.html b/variables/UInt64.html new file mode 100644 index 000000000..f80fdb33e --- /dev/null +++ b/variables/UInt64.html @@ -0,0 +1 @@ +UInt64 | nodejs-polars

Variable UInt64

UInt64: DataType
\ No newline at end of file diff --git a/variables/UInt8.html b/variables/UInt8.html new file mode 100644 index 000000000..495a27d1b --- /dev/null +++ b/variables/UInt8.html @@ -0,0 +1 @@ +UInt8 | nodejs-polars

Variable UInt8

UInt8: DataType
\ No newline at end of file diff --git a/variables/Utf8.html b/variables/Utf8.html new file mode 100644 index 000000000..15d7c7c21 --- /dev/null +++ b/variables/Utf8.html @@ -0,0 +1 @@ +Utf8 | nodejs-polars

Variable Utf8

Utf8: DataType
\ No newline at end of file diff --git a/variables/pl.Bool.html b/variables/pl.Bool.html new file mode 100644 index 000000000..e165b51c7 --- /dev/null +++ b/variables/pl.Bool.html @@ -0,0 +1 @@ +Bool | nodejs-polars

Variable Bool

Bool: DataType
\ No newline at end of file diff --git a/variables/pl.Categorical.html b/variables/pl.Categorical.html new file mode 100644 index 000000000..98ff1055c --- /dev/null +++ b/variables/pl.Categorical.html @@ -0,0 +1 @@ +Categorical | nodejs-polars

Variable Categorical

Categorical: DataType
\ No newline at end of file diff --git a/variables/pl.Date.html b/variables/pl.Date.html new file mode 100644 index 000000000..34eb38f69 --- /dev/null +++ b/variables/pl.Date.html @@ -0,0 +1 @@ +Date | nodejs-polars

Variable Date

Date: DataType
\ No newline at end of file diff --git a/variables/pl.Expr.html b/variables/pl.Expr.html new file mode 100644 index 000000000..afcda6a88 --- /dev/null +++ b/variables/pl.Expr.html @@ -0,0 +1 @@ +Expr | nodejs-polars
\ No newline at end of file diff --git a/variables/pl.Float32.html b/variables/pl.Float32.html new file mode 100644 index 000000000..a4fb1c9ef --- /dev/null +++ b/variables/pl.Float32.html @@ -0,0 +1 @@ +Float32 | nodejs-polars

Variable Float32

Float32: DataType
\ No newline at end of file diff --git a/variables/pl.Float64.html b/variables/pl.Float64.html new file mode 100644 index 000000000..94e500241 --- /dev/null +++ b/variables/pl.Float64.html @@ -0,0 +1 @@ +Float64 | nodejs-polars

Variable Float64

Float64: DataType
\ No newline at end of file diff --git a/variables/pl.Int16.html b/variables/pl.Int16.html new file mode 100644 index 000000000..1c8ae9b31 --- /dev/null +++ b/variables/pl.Int16.html @@ -0,0 +1 @@ +Int16 | nodejs-polars

Variable Int16

Int16: DataType
\ No newline at end of file diff --git a/variables/pl.Int32.html b/variables/pl.Int32.html new file mode 100644 index 000000000..2179d8a12 --- /dev/null +++ b/variables/pl.Int32.html @@ -0,0 +1 @@ +Int32 | nodejs-polars

Variable Int32

Int32: DataType
\ No newline at end of file diff --git a/variables/pl.Int64.html b/variables/pl.Int64.html new file mode 100644 index 000000000..d741c2427 --- /dev/null +++ b/variables/pl.Int64.html @@ -0,0 +1 @@ +Int64 | nodejs-polars

Variable Int64

Int64: DataType
\ No newline at end of file diff --git a/variables/pl.Int8.html b/variables/pl.Int8.html new file mode 100644 index 000000000..c251bcc93 --- /dev/null +++ b/variables/pl.Int8.html @@ -0,0 +1 @@ +Int8 | nodejs-polars

Variable Int8

Int8: DataType
\ No newline at end of file diff --git a/variables/pl.Null.html b/variables/pl.Null.html new file mode 100644 index 000000000..a74cc8dec --- /dev/null +++ b/variables/pl.Null.html @@ -0,0 +1 @@ +Null | nodejs-polars

Variable Null

Null: DataType
\ No newline at end of file diff --git a/variables/pl.Object.html b/variables/pl.Object.html new file mode 100644 index 000000000..93798d788 --- /dev/null +++ b/variables/pl.Object.html @@ -0,0 +1 @@ +Object | nodejs-polars

Variable Object

Object: DataType
\ No newline at end of file diff --git a/variables/pl.String.html b/variables/pl.String.html new file mode 100644 index 000000000..5e3506865 --- /dev/null +++ b/variables/pl.String.html @@ -0,0 +1 @@ +String | nodejs-polars

Variable String

String: DataType
\ No newline at end of file diff --git a/variables/pl.Time.html b/variables/pl.Time.html new file mode 100644 index 000000000..4fba7336f --- /dev/null +++ b/variables/pl.Time.html @@ -0,0 +1 @@ +Time | nodejs-polars

Variable Time

Time: DataType
\ No newline at end of file diff --git a/variables/pl.UInt16.html b/variables/pl.UInt16.html new file mode 100644 index 000000000..fec6a88d8 --- /dev/null +++ b/variables/pl.UInt16.html @@ -0,0 +1 @@ +UInt16 | nodejs-polars

Variable UInt16

UInt16: DataType
\ No newline at end of file diff --git a/variables/pl.UInt32.html b/variables/pl.UInt32.html new file mode 100644 index 000000000..295cdb97d --- /dev/null +++ b/variables/pl.UInt32.html @@ -0,0 +1 @@ +UInt32 | nodejs-polars

Variable UInt32

UInt32: DataType
\ No newline at end of file diff --git a/variables/pl.UInt64.html b/variables/pl.UInt64.html new file mode 100644 index 000000000..8e316d444 --- /dev/null +++ b/variables/pl.UInt64.html @@ -0,0 +1 @@ +UInt64 | nodejs-polars

Variable UInt64

UInt64: DataType
\ No newline at end of file diff --git a/variables/pl.UInt8.html b/variables/pl.UInt8.html new file mode 100644 index 000000000..5da5cb46f --- /dev/null +++ b/variables/pl.UInt8.html @@ -0,0 +1 @@ +UInt8 | nodejs-polars

Variable UInt8

UInt8: DataType
\ No newline at end of file diff --git a/variables/pl.Utf8.html b/variables/pl.Utf8.html new file mode 100644 index 000000000..2922fd1dc --- /dev/null +++ b/variables/pl.Utf8.html @@ -0,0 +1 @@ +Utf8 | nodejs-polars

Variable Utf8

Utf8: DataType
\ No newline at end of file diff --git a/variables/pl.version.html b/variables/pl.version.html new file mode 100644 index 000000000..0bb089e92 --- /dev/null +++ b/variables/pl.version.html @@ -0,0 +1 @@ +version | nodejs-polars

Variable versionConst

version: any = ...
\ No newline at end of file diff --git a/variables/version.html b/variables/version.html new file mode 100644 index 000000000..96d3651c0 --- /dev/null +++ b/variables/version.html @@ -0,0 +1 @@ +version | nodejs-polars

Variable versionConst

version: any = ...
\ No newline at end of file