Skip to content

Commit

Permalink
refactor: remove unused column._copy method
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Nov 16, 2023
1 parent 8627e6d commit cb66d10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
17 changes: 0 additions & 17 deletions src/safeds/data/tabular/containers/_column.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import copy
import io
from collections.abc import Sequence
from numbers import Number
Expand Down Expand Up @@ -1034,19 +1033,3 @@ def _count_missing_values(self) -> int:
2
"""
return self._data.isna().sum()

# ------------------------------------------------------------------------------------------------------------------
# Helpers
# ------------------------------------------------------------------------------------------------------------------

def _copy(self) -> Column:
"""
Return a copy of this column.
Returns
-------
column : Column
The copy of this column.
"""
return copy.deepcopy(self)
13 changes: 0 additions & 13 deletions tests/safeds/data/tabular/containers/_column/test_copy.py

This file was deleted.

0 comments on commit cb66d10

Please sign in to comment.