Skip to content

Commit

Permalink
add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt711 committed Oct 24, 2024
1 parent bfd261a commit 099f218
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/cudf/cudf_pandas_tests/test_cudf_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,14 @@ def test_itertuples():
assert result._fields == expected._fields


def test_iteration_over_dataframe_dtypes_produces_proxy_objects(dataframe):
_, xdf = dataframe
xdf["b"] = xpd.IntervalIndex.from_arrays(xdf["a"], xdf["b"])
xdf["a"] = xdf["a"].astype("category")
for x in xdf.dtypes:
assert is_proxy_object(x)


def test_namedagg_namedtuple():
df = xpd.DataFrame(
{
Expand Down

0 comments on commit 099f218

Please sign in to comment.