File tree 7 files changed +7
-6
lines changed 7 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2
2
Public testing utility functions.
3
3
"""
4
4
5
+
5
6
from pandas ._testing import (
6
7
assert_extension_array_equal ,
7
8
assert_frame_equal ,
Original file line number Diff line number Diff line change 21
21
register_extension_dtype ,
22
22
take ,
23
23
)
24
- from pandas .core .arraylike import OpsMixin
25
24
from pandas .api .types import is_scalar
25
+ from pandas .core .arraylike import OpsMixin
26
26
27
27
28
28
@register_extension_dtype
Original file line number Diff line number Diff line change 3
3
4
4
import pandas as pd
5
5
import pandas ._testing as tm
6
- from pandas .tests .extension import base
7
6
from pandas .api .types import is_bool_dtype
7
+ from pandas .tests .extension import base
8
8
9
9
pytest .importorskip ("pyarrow" , minversion = "0.13.0" )
10
10
Original file line number Diff line number Diff line change 4
4
import pytest
5
5
6
6
import pandas as pd
7
+ from pandas .api .types import is_object_dtype , is_string_dtype
7
8
8
9
from .base import BaseExtensionTests
9
- from pandas .api .types import is_object_dtype , is_string_dtype
10
10
11
11
12
12
class BaseDtypeTests (BaseExtensionTests ):
Original file line number Diff line number Diff line change 11
11
12
12
import pandas as pd
13
13
from pandas .api .extensions import no_default , register_extension_dtype
14
+ from pandas .api .types import is_scalar
14
15
from pandas .core .arraylike import OpsMixin
15
16
from pandas .core .arrays import ExtensionArray , ExtensionScalarOpsMixin
16
17
from pandas .core .indexers import check_array_indexer
17
- from pandas .api .types import is_scalar
18
18
19
19
20
20
@register_extension_dtype
Original file line number Diff line number Diff line change 13
13
from pandas .core .dtypes .base import ExtensionDtype
14
14
15
15
import pandas as pd
16
+ from pandas .api .types import is_object_dtype , is_string_dtype
16
17
from pandas .core .arrays import ExtensionArray
17
- from pandas .api .types import is_string_dtype , is_object_dtype
18
18
19
19
20
20
class ListDtype (ExtensionDtype ):
Original file line number Diff line number Diff line change 20
20
21
21
import pandas as pd
22
22
import pandas ._testing as tm
23
+ from pandas .api .types import is_float_dtype
23
24
from pandas .core .arrays .floating import Float32Dtype , Float64Dtype
24
25
from pandas .tests .extension import base
25
- from pandas .api .types import is_float_dtype
26
26
27
27
28
28
def make_data ():
You can’t perform that action at this time.
0 commit comments