emkornfield commented on a change in pull request #11302:
URL: https://github.com/apache/arrow/pull/11302#discussion_r722777741
##########
File path: python/pyarrow/array.pxi
##########
@@ -163,6 +163,12 @@ def array(object obj, type=None, mask=None, size=None,
from_pandas=None,
representation). Timezone-naive data will be implicitly interpreted as
UTC.
+ Pandas's DateOffsets and dateutil.relativedelta.relativedetla are by
+ default converted as MonthDayNanoIntervalArray. relativedelta leapday's
+ are ignored as are all absolute fields on both objects. datetime.timedelta
+ also be converted to MonthDayNanoIntervalArray but require passing
Review comment:
add "can"
##########
File path: python/pyarrow/array.pxi
##########
@@ -163,6 +163,12 @@ def array(object obj, type=None, mask=None, size=None,
from_pandas=None,
representation). Timezone-naive data will be implicitly interpreted as
UTC.
+ Pandas's DateOffsets and dateutil.relativedelta.relativedetla are by
Review comment:
fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]