Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodejs-polars

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-polars - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

4

bin/dataframe.d.ts

@@ -1117,3 +1117,3 @@ /// <reference types="node" />

*/
select(column: ExprOrString, ...columns: ExprOrString[]): DataFrame;
select(...columns: ExprOrString[]): DataFrame;
/**

@@ -1589,3 +1589,3 @@ * Shift the values by a given period and fill the parts that will be empty due to this operation

withColumn(column: Series | Expr): DataFrame;
withColumns(column: Series | Expr, ...columns: Expr[] | Series[]): DataFrame;
withColumns(...columns: (Expr | Series)[]): DataFrame;
/**

@@ -1592,0 +1592,0 @@ * Return a new DataFrame with the column renamed.

@@ -549,4 +549,3 @@ "use strict";

},
withColumns(column, ...columns) {
columns.unshift(column);
withColumns(...columns) {
if ((0, utils_1.isSeriesArray)(columns)) {

@@ -553,0 +552,0 @@ return columns.reduce((acc, curr) => acc.withColumn(curr), (0, exports._DataFrame)(_df));

@@ -92,4 +92,5 @@ import * as series from "./series";

export import list = lazy.list;
export import when = lazy.when;
const version: any;
}
export default pl;

@@ -129,2 +129,3 @@ "use strict";

pl.list = lazy.list;
pl.when = lazy.when;
pl.version = polars_internal_1.default.version();

@@ -131,0 +132,0 @@ })(pl = exports.pl || (exports.pl = {}));

@@ -21,3 +21,3 @@ /// <reference types="node" />

numThreads: number;
dtype: any;
dtypes: Record<string, DataType>;
lowMemory: boolean;

@@ -24,0 +24,0 @@ commentChar: string;

@@ -7,2 +7,3 @@ import { DataFrame } from "../dataframe";

import { LazyOptions, LazyJoinOptions } from "../types";
import { Series } from "@polars/series";
declare const inspect: unique symbol;

@@ -348,3 +349,3 @@ /**

select(columns: ExprOrString[]): LazyDataFrame;
select(column: ExprOrString, ...columns: ExprOrString[]): LazyDataFrame;
select(...columns: ExprOrString[]): LazyDataFrame;
/**

@@ -425,4 +426,4 @@ * @see {@link DataFrame.shift}

*/
withColumns(exprs: Expr[]): LazyDataFrame;
withColumns(expr: Expr, ...exprs: Expr[]): LazyDataFrame;
withColumns(exprs: (Expr | Series)[]): LazyDataFrame;
withColumns(...exprs: (Expr | Series)[]): LazyDataFrame;
withColumnRenamed(existing: string, replacement: string): LazyDataFrame;

@@ -429,0 +430,0 @@ /**

@@ -44,3 +44,3 @@ "use strict";

exports.isDataFrameArray = isDataFrameArray;
const isSeriesArray = (ty) => Array.isArray(ty) && series_1.Series.isSeries(ty[0]);
const isSeriesArray = (ty) => Array.isArray(ty) && ty.every(series_1.Series.isSeries);
exports.isSeriesArray = isSeriesArray;

@@ -47,0 +47,0 @@ const isExprArray = (ty) => Array.isArray(ty) && expr_1.Expr.isExpr(ty[0]);

{
"name": "nodejs-polars",
"version": "0.7.3",
"version": "0.7.4",
"repository": "https://github.com/pola-rs/nodejs-polars.git",

@@ -76,12 +76,12 @@ "license": "SEE LICENSE IN LICENSE",

"optionalDependencies": {
"nodejs-polars-win32-x64-msvc": "0.7.3",
"nodejs-polars-darwin-x64": "0.7.3",
"nodejs-polars-linux-x64-gnu": "0.7.3",
"nodejs-polars-darwin-arm64": "0.7.3",
"nodejs-polars-linux-arm64-gnu": "0.7.3",
"nodejs-polars-linux-arm64-musl": "0.7.3",
"nodejs-polars-android-arm64": "0.7.3",
"nodejs-polars-win32-ia32-msvc": "0.7.3",
"nodejs-polars-linux-x64-musl": "0.7.3"
"nodejs-polars-win32-x64-msvc": "0.7.4",
"nodejs-polars-darwin-x64": "0.7.4",
"nodejs-polars-linux-x64-gnu": "0.7.4",
"nodejs-polars-darwin-arm64": "0.7.4",
"nodejs-polars-linux-arm64-gnu": "0.7.4",
"nodejs-polars-linux-arm64-musl": "0.7.4",
"nodejs-polars-android-arm64": "0.7.4",
"nodejs-polars-win32-ia32-msvc": "0.7.4",
"nodejs-polars-linux-x64-musl": "0.7.4"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc