From 2dfecfd151892e16c02ff1e5e6d84f71c83476ce Mon Sep 17 00:00:00 2001 From: deeenes Date: Mon, 17 Jun 2024 17:49:04 +0200 Subject: [PATCH] removed use of `numpy.NAN`: it was a synonym of `numpy.nan` that has been removed recently --- omnipath/_misc/dtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnipath/_misc/dtypes.py b/omnipath/_misc/dtypes.py index 063bd38..95ffb15 100644 --- a/omnipath/_misc/dtypes.py +++ b/omnipath/_misc/dtypes.py @@ -8,7 +8,7 @@ TRUE = frozenset(("true", "t", "yes", "y")) FALSE = frozenset(("false", "f", "no", "n")) BOOL = frozenset().union(TRUE, FALSE) -NA = frozenset(("na", "NA", "NaN", "none", "None", None, pd.NA, pd.NaT, np.NAN, np.nan)) +NA = frozenset(("na", "NA", "NaN", "none", "None", None, pd.NA, pd.NaT, np.nan)) INT = frozenset( ("int64", "uint64", "int32", "uint32", "int16", "uint16", "int8", "uint8") )