From 7ad0ee3d59f79a054853189b4361c850a33230a8 Mon Sep 17 00:00:00 2001 From: cameronmartino Date: Mon, 8 Jan 2024 10:34:06 -0800 Subject: [PATCH] fix permanova in tutorial --- ipynb/tutorials/Joint-RPCA-CLI-API.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipynb/tutorials/Joint-RPCA-CLI-API.ipynb b/ipynb/tutorials/Joint-RPCA-CLI-API.ipynb index 8aebb88..a65d4d2 100644 --- a/ipynb/tutorials/Joint-RPCA-CLI-API.ipynb +++ b/ipynb/tutorials/Joint-RPCA-CLI-API.ipynb @@ -473,7 +473,7 @@ } ], "source": [ - "permanova(distances, metadata.loc[distances.ids, 'village'])" + "permanova(distances, metadata.loc(axis=0)[distances.ids]['village'])" ] }, { @@ -696,7 +696,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.10" + "version": "3.6.7" } }, "nbformat": 4,