File tree 4 files changed +3
-6
lines changed
4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11
11
Block ,
12
12
DatetimeTZBlock ,
13
13
ExtensionBlock ,
14
- NumpyBlock ,
15
14
)
16
15
from pandas .core .internals .concat import concatenate_managers
17
16
from pandas .core .internals .managers import (
24
23
"Block" ,
25
24
"DatetimeTZBlock" ,
26
25
"ExtensionBlock" ,
27
- "NumpyBlock" ,
28
26
"make_block" ,
29
27
"DataManager" ,
30
28
"ArrayManager" ,
@@ -46,7 +44,7 @@ def __getattr__(name: str):
46
44
if name in ["NumericBlock" , "ObjectBlock" ]:
47
45
warnings .warn (
48
46
f"{ name } is deprecated and will be removed in a future version. "
49
- "Use NumpyBlock instead." ,
47
+ "Use public APIs instead." ,
50
48
DeprecationWarning ,
51
49
stacklevel = find_stack_level (),
52
50
)
Original file line number Diff line number Diff line change 4
4
import pandas .util ._test_decorators as td
5
5
6
6
import pandas as pd
7
- from pandas .core .internals import NumpyBlock
7
+ from pandas .core .internals . blocks import NumpyBlock
8
8
from pandas .tests .extension .base .base import BaseExtensionTests
9
9
10
10
Original file line number Diff line number Diff line change 20
20
option_context ,
21
21
)
22
22
import pandas ._testing as tm
23
- from pandas .core .internals import NumpyBlock
23
+ from pandas .core .internals . blocks import NumpyBlock
24
24
25
25
# Segregated collection of methods that require the BlockManager internal data
26
26
# structure
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ def test_namespace():
29
29
"Block" ,
30
30
"DatetimeTZBlock" ,
31
31
"ExtensionBlock" ,
32
- "NumpyBlock" ,
33
32
"make_block" ,
34
33
"DataManager" ,
35
34
"ArrayManager" ,
You can’t perform that action at this time.
0 commit comments