Files
anders 16c54c6653 Tilføjet venv med docling og afhængigheder
Testfiler opdelt i PNG og previews
2026-10-27 12:20:23 +01:00

29 lines
769 B
Python

from collections.abc import Sequence
from typing import (
Any,
overload,
)
from pandas._typing import (
AnyArrayLike,
DataFrame,
Index,
Series,
)
# note: this is a lie to make type checkers happy (they special
# case property). cache_readonly uses attribute names similar to
# property (fget) but it does not provide fset and fdel.
cache_readonly = property
class AxisProperty:
axis: int
def __init__(self, axis: int = ..., doc: str = ...) -> None: ...
@overload
def __get__(self, obj: DataFrame | Series, type: type) -> Index: ...
@overload
def __get__(self, obj: None, type: type) -> AxisProperty: ...
def __set__(
self, obj: DataFrame | Series, value: AnyArrayLike | Sequence[Any], /
) -> None: ...