0% found this document useful (0 votes)
4 views1 page

NumPy Basics: Python Array Tutorial

NumPy is a Python library used for working with arrays and stands for 'Numerical Python'. The document provides a basic syntax example for importing NumPy and creating an array. It also includes sample output demonstrating the creation of an array and its type.

Uploaded by

skumar875701
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

NumPy Basics: Python Array Tutorial

NumPy is a Python library used for working with arrays and stands for 'Numerical Python'. The document provides a basic syntax example for importing NumPy and creating an array. It also includes sample output demonstrating the creation of an array and its type.

Uploaded by

skumar875701
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Unit -5 Python

NumPy Tutorial
NumPy is a Python library.

NumPy is used for working with arrays.

NumPy is short for "Numerical Python".

Syntax of Numpy:-
Importing NumPy

import numpy as np

Example –
import numpy as np
arr = [Link]([1, 2, 3, 4, 5])
print(arr)
print(type(arr))

Output-
[1 2 3 4 5]

You might also like