Skip to content

Commit

Permalink
Don't validate when copying type metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
shwina committed Mar 22, 2021
1 parent 7f8e1cd commit f2e4609
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/cudf/cudf/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2408,7 +2408,9 @@ def _copy_type_metadata(
for name, col, other_col in zip(
self._data.keys(), self._data.values(), other._data.values()
):
self._data[name] = other_col._copy_type_metadata(col)
self._data.set_by_label(
name, other_col._copy_type_metadata(col), validate=False
)

if include_index:
if self._index is not None and other._index is not None:
Expand Down

0 comments on commit f2e4609

Please sign in to comment.