Wes McKinney created ARROW-2832: ----------------------------------- Summary: [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 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)