Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depreciation in slicing #73

Open
jtsauls opened this issue Nov 13, 2018 · 0 comments
Open

depreciation in slicing #73

jtsauls opened this issue Nov 13, 2018 · 0 comments
Labels

Comments

@jtsauls
Copy link
Collaborator

jtsauls commented Nov 13, 2018

Slicing of numpy arrays should be done with tuples and not lists:

scipy/stats/stats.py:1633: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result.

@jtsauls jtsauls added the bug label Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant