Skip to content

Understanding Pandas validation #60

@schlich

Description

@schlich

Hello, apologies if this is the wrong place to ask this question.

I am stumped on how datatest's validation mechanism is passing the following example:

dt.validate(pd.DataFrame(), pd.DataFrame({"A": [1]})

The documentation states:

For validation, DataFrame objects using the default index type are treated as sequences.

Shouldn't I be getting the same result as dt.validate([], [1])? What am I missing?

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