Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
xPAGCOE authored Feb 12, 2024
1 parent acd2936 commit 1542358
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions SAC DataFrame/sacdataframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,18 +731,18 @@ var getScriptPromisify = (src) => {

if(df != null) {

var df_cmp = new Array();
var mat_cmp = new Array();

for(var i=0; i<df.shape[0]; i++) {

df_cmp[i] = new Array();
mat_cmp[i] = new Array();

for(var j=0; j<df.shape[1]; j++) {
df_cmp[i][j] = Boolean(df.iat(i, j) != value);
mat_cmp[i][j] = Boolean(df.iat(i, j) != value);
}
}

df = this.newDataFrame(df_cmp, {columns: dataframe.$columns});
df = df.query(this.newDataFrame(mat_cmp, {columns: dataframe.$columns}));
}
}

Expand Down Expand Up @@ -802,18 +802,18 @@ var getScriptPromisify = (src) => {

if(df != null) {

var df_cmp = new Array();
var mat_cmp = new Array();

for(var i=0; i<df.shape[0]; i++) {

df_cmp[i] = new Array();
mat_cmp[i] = new Array();

for(var j=0; j<df.shape[1]; j++) {
df_cmp[i][j] = Boolean(df.iat(i, j) == value);
mat_cmp[i][j] = Boolean(df.iat(i, j) == value);
}
}

df = this.newDataFrame(df_cmp, {columns: dataframe.$columns});
df = df.query(this.newDataFrame(mat_cmp, {columns: dataframe.$columns}));
}
}

Expand Down

0 comments on commit 1542358

Please sign in to comment.