Skip to content

da.quantile: AttributeError: 'generator' object has no attribute 'ndim' #11986

@m-albert

Description

@m-albert

Describe the issue:

I get AttributeError: 'generator' object has no attribute 'ndim' when running da.quantile on dask arrays.

Minimal Complete Verifiable Example:

import dask.array as da
x=da.ones(5)
da.quantile(x, 0.5)

Anything else we need to know?:

Environment:

  • Dask version: 2025.5.1
  • Python version: 3.11
  • Operating System: macOS
  • Install method (conda, pip, source): pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageNeeds a response from a contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions