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 26426f6 commit b1b2efa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SAC DataFrame/sacdataframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ var getScriptPromisify = (src) => {

if(this.dfd != null) {

if(!options.is_series) {
df = new this.dfd.DataFrame(data, options);
}
else {
if(Boolean(options.is_series)) {
var data_arr = new Array();
data_arr[0] = data;
df = new this.dfd.DataFrame(data_arr, options);
}
else {
df = new this.dfd.DataFrame(data, options);
}
}

return df;
Expand Down

0 comments on commit b1b2efa

Please sign in to comment.