AlenkaF commented on pull request #12178:
URL: https://github.com/apache/arrow/pull/12178#issuecomment-1018467474
@jorisvandenbossche Looking at the docstrings for the `types_mapper` I think
item 1) from your list should test if `None` is added in the mapping function,
then the default conversion is used. For example: `types_mapper = {pa.int8():
None}.get`.
> The function receives a pyarrow DataType and is expected to return a
pandas ExtensionDtype or None if the default conversion should be used for that
type.
Is that what you meant?
--
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]