You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (JIRA)" <ji...@apache.org> on 2019/06/21 09:02:00 UTC

[jira] [Assigned] (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 ]

Joris Van den Bossche reassigned ARROW-5668:
--------------------------------------------

    Assignee: Joris Van den Bossche

> [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
>             Fix For: 0.14.0
>
>
> 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)