Skip to content

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

@tombisho

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?

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