aboss123 commented on code in PR #36877:
URL: https://github.com/apache/arrow/pull/36877#discussion_r1275331810
##########
python/pyarrow/scalar.pxi:
##########
@@ -113,8 +113,12 @@ cdef class Scalar(_Weakrefable):
else:
with nogil:
check_status(self.wrapped.get().Validate())
-
+
def __repr__(self):
+ if isinstance(self, TimestampScalar):
Review Comment:
Got it! I can make that change. How would you specify the time format
exactly. It mentions the default
[here](https://arrow.apache.org/docs/python/generated/pyarrow.compute.strftime.html)
but the tests specify `<pyarrow.TimestampScalar: datetime.datetime(2012, 1, 1,
0, 0, tzinfo=<UTC>)>`. This has timezone info would you like the format to
include `%z` & `%Z` modifiers to view this?
--
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]