jorisvandenbossche commented on issue #39728:
URL: https://github.com/apache/arrow/issues/39728#issuecomment-1904012970

   FWIW, passing a _scalar_ value also doesn't work for other types, for 
example:
   
   ```
   In [21]: pa.array(1, pa.int64())
   ...
   TypeError: 'int' object is not iterable
   
   ```
   
   The only reason it passed silently here is because the `pa.MonthDayNano` is 
a namedtuple, and thus considered as an iterable .. (we could provide better 
error messages, though)


-- 
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]

Reply via email to