Lecture 3 - Numerical Computing with Python & Numpy

Lecture 3: Numerical Computing with Numpy
Lecture Date: August 29, 2020

Topics covered:

  • Going from Python lists to Numpy arrays
  • Working with multi-dimensional arrays
  • Array operations, slicing and broadcasting
  • Working with CSV data files

Resources

Asking Questions

Please use this thread for asking questions during the lecture. Upvote questions by pressing the “Like” (heart) button. We will answer 5-10 highest upvoted questions during the lecture, and the rest will be answered by the community and course team after the lecture. If you see a question you know the answer to, please add an answer to help others.

6 Likes

Who’s here, give me a like!

79 Likes

can we get some practice exercise on lecture 2

14 Likes

Can you provide a ppt or pdf after every lecture, video pura dekhne me dikkat aata hain

2 Likes

Jupyter Notebooks are already being shared with us, you know!

1 Like

not possible to highlight important point, my system takes lots of time to open the notebook and run

1 Like

The video is being recorded. You can watch it anytime. Wait for the lecture to complete. Observe the details he is teaching.
It may be useful to understand the concept first then hands-on-practice.

2 Likes

Okay, for that you can simply convert the notebooks to .pdf format.
And open .pdf files in acrobat and highlight it in it :slight_smile:

https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/highlighter/readme.html

1 Like

what is difference between

result += (…)
and
result= result+(…)

2 Likes

why it is 64? maximum 64 bits acceptable ?
~ regarding int(64) and float (64)

2 Likes

Both of the two statements are same.

1 Like

What is the difference between dot product and matmul() function…?

3 Likes

previously mentioned .apend not valid for tuple , then np.concatenate overrid the problem ?

1 Like

Can we get some other txt file for practice

3 Likes

You can search over the internet. There are plenty of such files available for free.
Or, you can create one on your own. That will be fun!

1 Like
1 Like

https://www.stats.govt.nz/large-datasets/csv-files-for-download/

3 Likes

Can you show some matrix operations ? like eigen value,
cannonical representations,
‘trace of matrix’;
‘element manipulation’
‘matrix diagonalization’ etc. ?

once I use them at MATLAB editor. Also give some examples of ploting of graphs with different legends and "colour"