Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Fix numpy FutureWarning: Support for multi-dimensional indexing (e.g. obj[:, None]) is deprecated #78

Open
cranedroesch opened this issue Nov 4, 2020 · 0 comments

Comments

@cranedroesch
Copy link
Contributor

FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version.  Convert to a numpy array before indexing instead.
	  y = y[:, np.newaxis]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant