Skip to content

Viewing TableDataFrames in IDE variable explorers #149

@ncvangilse

Description

@ncvangilse

I would like to have a quick way of utilizing IDE variable explorers on Table like they (pycharm at least) can for regular pandas dataframes.
Currently Pycharm doesnt grok the Table and just displays it's repr in the variable explorer.
One way to aid this would be to add a pandas property to the Table:

    @property
    def pandas(self) -> pd.DataFrame:
        """
        Return the underlying pandas.DataFrame object.
        This is useful to aid visualization of the dataframe in native IDE variable explorers
        """
        return pd.DataFrame(self)

I tried to push a feature branch with this, but the push was rejected ( I am completely new to contributing to other's github projects...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions