jorisvandenbossche commented on issue #28303:
URL: https://github.com/apache/arrow/issues/28303#issuecomment-1523083557
> this format seems a bit tricky since it requires knowledge about the
language of the CSV -- English in this case.
@felipecrv that's a general issue for parsing that kind of strings, i.e. the
same locale-dependent behaviour applies to parsing it as a timestamp as well,
and that's something we already support:
```
>>> pa.compute.strptime(["15-OCT-15", "18-JUN-90"], format="%d-%b-%y",
unit="s")
<pyarrow.lib.TimestampArray object at 0x7f2c4f7b1f00>
[
2015-10-15 00:00:00,
1990-06-18 00:00:00
]
```
The issue here is also enabling passing such custom format for date32/date64
columns, and not only for timestamp columns.
--
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]