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):