diff --git a/pandas/core/interchange/column.py b/pandas/core/interchange/column.py index d28da1158134e..13154c0e55900 100644 --- a/pandas/core/interchange/column.py +++ b/pandas/core/interchange/column.py @@ -81,7 +81,8 @@ def __init__(self, column: pd.Series, allow_copy: bool = True) -> None: self._col = column self._allow_copy = allow_copy - def size(self) -> int: # type: ignore[override] + @property + def size(self) -> int: """ Size of the column, in elements. """