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 details)
Built Distribution
File details
Details for the file na_quantors-1.0.4.tar.gz
.
File metadata
- Download URL: na_quantors-1.0.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58ea04970193ad1af3ad93e3805a1e0bf084c2debb6d2e19611e5705f3ea57e5 |
|
MD5 | 044e3e9732160a1b71bf445a8fcba93b |
|
BLAKE2b-256 | 3c38238f9eac390ef49681596d63c6cfd4da0838d8849dfb9d41db144adf765e |
File details
Details for the file na_quantors-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: na_quantors-1.0.4-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db8338bbf702e515006bca7773e7fa53a83d518b634d070677e5c229ccccfc3e |
|
MD5 | 7acd7b56ecb7cdc961fa7310f6b45e54 |
|
BLAKE2b-256 | 8823de7b6bd20b92ea8a09089382ee7c40976b26ff7a19537b5da8ca3de32113 |