From d7f21bd8ea07789bf37ca0faa246202a4ed7034f Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 16 Sep 2021 17:18:43 +0200 Subject: [PATCH] Viewer: Fix future warning (df.var(level=1) > df.groupby(level=1).var()) --- kissim/viewer/kinase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kissim/viewer/kinase.py b/kissim/viewer/kinase.py index 9034c1ea..83e8b8c6 100644 --- a/kissim/viewer/kinase.py +++ b/kissim/viewer/kinase.py @@ -76,7 +76,7 @@ def from_kinase_klifs_id( @property def _std(self): - return self._fingerprints_features.std(level="residue_ix") + return self._fingerprints_features.groupby("residue_ix").std() def residue_to_color_mapping(self, feature_name, fingerprint, plot_cmap=False): """