Skip to content

CI failing for test_repartition_quantiles #801

Closed

Description

@rjzamora

dask_expr/tests/test_quantiles.py::test_repartition_quantiles is failing locally for me in main. The failure is also showing up in CI:

E               AssertionError: Series.index are different
E               
E               Series.index values are different (16.66667 %)
E               [left]:  Index([0.0, 0.2, 0.4, 0.6000000000000001, 0.8, 1.0], dtype='float64')
E               [right]: Index([0.0, 0.2, 0.4, 0.6, 0.8, 1.0], dtype='float64')

Activity

  1. rjzamora commented on Jan 24, 2024

    @rjzamora
    MemberAuthor

    Looks like the cause is numpy:

    np.linspace(0, 1, 6)[3]  # Returns: 0.6000000000000001
  2. rjzamora commented on Jan 24, 2024

    @rjzamora
    MemberAuthor

    This is probably not new in numpy. This may only be failing now, because the check_exact default changed from False to True in assert_frame_equal for pandas 2.2 (https://pandas.pydata.org/docs/reference/api/pandas.testing.assert_frame_equal.html#pandas-testing-assert-frame-equal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions