8000 TYP: CallableDynamicDoc by twoertwein · Pull Request #46786 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TYP: CallableDynamicDoc #46786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 26, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dtype and clarification for _IndexingMixinT
  • Loading branch information
twoertwein committed May 8, 2022
commit 6e6a2292882b9bda6564c9f1a57f4dda7ff3e9f8
1 change: 1 addition & 0 deletions pandas/_libs/indexing.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ _IndexingMixinT = TypeVar("_IndexingMixinT", bound=IndexingMixin)

class NDFrameIndexerBase(Generic[_IndexingMixinT]):
name: str
# in practise obj is either a DataFrame or a Series
obj: _IndexingMixinT

def __init__(self, name: str, obj: _IndexingMixinT) -> None: ...
Expand Down
6 changes: 5 additions & 1 deletion pandas/_libs/reduction.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from typing import Any

def check_result_array(obj: object, dtype: object) -> None: ...
import numpy as np

from pandas._typing import ExtensionDtype

def check_result_array(obj: object, dtype: np.dtype | ExtensionDtype) -> None: ...
def extract_result(res: object) -> Any: ...
0