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.
**Describe the bug** filter_from = "Business Unit" filter_value = "Engineering (Code 1234)" let df_subset = df_basedata.query({ column: filter_from, is: "==", to: filter_value }) df_subset has column headers as numbers rather...
https://github.com/javascriptdata/danfojs/blob/a8d14d45bca2a50836a6e2d6ec1a77582c42993a/src/danfojs-base/shared/types.ts#L409 https://danfo.jsdata.org/api-reference/dataframe/dataframe.to_excel#convert-dataframe-to-excel-and-download-the-file-in-a-browser ```ts let data = { Abs: [20.2, 30, 47.3], Count: [34, 4, 5], "country code": ["NG", "FR", "GH"], }; let df = new dfd.DataFrame(data); df.toExcel({ fileName: "testOut.xlsx", download:...
**Is your feature request related to a problem? Please describe.** Sklearn provides support for getting the parameters and setting the parameters. This is necessary for situations where the prediction method...
**Describe the bug** When calling readCSV() with special options passed to CsvInputOptionsBrowser, TypeScript can't find the types because @types/papaparse is part of the devDependencies and not of the dependencies, resulting...
I have used examples in the site const dfd = require("danfojs-node") let data = [['K0', 'k0', 'A0', 'B0'], ['k0', 'K1', 'A1', 'B1'], ['K1', 'K0', 'A2', 'B2'], ['K2', 'K2', 'A3', 'B3']]...
Missing column with excel reader in nodejs. The column has a header name and many but not all blanks in the rows. I think this is because the xlsx package...
fixes #594 (and maybe also #545 and #527) For a new vite app, a new CRA app and a new Vuew app, I've linked the package locally with `npm link...
The Plotly import runs regardless of the usage of plots. This breaks React Native because Ploty references `document`
i see querying by logical operators has been deprecated: https://danfo.jsdata.org/api-reference/dataframe/danfo.dataframe.query#query-a-dataframe-using-logical-operators is there a reason it was deprecated? i need to filter my DF to remove certain values like so: ```...
movies['genres'] = movies['genres'].apply(getGenres, axis=1) movies['keywords'] = movies['keywords'].apply(getGenres, axis=1) movies['cast'] = movies['cast'].apply(getCast, axis=1) movies['crew'] = movies['crew'].apply(getCrew, axis=1) movies['overview'] = movies['overview'].apply(getOverview, axis=1) after doing this when I am trying to movies['tags'] =...