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.
added countDistinct aggregation type to count the total number of distinct values in the columns
the range check in utils.range fails when constructing a dataframe where the columns are of 0 length for the automatically calculated default index. Perfectly valid and otherwise working but requires...
**Is your feature request related to a problem? Please describe.** I am using danfojs in a react app. There is a common pattern to cancel operations / fetch requests when...
Fixes #611 This fixes wrong fillNa inplace behaviour by creating deepcopy if inplace is false. No regression.
Fixes #574 This PR added missing check instanceof Date in is1DArray. Now the method won't treat array of Date as 2D array anymore. No regression.
Fixes #597 The original implementation directly cast single rows of string to Number, which can result in NaN if rows is literal index. This fix finds indexOf the row without...
Fixes #616 In the original implementation, setter function $setColumnData wrongly assigns selected column to arr directly. If arr is a Series, this results in failure of type check which lead...
Fixes #621 The original implementation wrongly tests falsy on oldValue and newValue, which results in throwing when replacing with falsy values like 0 or empty string. This fix test for...
Fixes #639 by checking literal match first. When only one column passed as filter, this implementation checks if any exact match of columnNames before splitting and parsing as column range....