Skip to content

Commit f3097c9

Browse files
committed
2 parents 6d21a47 + fb7c175 commit f3097c9

File tree

10 files changed

+512
-3317
lines changed

10 files changed

+512
-3317
lines changed

danfojs/src/core/frame.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Ndframe from "./generic"
22
import { Series } from "./series"
3-
// import * as tf from '@tensorflow/tfjs-node'
4-
import * as tf from '@tensorflow/tfjs'
3+
import * as tf from '@tensorflow/tfjs-node'
4+
// import * as tf from '@tensorflow/tfjs'
55
import { Utils } from "./utils"
66
import { GroupBy } from "./groupby"
77
import { Plot } from '../plotting/plot'

danfojs/src/core/generic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// import * as tf from '@tensorflow/tfjs-node'
2-
import * as tf from '@tensorflow/tfjs'
1+
import * as tf from '@tensorflow/tfjs-node'
2+
// import * as tf from '@tensorflow/tfjs'
33
import { table } from 'table'
44
import { Utils } from './utils'
55
import { Configs } from '../config/config'

danfojs/src/core/series.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// import * as tf from '@tensorflow/tfjs-node'
1+
import * as tf from '@tensorflow/tfjs-node'
22
import { std, variance } from 'mathjs'
3-
import * as tf from '@tensorflow/tfjs'
3+
// import * as tf from '@tensorflow/tfjs'
44
import { Utils } from "./utils"
55
import { Str } from "./strings"
66
import NDframe from "./generic"

danfojs/src/core/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// import * as tf from '@tensorflow/tfjs-node'
2-
import * as tf from '@tensorflow/tfjs'
1+
import * as tf from '@tensorflow/tfjs-node'
2+
// import * as tf from '@tensorflow/tfjs'
33
import { Configs } from '../config/config'
44

55

danfojs/src/io/reader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DataFrame } from '../core/frame'
2-
// import * as tf from '@tensorflow/tfjs-node'
3-
import * as tf from '@tensorflow/tfjs'
2+
import * as tf from '@tensorflow/tfjs-node'
3+
// import * as tf from '@tensorflow/tfjs'
44

55

66

danfojs/src/plotting/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//perform plotting
2-
import { newPlot } from 'plotly.js' //comment out when building for Node Version
2+
// import { newPlot } from 'plotly.js' //comment out when building for Node Version
33
import { Utils } from "../core/utils"
44
import { Series } from "../core/series"
55

danfojs/src/preprocessing/scalers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// import * as tf from '@tensorflow/tfjs-node'
2-
import * as tf from '@tensorflow/tfjs'
1+
import * as tf from '@tensorflow/tfjs-node'
2+
// import * as tf from '@tensorflow/tfjs'
33
import { Series } from "../core/series"
44
import { DataFrame } from "../core/frame"
55
import { Utils } from "../core/utils"

package-config-web.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//package for browser verion
22
{
33
"name": "danfojs",
4-
"version": "0.0.13",
4+
"version": "0.1.0",
55
"description": "JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.",
66
"main": "dist/index.js",
77
"contributors": [
@@ -85,7 +85,6 @@
8585

8686

8787

88-
8988
//package build for nodejs
9089

9190
{

0 commit comments

Comments
 (0)