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.
The documentations points to using get_groups() to return df of a particular group in group by. Documentation shows correct name of function is getGroup() https://github.com/javascriptdata/danfojs/blob/f272a7eac7fb0a13be313f15e72d3506136093b6/src/danfojs-base/aggregators/groupby.ts#L524-L528
**Describe the bug** I'm trying to transform a column of a DataFrame: ```javascript import dfd from "danfojs-node"; const df = new dfd.DataFrame({ a: [1, 2, 3], b: ["a", "b", "c"],...
**Is your feature request related to a problem? Please describe.** data.describe().to_dict("index")
**Is your feature request related to a problem? Please describe.** drop_duplicates and isin function are wanted. **Describe the solution you'd like** ```js df.dropDuplicates(subset=["con_code"], keep="last") df[df["ts_code"].isin(includes_list)] ```
**Describe the bug** Series.loc can accept a series of bools, but this is not reflected in the [type signature](https://github.com/javascriptdata/danfojs/blob/76386815061436f031fb778c9a1e4595077a3812/src/danfojs-base/core/series.ts#L143). This shows a type error in VSCode: ``` const dfd =...
Does df.fillNa() turn on { inplace: true } by default? [Getting Started - Danfo.js] section "Filling missing values in specific columns with specific values:" const dfd = require("danfojs-node") let data...
Hi all, Does Danfo.js has something similar to "sklearn.model_selection.train_test_split" in scikit-learn/Python? [https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html] What function most close to it in Danfo.js ? Example? Thank you
This is useful for time series data especially OHLC. Use case: You have 1 min stock prices, and you want it aggregated to hourly prices before performing additional analysis. See:...
`danfojs-node` has [`request`](https://www.npmjs.com/package/request) as a dependency. `request` is deprecated and no longer maintained. `request` carries some security issues such as having `tough-cookie` `~2.5.0` as a dependency: https://security.snyk.io/package/npm/tough-cookie Please consider replacing...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.12.12 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...