(a, q, axis, keepdims)
| 1767 | |
| 1768 | |
| 1769 | def _get_quantile_chunks(a, q, axis, keepdims): |
| 1770 | quantile_chunk = [len(q)] if isinstance(q, Iterable) else [] |
| 1771 | if keepdims: |
| 1772 | return quantile_chunk + [ |
| 1773 | 1 if ax in axis else c for ax, c in enumerate(a.chunks) |
| 1774 | ] |
| 1775 | else: |
| 1776 | return quantile_chunk + [c for ax, c in enumerate(a.chunks) if ax not in axis] |
no outgoing calls
no test coverage detected