na_quantors
Introduction

This project is a small collection of functions that check arguments for being na-values.

Installation
Features

All of the functions work by using pandas.isna.

na_quantors.allisna(*values: Any) -> bool

This function determines if all of the values passed to it are NaN.

na_quantors.allnotna(*values: Any) -> bool

This function determines if all of the values passed to it are not NaN.

na_quantors.anyisna(*values: Any) -> bool

This function determines if any of the values passed to it are NaN.

na_quantors.anynotna(*values: Any) -> bool

This function determines if any of the values passed to it are not NaN.

na_quantors.isna(*values: Any) -> bool

This function determines if the values passed to it are NaN. If some are and some are not then a ValueError is raised.

na_quantors.notna(*values: Any) -> bool

This function determines if the values passed to it are not NaN. If some are and some are not then a ValueError is raised.

Testing
License
Impressum