You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/01/25 15:38:37 UTC
[arrow] branch master updated: ARROW-2003: [Python] Remove use of
fastpath parameter to pandas.core.internals.make_block
This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 6bb1d1b ARROW-2003: [Python] Remove use of fastpath parameter to pandas.core.internals.make_block
6bb1d1b is described below
commit 6bb1d1b35f21ce34327cf92893bda417c2a9a4f1
Author: Wes McKinney <we...@twosigma.com>
AuthorDate: Thu Jan 25 10:38:32 2018 -0500
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 <we...@twosigma.com>
Closes #1507 from wesm/ARROW-2003 and squashes the following commits:
a8382262 [Wes McKinney] Remove use of fastpath parameter to pandas.core.internals.make_block
---
python/pyarrow/pandas_compat.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/python/pyarrow/pandas_compat.py b/python/pyarrow/pandas_compat.py
index f3089d2..4a30fb3 100644
--- a/python/pyarrow/pandas_compat.py
+++ b/python/pyarrow/pandas_compat.py
@@ -435,13 +435,12 @@ def _reconstruct_block(item):
categories=item['dictionary'],
ordered=item['ordered'])
block = _int.make_block(cat, placement=placement,
- klass=_int.CategoricalBlock,
- fastpath=True)
+ klass=_int.CategoricalBlock)
elif 'timezone' in item:
dtype = _make_datetimetz(item['timezone'])
block = _int.make_block(block_arr, placement=placement,
klass=_int.DatetimeTZBlock,
- dtype=dtype, fastpath=True)
+ dtype=dtype)
else:
block = _int.make_block(block_arr, placement=placement)
--
To stop receiving notification emails like this one, please contact
wesm@apache.org.