You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2020/12/16 20:32:11 UTC
[arrow] branch master updated: ARROW-10863: [Python] Fix pandas
skip in ExtensionArray.to_pandas test
This is an automated email from the ASF dual-hosted git repository.
kou 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 13cf86f ARROW-10863: [Python] Fix pandas skip in ExtensionArray.to_pandas test
13cf86f is described below
commit 13cf86f985b3bdd6a70fb5ef485efd5edd79e257
Author: Joris Van den Bossche <jo...@gmail.com>
AuthorDate: Thu Dec 17 05:30:50 2020 +0900
ARROW-10863: [Python] Fix pandas skip in ExtensionArray.to_pandas test
Closes #8934 from jorisvandenbossche/ARROW-10863-ext-to-pandas-fixup
Authored-by: Joris Van den Bossche <jo...@gmail.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
python/pyarrow/tests/test_pandas.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/pyarrow/tests/test_pandas.py b/python/pyarrow/tests/test_pandas.py
index 4526bad..2b5d818 100644
--- a/python/pyarrow/tests/test_pandas.py
+++ b/python/pyarrow/tests/test_pandas.py
@@ -4012,8 +4012,8 @@ def test_to_pandas_extension_dtypes_mapping():
def test_array_to_pandas():
- if LooseVersion(pd.__version__) < "1.0":
- pytest.skip("ExtensionDtype __from_arrow__ protocol missing")
+ if LooseVersion(pd.__version__) < "1.1":
+ pytest.skip("ExtensionDtype to_pandas method missing")
for arr in [pd.period_range("2012-01-01", periods=3, freq="D").array,
pd.interval_range(1, 4).array]: