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 exact type of the DataFrame returned by readCSV (and probably any other base function that returns a base DataFrame) is not compatible with the one exported by the main...
**Describe the bug** When creating a dataframe from an object array, if the keys of different objects are not in the same order, the values will be mapped to an...
I am converting some code in Python to Typescript, and that uses panda's `read_html` which is not available on danfo. **Describe the solution you'd like** [Her is the documentation for...
**Describe the bug** seems like 2 issues: 1. sample should return changing sets if no seed provided 2. sample should return sets encompassing the entire set of rows, unrelated to...
I'm using [email protected] in the browser, loaded from the official CDN link taken from the documentation. Tested in Chrome and Firefox df = new dfd.DataFrame([ { "A" : "10"}, {...
[file.csv](https://github.com/javascriptdata/danfojs/files/10344946/file.csv) ```typescript import { readCSV } from 'danfojs-node'; const ndf = await readCSV('/Users/ellison/Desktop/file.csv'); ndf.print(); ndf.loc({ rows: [1], columns: ['Variable 1'] }).print(); // error ``` 
Hi! I have a JSON file, and I want to get the counts of a column. The JSON file has this columns: { "started_at": "2022-05-01 00:55:46.521000+00:00", string "ended_at": "2022-05-01 01:02:05.964000+00:00",...
**Is your feature request related to a problem? Please describe.** Often in time-series analysis, we would compute moving average (i.e. rolling mean) **Describe the solution you'd like** It would be...
PNPM 7.17.1 NODE 16.18.0 I'm seeing a disparity between the install instructions in the README, vs reality. (Note: The install instructions mention "you can install the [danfojs-node](https://github.com/javascriptdata/danfojs/blob/dev) version via package"...
**Is your feature request related to a problem? Please describe.** Having toJSON throw an error breaks serialization to local storage and Im guessing other serialization **Describe the solution you'd like**...