8000 DOC Add note on the max number of extmath.cartesian arguments (#16406) · simonamaggio/scikit-learn@eff1bdf · GitHub
[go: up one dir, main page]

Skip to content

Commit eff1bdf

Browse files
hcarsHenryrth
authored
DOC Add note on the max number of extmath.cartesian arguments (scikit-learn#16406)
Co-authored-by: Henry <hlc5v@virginia.edu> Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
1 parent 61ce18f commit eff1bdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/utils/extmath.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,10 @@ def cartesian(arrays, out=None):
480480
[3, 5, 6],
481481
[3, 5, 7]])
482482
483+
Notes
484+
-----
485+
This function may not be used on more than 32 arrays
486+
because the underlying numpy functions do not support it.
483487
"""
484488
arrays = [np.asarray(x) for x in arrays]
485489
shape = (len(x) for x in arrays)

0 commit comments

Comments
 (0)
0