[
https://issues.apache.org/jira/browse/ARROW-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16195256#comment-16195256
]
ASF GitHub Bot commented on ARROW-1250:
---------------------------------------
GitHub user wesm opened a pull request:
https://github.com/apache/arrow/pull/1183
ARROW-1250: [Python] Add pyarrow.types module with useful type checking
functions
cc @TomAugspurger @cpcloud @xhochy for review
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wesm/arrow ARROW-1250
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/arrow/pull/1183.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1183
----
commit 3074efb58bd340b7ee1022026c89db670612be5f
Author: Wes McKinney <[email protected]>
Date: 2017-10-06T21:14:09Z
Add pyarrow.types module with useful type checking functions
Change-Id: I704f759dbcae160af62029de7e71fc1c53a7b33b
commit 2f09c00c452804e73abed434eab84e453c94ce2b
Author: Wes McKinney <[email protected]>
Date: 2017-10-06T21:16:24Z
Remove unused imports
Change-Id: I5c70e5e6dc0e2c24ab292d80890174ad62cc0f7c
----
> [Python] Define API for user type checking of array types
> ---------------------------------------------------------
>
> Key: ARROW-1250
> URL: https://issues.apache.org/jira/browse/ARROW-1250
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Python
> Reporter: Wes McKinney
> Assignee: Wes McKinney
> Labels: pull-request-available
> Fix For: 0.8.0
>
>
> We have some subclasses of {{pyarrow.lib.DataType}}, but we haven't been
> designing with the intent of writing {{isinstance(arr.type,
> pyarrow.TimestampType)}}. We should think about the public API for such
> type-checking or other type of schema validation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)