API Change repr name for table schema
State: closed

Not API breaking, since pandas 0.20.0 hasn't been released yet.
`_repr_table_schema_` isn't the right name, since we include both the schema and the data.

xref https://github.com/pandas-dev/pandas/pull/16198#discussion_r114342141

@rgbkrk do you need any kind of backwards compatibility with `_repr_table_schema_`?

Labels:
name: Output-Formatting
description: __repr__ of pandas objects, to_string
name: IO JSON
description: read_json, to_json, json_normalize

Comments:
> do you need any kind of backwards compatibility with `_repr_table_schema_`

Nope, I haven't written up any usage of this and we were only relying on the options namespace + displaying a dataframe in our one example notebook.
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=h1) Report
> Merging [#16204](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/39cc1d0685481c77115f061d856cc60c1e59c8c2?src=pr&el=desc) will **increase** coverage by `0.02%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/16204/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #16204      +/-   ##
==========================================
+ Coverage   90.86%   90.88%   +0.02%     
==========================================
  Files         162      162              
  Lines       50867    50867              
==========================================
+ Hits        46222    46233      +11     
+ Misses       4645     4634      -11
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `88.67% <100%> (+0.02%)` | :arrow_up: |
| #single | `40.31% <50%> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/generic.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZ2VuZXJpYy5weQ==) | `91.67% <100%> (ø)` | :arrow_up: |
| [pandas/core/config\_init.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvY29uZmlnX2luaXQucHk=) | `94.37% <100%> (ø)` | :arrow_up: |
| [pandas/core/common.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvY29tbW9uLnB5) | `90.68% <0%> (-0.35%)` | :arrow_down: |
| [pandas/plotting/\_converter.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL3Bsb3R0aW5nL19jb252ZXJ0ZXIucHk=) | `65.35% <0%> (+1.81%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=footer). Last update [39cc1d0...3ce67e4](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=h1) Report
> Merging [#16204](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/39cc1d0685481c77115f061d856cc60c1e59c8c2?src=pr&el=desc) will **decrease** coverage by `<.01%`.
> The diff coverage is `95.65%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/16204/graphs/tree.svg?src=pr&width=650&token=eZ4WkYLtcO&height=150)](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #16204      +/-   ##
==========================================
- Coverage   90.86%   90.86%   -0.01%     
==========================================
  Files         162      162              
  Lines       50867    50887      +20     
==========================================
+ Hits        46222    46240      +18     
- Misses       4645     4647       +2
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `88.65% <95.65%> (ø)` | :arrow_up: |
| #single | `40.31% <13.04%> (-0.01%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/config\_init.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvY29uZmlnX2luaXQucHk=) | `94.4% <100%> (+0.03%)` | :arrow_up: |
| [pandas/core/generic.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZ2VuZXJpYy5weQ==) | `91.67% <100%> (ø)` | :arrow_up: |
| [pandas/io/formats/printing.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2lvL2Zvcm1hdHMvcHJpbnRpbmcucHk=) | `89.38% <95%> (+1.2%)` | :arrow_up: |
| [pandas/core/common.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvY29tbW9uLnB5) | `90.68% <0%> (-0.35%)` | :arrow_down: |
| [pandas/core/dtypes/dtypes.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZHR5cGVzL2R0eXBlcy5weQ==) | `94.92% <0%> (-0.12%)` | :arrow_down: |
| [pandas/io/json/table\_schema.py](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=tree#diff-cGFuZGFzL2lvL2pzb24vdGFibGVfc2NoZW1hLnB5) | `95.77% <0%> (+0.18%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=footer). Last update [39cc1d0...529ada4](https://codecov.io/gh/pandas-dev/pandas/pull/16204?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

Just FYI @gnestor: `_repr_table_schema_` -> `_repr_data_resource_`

Merging in a couple hours if there are no objections.