Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Dec 14, 2024
1 parent 632fc98 commit e1ae9fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/cudf/cudf/core/column_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,12 @@ def _clear_cache(self, old_ncols: int, new_ncols: int) -> None:
new_ncols: int
len(self) after self._data was modified
"""
cached_properties = ("columns", "names", "_grouped_data", "to_pandas_index")
cached_properties = (
"columns",
"names",
"_grouped_data",
"to_pandas_index",
)
for attr in cached_properties:
try:
self.__delattr__(attr)
Expand Down

0 comments on commit e1ae9fa

Please sign in to comment.