diff --git a/pandas/_libs/properties.pyi b/pandas/_libs/properties.pyi new file mode 100644 index 0000000000000..6f2b5fd0be620 --- /dev/null +++ b/pandas/_libs/properties.pyi @@ -0,0 +1,12 @@ +from typing import ( + Any, + Type, +) + +CachedProperty: Type[property] +cache_readonly = CachedProperty + +class AxisProperty: + def __init__(self, axis: int = ..., doc: str = ...) -> None: ... + def __get__(self, obj: Any, typ: Type) -> Any: ... + def __set__(self, obj: Any, value: Any) -> None: ...