You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
) and it removes all values if they are not string or number. In my case I have JS objects which internally have data.
The text was updated successfully, but these errors were encountered:
applegrew
changed the title
DataFrame.apply passes empty row to callback even when the cell has valuesDataFrame.apply passes empty row to callback when the cell has objects as values
Jul 6, 2022
Describe the bug
DataFrame.apply
removes all values of type object. It seems to accept only string or numbers.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The callback should be called with non-zero length array.
Danfojs version:
Additional context
This happens since
apply
internally removes all values which are "empty". However, the "empty" logic is weird (danfojs/src/danfojs-base/shared/utils.ts
Line 94 in bdf0a24
The text was updated successfully, but these errors were encountered: