Skip to content

Commit 2a0c1fa

Browse files
Removing duplication in _obj_name definition
1 parent b2f8e64 commit 2a0c1fa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pins/_adaptors.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,8 @@ def data_preview(self) -> str:
116116

117117
@property
118118
def _obj_name(self) -> str:
119-
return f"{type(self._d).__qualname__} object"
120-
121-
def default_title(self, name: str) -> str:
122119
row, col = self.shape
123-
return f"{name}: a pinned {row} x {col} {self.df_type}"
120+
return f"{row} x {col} {self.df_type}"
124121

125122

126123
class _PandasAdaptor(_DFAdaptor):

0 commit comments

Comments
 (0)