-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
After joining two dataframes, some columns can be a Maybe or not depending on luck (different subsets of the same set might join better than others).
One solution to deal with the Maybe is to set a default value with impute.
This work well if the colum is a Maybe but raises an error if there is no need to.
Raising an error is not great initially (the general consensus is that partial functions should be avoided (pretty much at all cost) and at least documented), is even unnecessary and in that case probably a mistake.
At the moment it means I have to check somehow if the column is optional or not before applying impute or not.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels