Skip to content

AnythingType or SomethingType can't be used on pandas Series #2

@wtfzambo

Description

@wtfzambo

Btw, I wanna start first by saying that this module is genius and I love it.

Anyway, if trying something like df.column == Anything it returns a TypeError:

Could not compare <class 'anything.AnythingType'> type with Series

This is easily circumventable by using df.column.values, but I still wanted to let you know.

Surprisingly, it poses no problems with a dataframe, doing something like df[['column']] == Anything works no problemo.

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