Skip to content

Commit

Permalink
Revert "Use df._data.columns."
Browse files Browse the repository at this point in the history
This reverts commit cd641e3.
  • Loading branch information
bdice committed Apr 29, 2022
1 parent cd641e3 commit 9b0fd6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/cudf/cudf/_fuzz_testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,9 @@ def sanitize(value, struct_type):
return tuple(values_list)

has_nulls_or_nullable_dtype = any(
col.dtype in pandas_dtypes_to_np_dtypes or col.isnull().any()
for col in df._data.columns
(col := df[colname]).dtype in pandas_dtypes_to_np_dtypes
or col.isnull().any()
for colname in df.columns
)
pdf = df.copy(deep=True)
for field in arrow_table_schema:
Expand Down

0 comments on commit 9b0fd6b

Please sign in to comment.