isinstance - more tolerant
Project description
isinstance - more tolerant
# Tested with:
# Python 3.9.13
# Windows 10
This function checks:
isinstance(__object, modul)
type(__object).__module__ == getattr(modul, "__name__")
str(type(__object)) == str(type(modul))
p = pd.NA
isinstance(p, pd.NA) # Exception
isinstance_tolerant(p, pd.NA) # no Exception
p = None
isinstance(p, None) # Exception
isinstance_tolerant(p, None) # no Exception
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tolerant_isinstance-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ff44b20b7bb92c0d935a3b3b6be168102d082ec1e87b893bf018159c504894 |
|
MD5 | a15dcc1e90d0adf62e1d81f13cd131b5 |
|
BLAKE2b-256 | 50a22004dc6d1908d98b8df53ede9ad13a80c49238ed112acdbd031e5a009ab1 |