Skip to content

[BUG] pivot_longer test cases failed on pandas latest (1.4.x) passed on 1.3.xΒ #1154

@Zeroto521

Description

@Zeroto521

I found why #1143 failed on pivot_longer, encode_categorical, and _select_column test cases
The core reason is the version compatibility.
Our current test environment only tests one main pandas version 1.3.x. But the latest pandas version is 1.4.x.

- pandas=1.3.5

There pivot_longer method test cases failed on pandas latest version (1.4.x), but passed on 1.3.x.

Call for helping @samukweku, (I do use less about pivot_longer accessor, so I can't handle these problems).

  • tests/functions/test_pivot_longer.py::test_names_pattern_str
  • tests/functions/test_pivot_longer.py::test_names_sep
  • tests/functions/test_pivot_longer.py::test_names_transform_numeric

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginfrastructureInfrastructure-related issuestestingIssues related to testing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions