Wes McKinney created ARROW-5668:
-----------------------------------

             Summary: [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
             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)

Reply via email to