8000 Change in dataframe columns leads to error when printing dataframe (try catch refresh requiered) · Issue #5 · getml/getml-community · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Change in dataframe columns leads to error when printing dataframe (try catch refresh requiered) #5
Open
@joro-enbw

Description

@joro-enbw

When modifying a table via

table= table.drop(
        cols=[
            "A",
            "B",
            "C"
        ]
    ).to_df(name=table.name)

no error is thrown. But if we then try to subsequently access the table, the error is thrown that column "A" does not exists (table.name=TEST):

OSError: Data frame 'TEST' contains no column named 'A'!

The problem is solved by calling

table.refresh()

=> Possible solution add try catch which calls refresh?

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

      0