From 33479810c53d111f1658653f1fcb531d58b987de Mon Sep 17 00:00:00 2001 From: Oliver Holworthy Date: Mon, 5 Jun 2023 20:55:30 +0100 Subject: [PATCH] Pass keyword argument for axis in dataframe any method (#1833) --- nvtabular/ops/categorify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvtabular/ops/categorify.py b/nvtabular/ops/categorify.py index 2f4285738f..7fbfa1de77 100644 --- a/nvtabular/ops/categorify.py +++ b/nvtabular/ops/categorify.py @@ -1025,7 +1025,7 @@ def _top_level_groupby(df, options: FitOptions = None, spill=True): del df_gb # Extract null groups into gb_null - isnull = gb.isnull().any(1) + isnull = gb.isnull().any(axis=1) gb_null = gb[~isnull] gb = gb[isnull] if not len(gb_null):