Skip to content

Issue with impute and 'join` #157

@maxigit

Description

@maxigit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions