-
-
Notifications
You must be signed in to change notification settings - Fork 146
Delete undocumented functions #1254
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
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
dcc26b1
delete undocumented functions
yangdanny97 0da7ad0
delete empty files, revert unchanged files
yangdanny97 557953c
format
yangdanny97 2278ebd
clean up tests for deleted functions
yangdanny97 76f5e95
precommit
yangdanny97 3ed7716
delete some more functions/files per commetns
yangdanny97 3db0138
restore scopes.pyi
yangdanny97 9cc0d35
add back arrow/dtype and expr
yangdanny97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
DISPATCHED_UFUNCS = ... | ||
REVERSED_NAMES = ... | ||
UFUNC_ALIASES = ... | ||
|
||
def maybe_dispatch_ufunc_to_dunder_op(*args, **kwargs): ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
from datetime import datetime | ||
|
||
def localize_pydatetime(dt: datetime, tz: object) -> datetime: ... | ||
|
||
class OutOfBoundsTimedelta(ValueError): ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
from typing import Any | ||
|
||
def parse_time_string(*args, **kwargs) -> Any: ... | ||
|
||
class DateParseError(ValueError): | ||
def __init__(self, *args, **kwargs) -> None: ... |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,4 @@ from typing import Literal | |
|
||
version_json: str = ... | ||
|
||
def get_versions(): ... | ||
|
||
_stub_version: Literal["2.2.3.250527"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import pyarrow as pa | ||
from pandas._libs.missing import NAType | ||
from pandas.core.dtypes.base import StorageExtensionDtype | ||
class ArrowDtype(StorageExtensionDtype): | ||
pyarrow_dtype: pa.DataType | ||
def __init__(self, pyarrow_dtype: pa.DataType) -> None: ... | ||
@property | ||
def na_value(self) -> NAType: ... | ||
import pyarrow as pa | ||
|
||
from pandas._libs.missing import NAType | ||
|
||
from pandas.core.dtypes.base import StorageExtensionDtype | ||
|
||
class ArrowDtype(StorageExtensionDtype): | ||
pyarrow_dtype: pa.DataType | ||
def __init__(self, pyarrow_dtype: pa.DataType) -> None: ... | ||
@property | ||
def na_value(self) -> NAType: ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,3 @@ | ||
from collections.abc import ( | ||
Collection, | ||
Iterable, | ||
) | ||
|
||
from pandas._typing import T | ||
|
||
def flatten(line) -> None: ... | ||
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
def consensus_name_attr(objs): ... | ||
def is_bool_indexer(key) -> bool: ... | ||
def cast_scalar_indexer(val): ... | ||
def not_none(*args): ... | ||
def any_none(*args): ... | ||
def all_none(*args): ... | ||
def any_not_none(*args): ... | ||
def all_not_none(*args): ... | ||
def count_not_none(*args): ... | ||
def asarray_tuplesafe(values, dtype=...): ... | ||
def index_labels_to_array(labels, dtype=...): ... | ||
def maybe_make_list(obj): ... | ||
def maybe_iterable_to_list(obj: Iterable[T] | T) -> Collection[T] | T: ... | ||
def is_null_slice(obj): ... | ||
def is_true_slices(line): ... | ||
def is_full_slice(obj, line): ... | ||
def get_callable_name(obj): ... | ||
def apply_if_callable(maybe_callable, obj, **kwargs): ... | ||
def standardize_mapping(into): ... | ||
def random_state(state=...): ... | ||
def pipe(obj, func, *args, **kwargs): ... | ||
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
def get_rename_function(mapper): ... |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
def set_use_numexpr(v: bool = ...) -> None: ... | ||
def set_numexpr_threads(n=...) -> None: ... | ||
def evaluate(op, a, b, use_numexpr: bool = ...): ... | ||
def where(cond, a, b, use_numexpr: bool = ...): ... | ||
def set_test_mode(v: bool = ...) -> None: ... | ||
def get_test_result(): ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1 @@ | ||
from collections.abc import Iterator | ||
import tokenize | ||
|
||
BACKTICK_QUOTED_STRING: int | ||
|
||
def create_valid_python_identifier(name: str) -> str: ... | ||
def clean_backtick_quoted_toks(tok: tuple[int, str]) -> tuple[int, str]: ... | ||
def clean_column_name(name: str) -> str: ... | ||
def tokenize_backtick_quoted_string( | ||
token_generator: Iterator[tokenize.TokenInfo], source: str, string_start: int | ||
) -> tuple[int, str]: ... | ||
def tokenize_string(source: str) -> Iterator[tuple[int, str]]: ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
from pandas._libs import lib | ||
|
||
is_bool = lib.is_bool | ||
is_integer = lib.is_integer | ||
is_float = lib.is_float | ||
is_complex = lib.is_complex | ||
is_scalar = lib.is_scalar | ||
is_list_like = lib.is_list_like | ||
is_iterator = lib.is_iterator | ||
|
||
def is_number(obj: object) -> bool: ... | ||
def is_file_like(obj: object) -> bool: ... | ||
def is_re(obj: object) -> bool: ... | ||
def is_array_like(obj: object) -> bool: ... | ||
def is_re_compilable(obj: object) -> bool: ... | ||
def is_dict_like(obj: object) -> bool: ... | ||
def is_named_tuple(obj: object) -> bool: ... | ||
def is_hashable(obj: object) -> bool: ... | ||
from pandas._libs import lib | ||
|
||
is_bool = lib.is_bool | ||
is_integer = lib.is_integer | ||
is_float = lib.is_float | ||
is_complex = lib.is_complex | ||
is_scalar = lib.is_scalar | ||
is_list_like = lib.is_list_like | ||
is_iterator = lib.is_iterator | ||
|
||
def is_number(obj: object) -> bool: ... | ||
def is_file_like(obj: object) -> bool: ... | ||
def is_re(obj: object) -> bool: ... | ||
def is_re_compilable(obj: object) -> bool: ... | ||
def is_dict_like(obj: object) -> bool: ... | ||
def is_named_tuple(obj: object) -> bool: ... | ||
def is_hashable(obj: object) -> bool: ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
from typing import Any | ||
|
||
ARITHMETIC_BINOPS: set[str] = ... | ||
COMPARISON_BINOPS: set[str] = ... | ||
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
def get_op_result_name(left: Any, right: Any): ... | ||
def fill_binop(left: Any, right: Any, fill_value: Any): ... |
yangdanny97 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.