danfojs
danfojs copied to clipboard
Danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
I am writing to bring to your attention an issue regarding the size of the JavaScript library. Currently, the library's file size exceeds 6MB via the official CDN.
``` let data = { "Name": ["Apples", "Mango", "Banana", "Pear"], "Count": [21, 5, 30, 10], "Price": [200, 300, 40, 250] } let df = new dfd.DataFrame(data, {index: ["a", "b", "c",...
…d danfojs-node DataFrame types match
**Describe the bug** When sorting a column of strings, ascending and descending behaviors are reversed. **To Reproduce** ```javascript >> s = new dfd.Series(["2015-01-01", "2023-01-01", "2017-01-01", "2010-01-01"]) // 1. Sort values...
According to this page https://danfo.jsdata.org/api-reference/configuration-options, there is a way to set number of rows to show when calling `.print()` by setting `tableMaxRow` Is there a way to set this setting...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
## Overview Fix for Issue #559 . - `Series.replace()` accepts 0 and '' for both `oldValue` and `newValue`. - `Series.replace()` accepts NaN for `newValue`. - `Series.replace(`) throws if `oldValue` is...
### Problem description `isEmpty()` throws a `Cannot convert a BigInt value to a number`. ### Related code https://github.com/javascriptdata/danfojs/blob/f272a7eac7fb0a13be313f15e72d3506136093b6/src/danfojs-base/shared/utils.ts#L93-L95 ### Solution Using `isNaN(Number(value))` fixes the issue. ### Discussion Looking at the...