Steve Canny cbe1b35621
rfctr(chunk): prep for adding TableSplitter (#3510)
**Summary**
Mechanical refactoring in preparation for adding (pre-chunk)
`TableSplitter` in a PR stacked on this one.
2024-08-12 18:04:49 +00:00

30 lines
827 B
Python

# pyright: reportPrivateUsage=false
from __future__ import annotations
from typing import Any, Hashable, Iterable
from pandas.core.indexing import _iLocIndexer
from pandas.core.series import Series
class DataFrame:
def __getitem__(self, key: Iterable[Hashable] | slice) -> DataFrame: ...
def __len__(self) -> int: ...
@property
def T(self) -> DataFrame: ...
@property
def iloc(self) -> _iLocIndexerFrame: ...
def isna(self) -> DataFrame: ...
def iterrows(self) -> Iterable[tuple[Hashable, Series[Any]]]: ...
@property
def shape(self) -> tuple[int, int]: ...
def to_html(
self,
index: bool = ...,
header: bool = ...,
na_rep: str = ...,
) -> str: ...
class _iLocIndexerFrame(_iLocIndexer):
def __getitem__(self, idx: Any) -> DataFrame: ...