Skip to content

Instantly share code, notes, and snippets.

@Robofied
Created February 14, 2019 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Robofied/46af88bee68b962c0afed3a39c0a874c to your computer and use it in GitHub Desktop.
Save Robofied/46af88bee68b962c0afed3a39c0a874c to your computer and use it in GitHub Desktop.
Numpy
""""It is almost similar to the last function arange we have discussed with the parameters but the only difference is,
it doest not exlude the end value."""
x = np.linspace(1., 4., 5)
print(x)
#[Output]:
#[1. 1.75 2.5 3.25 4. ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment