Skip to content

Enable pd.options.display.html.table_schema = True By Default #28117

Open
@playermanny2

Description

@playermanny2

Problem description

This is an enhancement request

In order to enable a pandas to provide a JSON schema representation of the dataframe utilizing application/vnd.dataresource+json, pd.options.display.html.table_schema must be set to True.

I'm just wondering if this could be set to True by default? That way front-ends that support it, can ingest it without having to enable it from the import. Not sure on the implications, but wanted to start the convo...

Code Sample

import pandas as pd
pd.options.display.html.table_schema = True

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementIO HTMLread_html, to_html, Styler.apply, Styler.applymap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions