Horje
What is the output of the following code? np.arange(0,22,6) Code Example
np.arange in python
>>> np.arange(3)
array([0, 1, 2])
>>> np.arange(3.0)
array([ 0.,  1.,  2.])
>>> np.arange(3,7)
array([3, 4, 5, 6])
>>> np.arange(3,7,2)
array([3, 5])
Source: numpy.org
What is the output of the following code? np.arange(0,22,6)
vec=np.arange(10,20,3)
print(vec)




Python

Related
join 3 dataframes by index python Code Example join 3 dataframes by index python Code Example
how to print text in python Code Example how to print text in python Code Example
is python idle an ide Code Example is python idle an ide Code Example
how to insert value in admin panel in django Code Example how to insert value in admin panel in django Code Example
add icon to exe file Code Example add icon to exe file Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7