We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb1af61 commit 14872a5Copy full SHA for 14872a5
pandas/core/dtypes/base.py
@@ -206,15 +206,15 @@ def names(self) -> list[str] | None:
206
"""
207
return None
208
209
- def construct_array_type(self, cls) -> type_t[ExtensionArray]:
+ def construct_array_type(self) -> type_t[ExtensionArray]:
210
211
Return the array type associated with this dtype.
212
213
Returns
214
-------
215
type
216
217
- raise AbstractMethodError(cls)
+ raise AbstractMethodError(self)
218
219
def empty(self, shape: Shape) -> ExtensionArray:
220
0 commit comments