na_quantors
Project description
Overview
The na_quantors project is a small collection of functions that check arguments for being na-values.
Installation
To install na_quantors, you can use pip. Open your terminal and run:
pip install na_quantors
Implementation
import pandas as _pd
def isna(*values):
ans = {(_pd.isna(x) is True) for x in values}
(ans,) = ans
return ans
def notna(*values):
return not isna(*values)
def allisna(*values):
return all(isna(x) for x in values)
def allnotna(*values):
return all(notna(x) for x in values)
def anyisna(*values):
return any(isna(x) for x in values)
def anynotna(*values):
return any(notna(x) for x in values)
License
This project is licensed under the MIT License.
Links
Credits
Author: Johannes
Thank you for using na_quantors!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
na_quantors-1.0.4.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for na_quantors-1.0.4-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | db8338bbf702e515006bca7773e7fa53a83d518b634d070677e5c229ccccfc3e |
|
| MD5 | 7acd7b56ecb7cdc961fa7310f6b45e54 |
|
| BLAKE2b-256 | 8823de7b6bd20b92ea8a09089382ee7c40976b26ff7a19537b5da8ca3de32113 |