From 665c9e4a91e7e8164ff8a757ce6ad17174119437 Mon Sep 17 00:00:00 2001 From: xPAGCOE <113696274+xPAGCOE@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:32:21 +0100 Subject: [PATCH] Add files via upload --- SAC DataFrame/sacdataframe.js | 4 ++-- SAC DataFrame/sacdataframe.json | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/SAC DataFrame/sacdataframe.js b/SAC DataFrame/sacdataframe.js index 73f5a67..c40f28b 100644 --- a/SAC DataFrame/sacdataframe.js +++ b/SAC DataFrame/sacdataframe.js @@ -269,9 +269,9 @@ var getScriptPromisify = (src) => { return this.add(dataframe, other, option); } - addValue(dataframe, value, option) { + addValue(dataframe, value) { - return this.add(dataframe, value, option); + return this.add(dataframe, value); } addValues(dataframe, values, option) { diff --git a/SAC DataFrame/sacdataframe.json b/SAC DataFrame/sacdataframe.json index d330f72..0ccc684 100644 --- a/SAC DataFrame/sacdataframe.json +++ b/SAC DataFrame/sacdataframe.json @@ -99,14 +99,13 @@ "returnType": "Selection", "description": "Get Addition of scalar value element-wise (binary operator add)", "parameters": [ {"name": "dataframe", "type": "Selection", "description": "Input DafaFrame"}, - {"name": "other", "type": "number", "description": "Value to add with"}, - {"name": "option", "type": "Selection", "description": "{axis: 0 for row, 1 for column, inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false}"} ] + {"name": "value", "type": "number", "description": "Value to add with"} ] }, "addValues": { "returnType": "Selection", "description": "Get Addition of array values element-wise (binary operator add)", "parameters": [ {"name": "dataframe", "type": "Selection", "description": "Input DafaFrame"}, - {"name": "other", "type": "number[]", "description": "Values to add with"}, + {"name": "values", "type": "number[]", "description": "Values to add with"}, {"name": "option", "type": "Selection", "description": "{axis: 0 for row, 1 for column, inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false}"} ] }, "appendRow": {