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 8871b1c commit baf98b8Copy full SHA for baf98b8
pandas/core/base.py
@@ -8,6 +8,7 @@
8
from typing import (
9
TYPE_CHECKING,
10
Any,
11
+ Callable,
12
Generic,
13
Literal,
14
cast,
@@ -104,7 +105,7 @@ class PandasObject(DirNamesMixin):
104
105
_cache: dict[str, Any]
106
107
@property
- def _constructor(self):
108
+ def _constructor(self) -> Callable[..., Self]:
109
"""
110
Class constructor (for this class it's just `__class__`).
111
@@ -800,7 +801,7 @@ def argmin(
800
801
# "int")
802
return result # type: ignore[return-value]
803
- def tolist(self):
804
+ def tolist(self) -> list:
805
806
Return a list of the values.
807
0 commit comments