Skip to content

indexer silently fails for missing columns #1

@richjoyce

Description

@richjoyce
df = pd.DataFrame(np.random.randn(6,2), columns=['test_x', 'test_z'])
pv.indexer(df, 'test')

Result: df with ['test_x', 'test_y', 'test_z'] with 'test_y' being NaN
Expected: error complaining no test_y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions