8000 ARROW-2003: [Python] Remove use of fastpath parameter to pandas.core.… · apache/arrow@6bb1d1b · GitHub
[go: up one dir, main page]

Skip to content

Commit 6bb1d1b

Browse files
committed
ARROW-2003: [Python] Remove use of fastpath parameter to pandas.core.internals.make_block
Apparently this argument is not used at all in pandas, and the pandas developers wish to simply remove the argument rather than go through a deprecation cycle Author: Wes McKinney <wes.mckinney@twosigma.com> Closes #1507 from wesm/ARROW-2003 and squashes the following commits: a838226 [Wes McKinney] Remove use of fastpath parameter to pandas.core.internals.make_block
1 parent 2126ebf commit 6bb1d1b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/pyarrow/pandas_compat.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,12 @@ def _reconstruct_block(item):
435435
categories=item['dictionary'],
436436
ordered=item['ordered'])
437437
block = _int.make_block(cat, placement=placement,
438-
klass=_int.CategoricalBlock,
439-
fastpath=True)
438+
klass=_int.CategoricalBlock)
440439
elif 'timezone' in item:
441440
dtype = _make_datetimetz(item['timezone'])
442441
block = _int.make_block(block_arr, placement=placement,
443442
klass=_int.DatetimeTZBlock,
444-
dtype=dtype, fastpath=True)
443+
dtype=dtype)
445444
else:
446445
block = _int.make_block(block_arr, placement=placement)
447446

0 commit comments

Comments
 (0)
0