Skip to content

Commit 26fb105

Browse files
committed
Seperate and setup danfojs node branch
1 parent 364c82a commit 26fb105

50 files changed

Lines changed: 7568 additions & 32152 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/node.js.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/test-and-release.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ coverage
55
danfojs/data
66
.DS_Store
77
.idea/
8-
9-
dist/

danfojs/src/core/frame.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
* limitations under the License.
1313
*/
1414

15-
import * as tf from "@tensorflow/tfjs";
15+
import * as tf from '@tensorflow/tfjs-node';
1616
import Ndframe from "./generic";
1717
import { Series } from "./series";
1818
import { Utils } from "./utils";
1919
import { GroupBy } from "./groupby";
20-
import { Plot } from "../plotting/plot";
2120
import { indexLoc } from "../core/indexing";
2221
import { concat } from "../core/concat.js";
2322

danfojs/src/core/generic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
*/
1515

16-
import * as tf from "@tensorflow/tfjs";
16+
import * as tf from '@tensorflow/tfjs-node';
1717
import { table } from "table";
1818
import { Utils } from "./utils";
1919
import { Configs } from "../config/config";

danfojs/src/core/series.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@
1414
*/
1515

1616

17-
import * as tf from "@tensorflow/tfjs";
17+
import * as tf from '@tensorflow/tfjs-node';
1818
import { variance, std } from 'mathjs';
1919
import { Utils } from "./utils";
2020
import { Str } from "./strings";
2121
import NDframe from "./generic";
2222
import { table } from 'table';
2323
import { Configs } from '../config/config';
2424
import { TimeSeries } from './timeseries';
25-
import { Plot } from '../plotting/plot';
2625
import { indexLoc } from '../core/indexing';
2726

2827

danfojs/src/core/utils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import * as tf from "@tensorflow/tfjs";
2-
import '@tensorflow/tfjs-backend-cpu';
1+
import * as tf from '@tensorflow/tfjs-node';
32
import { Configs } from "../config/config";
43

54
const config = new Configs();

danfojs/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export { NDframe };
1515
export { Str } from "./core/strings";
1616
export { Utils } from "./core/utils";
1717

18-
export const _version = "0.2.1";
18+
export const _version = "0.2.0";

danfojs/src/io/reader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as tf from "@tensorflow/tfjs";
1+
import * as tf from '@tensorflow/tfjs-node';
22
import fetch from "node-fetch";
33
import XLSX from "xlsx";
44
import { open, Dataset, isDataset } from "frictionless.js";
@@ -27,6 +27,7 @@ export const read_csv = async (source, chunk) => {
2727
)
2828
) {
2929
//probabily a relative path, append file:// to it
30+
// eslint-disable-next-line no-undef
3031
source = `file://${process.cwd()}/${source}`;
3132
}
3233

0 commit comments

Comments
 (0)