Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ easy and intuitive. It is heavily inspired by [Pandas](https://pandas.pydata.org
To use Danfo.js via script tags, copy and paste the CDN below to your HTML file

```html
<script src="https://cdn.jsdelivr.net/gh/opensource9ja/danfojs@0.2.1/lib/bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/opensource9ja/danfojs@latest/lib/bundle.js"></script>
```

### Example Usage in the Browser
Expand All @@ -64,7 +64,7 @@ To use Danfo.js via script tags, copy and paste the CDN below to your HTML file
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.jsdelivr.net/gh/opensource9ja/danfojs@0.2.1/lib/bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/opensource9ja/danfojs@latest/lib/bundle.js"></script>
<title>Document</title>
</head>

Expand Down
9 changes: 0 additions & 9 deletions danfojs/src/core/generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { Configs } from "../config/config";

const utils = new Utils();
const config = new Configs(); //package wide configuration object
const _VERSION = "0.1.5";
export default class NDframe {
/**
* N-Dimensiona data structure. Stores multi-dimensional
Expand Down Expand Up @@ -264,14 +263,6 @@ export default class NDframe {
return this.index_arr;
}

/**
* Returns current version
* @return {String} version of danfojs
*/
get __version() {
return _VERSION;
}

/**
* Sets index of the NDFrame
*/
Expand Down
2 changes: 2 additions & 0 deletions danfojs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ export { Configs } from "./config/config";
export { NDframe };
export { Str } from "./core/strings";
export { Utils } from "./core/utils";

export const _version = "0.2.1";
4 changes: 2 additions & 2 deletions lib/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"xlsx": "^0.16.7"
},
"scripts": {
"test": "karma start --single-run --browsers ChromeHeadless karma.conf.js",
"test": "yarn run bundle && karma start --single-run --browsers ChromeHeadless karma.conf.js",
"build": "babel ./danfojs/src -d ./dist --no-comments",
"lint": "eslint ./danfojs/src",
"bundle": "yarn run build && webpack --mode production",
Expand Down