You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/06/21 17:45:00 UTC
[jira] [Resolved] (ARROW-5668) [Python] Display "not null" in
Schema.__repr__ for non-nullable fields
[ https://issues.apache.org/jira/browse/ARROW-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-5668.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 4645
[https://github.com/apache/arrow/pull/4645]
> [Python] Display "not null" in Schema.__repr__ for non-nullable fields
> ----------------------------------------------------------------------
>
> Key: ARROW-5668
> URL: https://issues.apache.org/jira/browse/ARROW-5668
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Assignee: Joris Van den Bossche
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.14.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Minor usability improvement
> {code}
> schema = pa.schema([pa.field('a', pa.int64(), nullable=False)])
> In [11]: schema
> Out[11]: a: int64
> In [12]: schema[0]
> Out[12]: pyarrow.Field<a: int64 not null>
> {code}
> I'd like to see
> {code}
> In [11]: schema
> Out[11]: a: int64 not null
> {code}
> or similar
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)