np.arange - error - please clarify
I am getting error when i enter only the start argument for arange function - this is not same as what is shown in video - please clarify
array_rng = np.arange(start =30)
after running above command - getting error
but on the other hand if i enter only stop argument - it runs smoothly - like below
array_rng = np.arange(stop =30)
3 answers ( 0 marked as helpful)
This is happening to me as well.
Same here; its because the mandatory one is Stop
The video is old. You need to have the stop parameter (start is optional). Actually, these are equivalent -->
array_rng = np.arange(30) and
array_rng = np.arange(stop = 30).
If the start parameter is not specified, the start value is 0.
Submit an answer
Could you please explain what you meant during the poisson distribution part when lambda = 10 ?