From ae94c35a8b3c689e5da4c8336b9405cc367b7bd0 Mon Sep 17 00:00:00 2001 From: Alexandria Barghi Date: Fri, 22 Sep 2023 09:35:02 -0700 Subject: [PATCH] remove unused method --- python/cugraph/cugraph/gnn/data_loading/bulk_sampler_io.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/python/cugraph/cugraph/gnn/data_loading/bulk_sampler_io.py b/python/cugraph/cugraph/gnn/data_loading/bulk_sampler_io.py index 097915183be..3e8050c315f 100644 --- a/python/cugraph/cugraph/gnn/data_loading/bulk_sampler_io.py +++ b/python/cugraph/cugraph/gnn/data_loading/bulk_sampler_io.py @@ -22,13 +22,6 @@ from typing import Union, Optional, List -def _add_or_join_to_df(df: cudf.DataFrame, column: cudf.Series): - if len(column) > len(df): - df = df.join(column, how='outer').sort_index() - else: - df[column.name] = column - return df - def create_df_from_disjoint_series(series_list: List[cudf.Series]): series_list.sort(key=lambda s : len(s), reverse=True)