This Question has been **Answered**

Featured Replies

- 1
If `a` is an n-dimensional numpy array `a[..., j]` will return an (n-1)-dimensional numpy array where each innermost subarray is replaced by its jth element. So for example if `a` is 2-dimensional, `a[..., j]` will be a 1-dimensional array containing the `j`th column of each row. > Nothing in Python, … Read More

- 1
I'm not sure I understand your question. The values for j and k will not affect the size of the resulting arrays. If `a` is an array of size `n*m` then `a[ ..., j ]` is an array of size `n`, no matter what the value of `j` is. Or … Read More

- 1
The pearsonr function returns a tuple containing two values. The [0] selects the first of those two values. Read More

This question has already been answered. Start a new discussion instead.

Recommended Topics