Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing TableDataFrames in IDE variable explorers #149

Open
ncvangilse opened this issue Nov 13, 2024 · 0 comments
Open

Viewing TableDataFrames in IDE variable explorers #149

ncvangilse opened this issue Nov 13, 2024 · 0 comments

Comments

@ncvangilse
Copy link

ncvangilse commented Nov 13, 2024

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...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant