Skip to content

ds.mean(), ds.var() fail on nfilter for a variable that is NA #387

Description

@tombisho

If a variable is completely NA then ds.mean() and ds.var() return the error:

Nvalid less than nfilter.tab

and the call fails. I am not sure that is the right behaviour because that is confusing for the analyst, perhaps they should return NA and not fail?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions