You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by fs...@apache.org on 2019/06/14 16:52:14 UTC
[arrow] branch master updated: ARROW-5612: [Python][Doc] Add
prominent note that date_as_object option changed with Arrow 0.13
This is an automated email from the ASF dual-hosted git repository.
fsaintjacques 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 02fd62d ARROW-5612: [Python][Doc] Add prominent note that date_as_object option changed with Arrow 0.13
02fd62d is described below
commit 02fd62d8f46412d8b0399f49adf8e2053946152e
Author: Miguel Cabrera <mc...@newyorker.de>
AuthorDate: Fri Jun 14 12:51:59 2019 -0400
ARROW-5612: [Python][Doc] Add prominent note that date_as_object option changed with Arrow 0.13
Adding small documentation on bits on the pandas integration documentation. It relates to #4363
Not sure if the wording is correct.
Author: Miguel Cabrera <mc...@newyorker.de>
Author: Miguel Cabrera <mf...@gmail.com>
Author: Wes McKinney <we...@apache.org>
Closes #4381 from mfcabrera/improve-pandas-doc and squashes the following commits:
b6ed4ed62 <Wes McKinney> Add notes about date_as_object default value change
f65178f9e <Miguel Cabrera> Small fix s/was/is/
16b553084 <Miguel Cabrera> Document to_pandas behaviour before 0.13 and add extra pd related info
---
docs/source/python/pandas.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/source/python/pandas.rst b/docs/source/python/pandas.rst
index dbc5e77..aafbf57 100644
--- a/docs/source/python/pandas.rst
+++ b/docs/source/python/pandas.rst
@@ -184,6 +184,12 @@ If you want to use NumPy's ``datetime64`` dtype instead, pass
s2 = pd.Series(arr.to_pandas(date_as_object=False))
s2.dtype
+.. warning::
+
+ As of Arrow ``0.13`` the parameter ``date_as_object`` is ``True``
+ by default. Older versions must pass ``date_as_object=True`` to
+ obtain this behavior
+
Time types
~~~~~~~~~~