You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/01/06 08:55:00 UTC

[GitHub] [arrow] sanjibansg commented on a change in pull request #12078: ARROW-14448: [Python] Update pyarrow.array() docstring note on timestamp (timezone) conversion

sanjibansg commented on a change in pull request #12078:
URL: https://github.com/apache/arrow/pull/12078#discussion_r779390745



##########
File path: python/pyarrow/array.pxi
##########
@@ -159,9 +159,10 @@ def array(object obj, type=None, mask=None, size=None, from_pandas=None,
 
     Notes
     -----
-    Localized timestamps will currently be returned as UTC (pandas's native
-    representation). Timezone-naive data will be implicitly interpreted as
-    UTC.
+    Timezone will be preserved in the returned array for timezone aware data,
+    else no timezone data will be returned for naive timestamps.
+    Internally, UTC values are stored for timezone aware data,

Review comment:
       @edponce Made the suggested change.




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org