Skip to content

Commit

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

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

0 comments on commit cd641e3

Please sign in to comment.