Skip to content

Commit b3d70de

Browse files
authored
Merge pull request #160 from opensource9ja/woosuk288-patch-2
Merge updates and build new version
2 parents 2fbd64f + dbab3b6 commit b3d70de

14 files changed

Lines changed: 107 additions & 90 deletions

File tree

danfojs-browser/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ easy and intuitive. It is heavily inspired by [Pandas](https://pandas.pydata.org
5151
To use Danfo.js via script tags, copy and paste the CDN below to the body of your HTML file
5252

5353
```html
54-
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.4/lib/bundle.min.js"></script>
54+
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.5/lib/bundle.min.js"></script>
5555
```
5656

5757
### Example Usage in the Browser
@@ -66,7 +66,7 @@ To use Danfo.js via script tags, copy and paste the CDN below to the body of you
6666
<meta charset="UTF-8">
6767
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6868
<script src="https://cdn.plot.ly/plotly-1.2.0.min.js"></script>
69-
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.4/lib/bundle.min.js"></script>
69+
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.5/lib/bundle.min.js"></script>
7070

7171
<title>Document</title>
7272
</head>

danfojs-browser/lib/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

danfojs-browser/lib/bundle.js.LICENSE.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,23 @@
146146
* =============================================================================
147147
*/
148148

149+
/**
150+
* @license
151+
* Copyright 2021 Google LLC. All Rights Reserved.
152+
* Licensed under the Apache License, Version 2.0 (the "License");
153+
* you may not use this file except in compliance with the License.
154+
* You may obtain a copy of the License at
155+
*
156+
* http://www.apache.org/licenses/LICENSE-2.0
157+
*
158+
* Unless required by applicable law or agreed to in writing, software
159+
* distributed under the License is distributed on an "AS IS" BASIS,
160+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161+
* See the License for the specific language governing permissions and
162+
* limitations under the License.
163+
* =============================================================================
164+
*/
165+
149166
/**
150167
* @license Complex.js v2.0.11 11/02/2016
151168
*

danfojs-browser/lib/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

danfojs-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "danfojs",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.",
55
"main": "lib/bundle.js",
66
"types": "types/index.d.ts",

danfojs-browser/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ export { Str } from "./core/strings";
1616
export { Utils } from "./core/utils";
1717
export * as tf from "@tensorflow/tfjs";
1818

19-
export const _version = "0.2.4";
19+
export const _version = "0.2.5";

danfojs-browser/yarn.lock

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -894,66 +894,66 @@
894894
readdirp "^2.2.1"
895895
upath "^1.1.1"
896896

897-
"@tensorflow/tfjs-backend-cpu@3.2.0":
898-
version "3.2.0"
899-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-3.2.0.tgz#847a50375586c7329c63208d8d9af791a4bd850d"
900-
integrity sha512-L3Pp7FHO92BaeG8Uuc/RJMJ/e61UrIbKgFHS3MKr0zcbmEsqGfos6/5yR1EHj7SoYG2nPlC5+6HxbYy0zp22IA==
897+
"@tensorflow/tfjs-backend-cpu@3.3.0":
898+
version "3.3.0"
899+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-3.3.0.tgz#aa0a3ed2c6237a6e0c169678c5bd4b5a88766b1c"
900+
integrity sha512-DLctv+PUZni26kQW1hq8jwQQ8u+GGc/p764WQIC4/IDagGtfGAUW1mHzWcTxtni2l4re1VrwE41ogWLhv4sGHg==
901901
dependencies:
902902
"@types/seedrandom" "2.4.27"
903903
seedrandom "2.4.3"
904904

905-
"@tensorflow/tfjs-backend-webgl@3.2.0":
906-
version "3.2.0"
907-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-3.2.0.tgz#e80f2c6cf47321fd89a6e83491cf37f8afb662ae"
908-
integrity sha512-WORXpDt5Ey5/+a4NioyrJkfbJUlleaSELpHnxeDsGt6BpRC2P/1pVJS1IjnBD/f4QlOm3mhouN2Oq28dRhRvqA==
905+
"@tensorflow/tfjs-backend-webgl@3.3.0":
906+
version "3.3.0"
907+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-3.3.0.tgz#29dd665f6a856c9defcb9108164f845e1fdcd02e"
908+
integrity sha512-GWCtXbrjPTyye3ooId9GlcNDwnIMskZarUpNIQ5g/zeISLfwEQoutA/UqJF+HzuEHgGMsWFkmaO3xKVT7UMpdg==
909909
dependencies:
910-
"@tensorflow/tfjs-backend-cpu" "3.2.0"
910+
"@tensorflow/tfjs-backend-cpu" "3.3.0"
911911
"@types/offscreencanvas" "~2019.3.0"
912912
"@types/seedrandom" "2.4.27"
913913
"@types/webgl-ext" "0.0.30"
914914
"@types/webgl2" "0.0.5"
915915
seedrandom "2.4.3"
916916

917-
"@tensorflow/tfjs-converter@3.2.0":
918-
version "3.2.0"
919-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-3.2.0.tgz#4e80ced274aad2a3581a66a158237eeda7370a64"
920-
integrity sha512-iE2Q0naHR8OVcMc9RluebMObsPysru7X1y+mWtkPNnYlNUJORxfkEitrMbVDAKw6lsivIfo4Ar5UcstiG8/ckQ==
917+
"@tensorflow/tfjs-converter@3.3.0":
918+
version "3.3.0"
919+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-3.3.0.tgz#d9f2ffd0fbdbb47c07d5fd7c3e5dc180cff317aa"
920+
integrity sha512-k57wN4yelePhmO9orcT/wzGMIuyedrMpVtg0FhxpV6BQu0+TZ/ti3W4Kb97GWJsoHKXMoing9SnioKfVnBW6hw==
921921

922-
"@tensorflow/tfjs-core@3.2.0":
923-
version "3.2.0"
924-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-3.2.0.tgz#cae4d3d2e58dacae7a260b8d960126e0efb09417"
925-
integrity sha512-MZnTk9wcJai5lTfkC8T1rr6/M9C4eO0DfojZghopZXDflCTndLPIKcudx6E8qfrmZOkRSqMIwB7A8UFs7f+3Kg==
922+
"@tensorflow/tfjs-core@3.3.0":
923+
version "3.3.0"
924+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-3.3.0.tgz#3d26bd03cb58e0ecf46c96d118c39c4a90b7f5ed"
925+
integrity sha512-6G+LcCiQBl4Kza5mDbWbf8QSWBTW3l7SDjGhQzMO1ITtQatHzxkuHGHcJ4CTUJvNA0JmKf4QJWOvlFqEmxwyLQ==
926926
dependencies:
927927
"@types/offscreencanvas" "~2019.3.0"
928928
"@types/seedrandom" "2.4.27"
929929
"@types/webgl-ext" "0.0.30"
930930
node-fetch "~2.6.1"
931931
seedrandom "2.4.3"
932932

933-
"@tensorflow/tfjs-data@3.2.0":
934-
version "3.2.0"
935-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-data/-/tfjs-data-3.2.0.tgz#886f22309e91e69d686f27fba1d339d693bc7f1a"
936-
integrity sha512-fG4rYJlxh/B9fzgc+/qdj5gPI485RsDUM99mErxovlh3UMIdRgMeHHdFse44VlyAShEAgsOehuWovhY5520kEw==
933+
"@tensorflow/tfjs-data@3.3.0":
934+
version "3.3.0"
935+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-data/-/tfjs-data-3.3.0.tgz#ba943bd6a486fa4cb3ca312c12646ea4dcf6cce4"
936+
integrity sha512-0x28tRe6RJu5GmYq3IYN2GNnOgXU0nY+o6zZrlijkK+W3vjSTJlZzaBSifoeD6J8gzVpjs8W8qd/JKHQ1MQp8w==
937937
dependencies:
938938
"@types/node-fetch" "^2.1.2"
939939
node-fetch "~2.6.1"
940940

941-
"@tensorflow/tfjs-layers@3.2.0":
942-
version "3.2.0"
943-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-layers/-/tfjs-layers-3.2.0.tgz#2f243c5044685ed22e288c1ceb063b817b29e569"
944-
integrity sha512-TgTpH6RI+NmL4s8pQ76wkq15p79SfSQLOfFL2rGmJgatQRuA/mxLlH5GLir5HwwER3a0Vj8lMbexxCAGTqr2Xg==
941+
"@tensorflow/tfjs-layers@3.3.0":
942+
version "3.3.0"
943+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-layers/-/tfjs-layers-3.3.0.tgz#d2097c5b22ec12e5fdbe470a88ca0a34a95ca11f"
944+
integrity sha512-qO+TL2I29vWUiuFcQJXNyayWFYagwR+SIfbex8p5jjYaCGHGwE5GQcrH+ngoCgKZxm5tdMvYJsJPnih2M3fYzQ==
945945

946-
"@tensorflow/tfjs@3.2.0":
947-
version "3.2.0"
948-
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs/-/tfjs-3.2.0.tgz#503e62a7996204cdd3103d488babdbf8bf622954"
949-
integrity sha512-rgcHHhzI+JVl206eMbYO8WzBW3DO9pinEbgtUWdxjfk+a4ojlqvJ34RPEISMSQZRR5KRCA7E/dHFv9+EULfqmw==
950-
dependencies:
951-
"@tensorflow/tfjs-backend-cpu" "3.2.0"
952-
"@tensorflow/tfjs-backend-webgl" "3.2.0"
953-
"@tensorflow/tfjs-converter" "3.2.0"
954-
"@tensorflow/tfjs-core" "3.2.0"
955-
"@tensorflow/tfjs-data" "3.2.0"
956-
"@tensorflow/tfjs-layers" "3.2.0"
946+
"@tensorflow/tfjs@3.3.0":
947+
version "3.3.0"
948+
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs/-/tfjs-3.3.0.tgz#db92099dd48c0eb1c1673f705125d2b57496a1a3"
949+
integrity sha512-xo22GCUCGcPtNGIdDpLPrp9ms3atXmzX8AF4y3aIBEwK5KlvGe+ZhcoQ2xEOCPQGBr7NB7AO6rwT8gRoziAHVg==
950+
dependencies:
951+
"@tensorflow/tfjs-backend-cpu" "3.3.0"
952+
"@tensorflow/tfjs-backend-webgl" "3.3.0"
953+
"@tensorflow/tfjs-converter" "3.3.0"
954+
"@tensorflow/tfjs-core" "3.3.0"
955+
"@tensorflow/tfjs-data" "3.3.0"
956+
"@tensorflow/tfjs-layers" "3.3.0"
957957
argparse "^1.0.10"
958958
chalk "^4.1.0"
959959
core-js "3"

danfojs-node/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ easy and intuitive. It is heavily inspired by [Pandas](https://pandas.pydata.org
5151
To use Danfo.js via script tags, copy and paste the CDN below to the body of your HTML file
5252

5353
```html
54-
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.4/lib/bundle.min.js"></script>
54+
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.5/lib/bundle.min.js"></script>
5555
```
5656

5757
### Example Usage in the Browser
@@ -66,7 +66,7 @@ To use Danfo.js via script tags, copy and paste the CDN below to the body of you
6666
<meta charset="UTF-8">
6767
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6868
<script src="https://cdn.plot.ly/plotly-1.2.0.min.js"></script>
69-
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.4/lib/bundle.min.js"></script>
69+
<script src="https://cdn.jsdelivr.net/npm/danfojs@0.2.5/lib/bundle.min.js"></script>
7070

7171
<title>Document</title>
7272
</head>

danfojs-node/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@ var _utils = require("./core/utils");
154154
var _tf = _interopRequireWildcard(require("@tensorflow/tfjs-node"));
155155

156156
exports.tf = _tf;
157-
const _version = "0.2.5";
157+
const _version = "0.2.6";
158158
exports._version = _version;

danfojs-node/dist/io/reader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const read_csv = async (source, configs = {}) => {
2626
} = configs;
2727

2828
if (!(source.startsWith("file://") || source.startsWith("http"))) {
29-
source = `file://${process.cwd()}/${source}`;
29+
source = source.startsWith("/") ? `file://${source}` : `file://${process.cwd()}/${source}`;
3030
}
3131

3232
let tfdata = [];

0 commit comments

Comments
 (0)