Using Modules-Numpy

1.Import modules or libraries

actually,import numpy is enough

but we always write numpy as np to save time because if we write a lot of codings , it can save us much energy.

For some library , you need to install it in cmd.write : pip install +the name of library

2.The basic information about numpy

zeros

ones

empty

eye

Advertisements

Published by narutolu

I am from Shanghai ,China.My home university is Shanghai univeristy of Finanace and Economics and I am major in economics and taxation. I worked in mckinsey consulting firm, Nielson and Ipsos. My hobby is programming and travelling . I have been to more than 40 countries.

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website at WordPress.com
Get started
%d bloggers like this: