Skip to content

Misleading "not" typo in assertion in pandas.concat in join_axes check #23204

Closed
@Ignalion

Description

@Ignalion

There is an assertion message in concat.py:

            if len(self.join_axes) != ndim - 1:
                raise AssertionError("length of join_axes must not be equal "
                                     "to {length}".format(length=ndim - 1))

From code (and from it's usage) it's obvious that word "not" is incorrect here and should be deleted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions