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 2018/07/18 23:56:00 UTC
[jira] [Assigned] (ARROW-2832) [Python] Pretty-print schema
metadata in Schema.__repr__
[ https://issues.apache.org/jira/browse/ARROW-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney reassigned ARROW-2832:
-----------------------------------
Assignee: Wes McKinney
> [Python] Pretty-print schema metadata in Schema.__repr__
> --------------------------------------------------------
>
> Key: ARROW-2832
> URL: https://issues.apache.org/jira/browse/ARROW-2832
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Assignee: Wes McKinney
> Priority: Major
> Labels: usability
> Fix For: 0.10.0
>
>
> The default formatting is a bit unreadable
> {code}
> a: string
> b: double
> c: bool
> metadata
> --------
> {b'pandas': b'{"index_columns": [], "column_indexes": [], "columns": [{"name":'
> b' "a", "field_name": "a", "pandas_type": "unicode", "numpy_type":'
> b' "object", "metadata": null}, {"name": "b", "field_name": "b", "'
> b'pandas_type": "float64", "numpy_type": "float64", "metadata": nu'
> b'll}, {"name": "c", "field_name": "c", "pandas_type": "bool", "nu'
> b'mpy_type": "object", "metadata": null}], "pandas_version": "0.23'
> b'.2"}'}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)