and the result gives me a 2-d plot frame with x-axis from 0 to 1.
However, when I try using numpy.newaxis to slice a vector,
[ 0.04965172 0.04979645 0.04994022 0.05008303]
Is it the same thing except that it changes a row vector to a column vector?
Generally, what is the use of numpy.ne,waxis and in which circumstances should we use it?
If you want to unleash your potential in this competitive field, please visit the Python course page for more information, where you can find the Python tutorials and Python frequently asked interview questions and answers as well.
This topic has been locked/unapproved. No replies allowed