You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Jim Ahn (JIRA)" <ji...@apache.org> on 2017/01/14 07:04:26 UTC
[jira] [Commented] (ARROW-378) Python: Respect timezone on
conversion of Pandas datetime columns
[ https://issues.apache.org/jira/browse/ARROW-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822736#comment-15822736 ]
Jim Ahn commented on ARROW-378:
-------------------------------
PR: https://github.com/apache/arrow/pull/287
> Python: Respect timezone on conversion of Pandas datetime columns
> -----------------------------------------------------------------
>
> Key: ARROW-378
> URL: https://issues.apache.org/jira/browse/ARROW-378
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Uwe L. Korn
> Assignee: Jim Ahn
> Labels: newbie
>
> Currently we convert columns irrespectively of their timezone directly to timestamps in Arrow. While in Pandas you are able to specify timezones, in Arrow we have the assumptions that a Timestamp is always the time of the specified unit since 00:00:00.000 on 1 January 1970, UTC. Thus we have to check if {{df['column‘].tz}} is set and convert if necessary to UTC before converting to an Arrow column.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)