Skip to content

Commit

Permalink
Address TODO now that _dtypes does live on Frame
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Sep 1, 2023
1 parent 20c35e5 commit 15469cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/cudf/cudf/core/indexed_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,11 +822,7 @@ def replace(
) = _get_replacement_values_for_columns(
to_replace=to_replace,
value=value,
# TODO: This should be replaced with `DataFrame._dtypes` once
# that is moved up to `Frame`.
columns_dtype_map={
col: self._data[col].dtype for col in self._data
},
columns_dtype_map=self._dtypes,
)

for name, col in self._data.items():
Expand Down

0 comments on commit 15469cf

Please sign in to comment.