Commits


Joris Van den Bossche authored and Wes McKinney committed 6cbaf72514e
ARROW-3531: [Python] add Schema.field() method / deprecate field_by_name https://issues.apache.org/jira/browse/ARROW-3531 - add `Schema.field(i)` (similarly as Table.field(i), Table.column(i), etc) - deprecate `Schema.field_by_name(name)` in favor of the above - expand `Table.field(i)` to also accept string name (similar as Table.column(i) - harmonize some of the code to check out of bounds indices (using `_normalize_index`) Closes #5165 from jorisvandenbossche/ARROW-3531-schema-field and squashes the following commits: 15f55819d <Joris Van den Bossche> ARROW-3531: add Schema.field() method / deprecate field_by_name Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Wes McKinney <wesm+git@apache.org>