Skip to content

CLEAN: remove pandas.compat #172

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 1 commit into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 0 additions & 10 deletions pandas-stubs/compat/__init__.pyi

This file was deleted.

5 changes: 0 additions & 5 deletions pandas-stubs/compat/_optional.pyi

This file was deleted.

6 changes: 0 additions & 6 deletions pandas-stubs/compat/numpy/__init__.pyi

This file was deleted.

6 changes: 0 additions & 6 deletions pandas-stubs/compat/pickle_compat.pyi

This file was deleted.

4 changes: 0 additions & 4 deletions pandas-stubs/core/arrays/sparse/accessor.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ from pandas.core.accessor import (
from pandas.core.arrays.sparse.array import SparseArray as SparseArray
from pandas.core.arrays.sparse.dtype import SparseDtype as SparseDtype

from pandas.compat._optional import (
import_optional_dependency as import_optional_dependency,
)

from pandas.core.dtypes.cast import find_common_type as find_common_type

class BaseAccessor:
Expand Down
1 change: 0 additions & 1 deletion pandas-stubs/util/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from pandas import compat as compat
from pandas.core.util.hashing import (
hash_array as hash_array,
hash_pandas_object as hash_pandas_object,
Expand Down
2 changes: 0 additions & 2 deletions pandas-stubs/util/_print_versions.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# from pandas.compat._optional import VERSIONS as VERSIONS, import_optional_dependency as import_optional_dependency

def get_sys_info() -> list[tuple[str, str | int | None]]: ...
def show_versions(as_json: bool = ...) -> None: ...
def main() -> int: ...