Skip to content

Change in dataframe columns leads to error when printing dataframe (try catch refresh requiered) #5

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions