Skip to content

Commit 6eabca3

Browse files
REF: restructure api import (#30647)
* REF: restructure api import * whoops
1 parent 9fb3040 commit 6eabca3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pandas/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
qcut,
139139
)
140140

141+
import pandas.api
141142
from pandas.util._print_versions import show_versions
142143

143144
from pandas.io.api import (

pandas/io/json/_table_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
is_string_dtype,
1919
is_timedelta64_dtype,
2020
)
21+
from pandas.core.dtypes.dtypes import CategoricalDtype
2122

2223
from pandas import DataFrame
23-
from pandas.api.types import CategoricalDtype
2424
import pandas.core.common as com
2525

2626
loads = json.loads

pandas/io/spss.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
from pandas.compat._optional import import_optional_dependency
55

6-
from pandas.api.types import is_list_like
6+
from pandas.core.dtypes.inference import is_list_like
7+
78
from pandas.core.api import DataFrame
89

910

0 commit comments

Comments
 (0)