Skip to content

Commit dcc26b1

Browse files
committed
delete undocumented functions
1 parent 709d745 commit dcc26b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+256
-412
lines changed

pandas-stubs/_libs/ops_dispatch.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
DISPATCHED_UFUNCS = ...
22
REVERSED_NAMES = ...
33
UFUNC_ALIASES = ...
4-
5-
def maybe_dispatch_ufunc_to_dunder_op(*args, **kwargs): ...
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
from datetime import datetime
22

3-
def localize_pydatetime(dt: datetime, tz: object) -> datetime: ...
4-
53
class OutOfBoundsTimedelta(ValueError): ...

pandas-stubs/_libs/tslibs/parsing.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
from typing import Any
22

3-
def parse_time_string(*args, **kwargs) -> Any: ...
4-
53
class DateParseError(ValueError):
64
def __init__(self, *args, **kwargs) -> None: ...
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
from typing import Any
2-
3-
def array_strptime(*args, **kwargs) -> Any: ...

pandas-stubs/_version.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ from typing import Literal
22

33
version_json: str = ...
44

5-
def get_versions(): ...
6-
75
_stub_version: Literal["2.2.3.250527"]
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import pyarrow as pa
2-
3-
from pandas._libs.missing import NAType
4-
5-
from pandas.core.dtypes.base import StorageExtensionDtype
6-
7-
class ArrowDtype(StorageExtensionDtype):
8-
pyarrow_dtype: pa.DataType
9-
def __init__(self, pyarrow_dtype: pa.DataType) -> None: ...
10-
@property
11-
def na_value(self) -> NAType: ...
1+
import pyarrow as pa
2+
3+
from pandas._libs.missing import NAType
4+
5+
from pandas.core.dtypes.base import StorageExtensionDtype
6+
7+
class ArrowDtype(StorageExtensionDtype):
8+
pyarrow_dtype: pa.DataType
9+
def __init__(self, pyarrow_dtype: pa.DataType) -> None: ...
10+
@property
11+
def na_value(self) -> NAType: ...

pandas-stubs/core/arrays/boolean.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ class BooleanDtype(ExtensionDtype):
1212
@classmethod
1313
def construct_array_type(cls) -> type_t[BooleanArray]: ...
1414

15-
def coerce_to_array(values, mask=..., copy: bool = ...): ...
16-
1715
class BooleanArray(BaseMaskedArray):
1816
def __init__(
1917
self, values: np.ndarray, mask: np.ndarray, copy: bool = ...

pandas-stubs/core/arrays/categorical.pyi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,3 @@ class CategoricalAccessor(PandasDelegate, NoNewAttributesMixin):
157157
) -> Series: ...
158158
def as_ordered(self) -> Series: ...
159159
def as_unordered(self) -> Series: ...
160-
161-
def factorize_from_iterable(values): ...
162-
def factorize_from_iterables(iterables): ...

pandas-stubs/core/arrays/datetimelike.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,3 @@ class DatetimeLikeArrayMixin(ExtensionOpsMixin, ExtensionArray):
103103
def min(self, *, axis=..., skipna: bool = ..., **kwargs): ...
104104
def max(self, *, axis=..., skipna: bool = ..., **kwargs): ...
105105
def mean(self, *, skipna: bool = ...): ...
106-
107-
def maybe_infer_freq(freq): ...

pandas-stubs/core/arrays/datetimes.pyi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ from pandas._typing import (
1515

1616
from pandas.core.dtypes.dtypes import DatetimeTZDtype as DatetimeTZDtype
1717

18-
def tz_to_dtype(tz): ...
19-
2018
class DatetimeArray(DatetimeLikeArrayMixin, TimelikeOps, DatelikeOps):
2119
__array_priority__: int = ...
2220
def __init__(self, values, dtype=..., freq=..., copy: bool = ...) -> None: ...
@@ -85,5 +83,3 @@ def objects_to_datetime64ns(
8583
require_iso8601: bool = ...,
8684
allow_object: bool = ...,
8785
): ...
88-
def maybe_convert_dtype(data, copy): ...
89-
def validate_tz_from_dtype(dtype, tz): ...

0 commit comments

Comments
 (0)