(a, q, axis, keepdims)
| 1804 | |
| 1805 | |
| 1806 | def _get_quantile_chunks(a, q, axis, keepdims): |
| 1807 | quantile_chunk = [len(q)] if isinstance(q, Iterable) else [] |
| 1808 | if keepdims: |
| 1809 | return quantile_chunk + [ |
| 1810 | 1 if ax in axis else c for ax, c in enumerate(a.chunks) |
| 1811 | ] |
| 1812 | else: |
| 1813 | return quantile_chunk + [c for ax, c in enumerate(a.chunks) if ax not in axis] |
no outgoing calls
no test coverage detected