GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.w3schools.com — NumPy Tutorial
❮
❯
NumPy TutorialNumPy HOME NumPy Intro NumPy Getting Started NumPy Creating Arrays NumPy Array Indexing NumPy Array Slicing NumPy Data Types NumPy Copy vs View NumPy Array Shape NumPy Array Reshape NumPy Array Iterating NumPy Array Join NumPy Array Split NumPy Array Search NumPy Array Sort NumPy Array FilterNumPy RandomRandom Intro Data Distribution Random Permutation Seaborn Module Normal Distribution Binomial Distribution Poisson Distribution Uniform Distribution Logistic Distribution Multinomial Distribution Exponential Distribution Chi Square Distribution Rayleigh Distribution Pareto Distribution Zipf DistributionNumPy ufuncufunc Intro ufunc Create Function ufunc Simple Arithmetic ufunc Rounding Decimals ufunc Logs ufunc Summations ufunc Products ufunc Differences ufunc Finding LCM ufunc Finding GCD ufunc Trigonometric ufunc Hyperbolic ufunc Set OperationsNumPy CertNumPy CertificateQuiz/ExercisesNumPy Editor NumPy Quiz NumPy Exercises NumPy Syllabus NumPy Study PlanNumPy TutorialLearn NumPyNumPy is a Python library. NumPy is used for working with arrays. NumPy is short for "Numerical Python". Become NumPy CertifiedGet certified with our NumPy exam, includes a professionally curated study kit to guide you from beginner to exam-ready.
Share
Learning by ReadingWe have created 43 tutorial pages for you to learn more about NumPy. Starting with a basic introduction and ends up with creating and plotting random data sets, and working with NumPy functions: BasicIntroductionLearning by ExamplesIn our "Try it Yourself" editor, you can use the NumPy module, and modify the code to see the result. ExampleCreate a NumPy array:
import numpy as np
Try it Yourself »
arr = np.array([1, 2, 3, 4, 5]) print(arr) print(type(arr)) Click on the "Try it Yourself" button to see how it works. Learning by ExercisesMany chapters in this tutorial end with an exercise where you can check your level of knowledge. Learning by Quiz TestTest your NumPy skills with a quiz test. Free account Track your progress
XP earned 0
Day streak 0
Spaces 0
League —
New Learn in Adventure Mode W3Schools Adventure AppCoding fundamentals as bite-sized lessons and challenges.
×
Contact SalesIf you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: Report ErrorIf you want to report an error, or if you want to make a suggestion, send us an e-mail: Top TutorialsHTML TutorialCSS Tutorial JavaScript Tutorial How To Tutorial SQL Tutorial Python Tutorial W3.CSS Tutorial Bootstrap Tutorial PHP Tutorial Java Tutorial C++ Tutorial jQuery Tutorial Top ReferencesHTML ReferenceCSS Reference JavaScript Reference SQL Reference Python Reference W3.CSS Reference Bootstrap Reference PHP Reference HTML Colors Java Reference AngularJS Reference jQuery Reference
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy. Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |