Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/opensource9ja/panjs
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoni committed Aug 15, 2020
2 parents 6d21a47 + fb7c175 commit f3097c9
Show file tree
Hide file tree
Showing 10 changed files with 512 additions and 3,317 deletions.
4 changes: 2 additions & 2 deletions danfojs/src/core/frame.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Ndframe from "./generic"
import { Series } from "./series"
// import * as tf from '@tensorflow/tfjs-node'
import * as tf from '@tensorflow/tfjs'
import * as tf from '@tensorflow/tfjs-node'
// import * as tf from '@tensorflow/tfjs'
import { Utils } from "./utils"
import { GroupBy } from "./groupby"
import { Plot } from '../plotting/plot'
Expand Down
4 changes: 2 additions & 2 deletions danfojs/src/core/generic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import * as tf from '@tensorflow/tfjs-node'
import * as tf from '@tensorflow/tfjs'
import * as tf from '@tensorflow/tfjs-node'
// import * as tf from '@tensorflow/tfjs'
import { table } from 'table'
import { Utils } from './utils'
import { Configs } from '../config/config'
Expand Down
4 changes: 2 additions & 2 deletions danfojs/src/core/series.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// import * as tf from '@tensorflow/tfjs-node'
import * as tf from '@tensorflow/tfjs-node'
import { std, variance } from 'mathjs'
import * as tf from '@tensorflow/tfjs'
// import * as tf from '@tensorflow/tfjs'
import { Utils } from "./utils"
import { Str } from "./strings"
import NDframe from "./generic"
Expand Down
4 changes: 2 additions & 2 deletions danfojs/src/core/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import * as tf from '@tensorflow/tfjs-node'
import * as tf from '@tensorflow/tfjs'
import * as tf from '@tensorflow/tfjs-node'
// import * as tf from '@tensorflow/tfjs'
import { Configs } from '../config/config'


Expand Down
4 changes: 2 additions & 2 deletions danfojs/src/io/reader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DataFrame } from '../core/frame'
// import * as tf from '@tensorflow/tfjs-node'
import * as tf from '@tensorflow/tfjs'
import * as tf from '@tensorflow/tfjs-node'
// import * as tf from '@tensorflow/tfjs'



Expand Down
2 changes: 1 addition & 1 deletion danfojs/src/plotting/plot.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//perform plotting
import { newPlot } from 'plotly.js' //comment out when building for Node Version
// import { newPlot } from 'plotly.js' //comment out when building for Node Version
import { Utils } from "../core/utils"
import { Series } from "../core/series"

Expand Down
4 changes: 2 additions & 2 deletions danfojs/src/preprocessing/scalers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import * as tf from '@tensorflow/tfjs-node'
import * as tf from '@tensorflow/tfjs'
import * as tf from '@tensorflow/tfjs-node'
// import * as tf from '@tensorflow/tfjs'
import { Series } from "../core/series"
import { DataFrame } from "../core/frame"
import { Utils } from "../core/utils"
Expand Down
3 changes: 1 addition & 2 deletions package-config-web.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//package for browser verion
{
"name": "danfojs",
"version": "0.0.13",
"version": "0.1.0",
"description": "JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.",
"main": "dist/index.js",
"contributors": [
Expand Down Expand Up @@ -85,7 +85,6 @@




//package build for nodejs

{
Expand Down
Loading

0 comments on commit f3097c9

Please sign in to comment.