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
Which is surprising, since I can map this function over the objects just fine:
df.objects().map(d=>shiftDateFunc(d.date))// succeeds, returns an array of strings
Why can I map this function over the object arrays successfully, but it fails when I register it via addFunction? In my mental model the success of the former should imply that the latter will also work, but obviously I'm confused about something.
The text was updated successfully, but these errors were encountered:
FIrst off, thanks for building this - it's making my life a lot easier when I work with data in Observable 馃槃
I'm having some trouble working with dates. I build a data table via
I then add a custom function to shift the date forward 30 days, using
moment
:However, when I try to do
I get an error:
Which is surprising, since I can map this function over the objects just fine:
Why can I map this function over the object arrays successfully, but it fails when I register it via
addFunction
? In my mental model the success of the former should imply that the latter will also work, but obviously I'm confused about something.The text was updated successfully, but these errors were encountered: