Programming Bootcamp for Scientists #39

Bootcamp
  • 00:00 Numpy

  • 00:44 What is Numpy?

  • 00:55 Numpy vector

  • 06:19 2D arrays

  • 07:28 Set dtype

  • 08:27 Ones and Zeros

  • 10:10 Random array

  • 12:12 Array dtype changes by division (int to float)

  • 12:40 Transpose

  • 13:00 Reference and not a copy

  • 13:45 Copy array

  • 14:02 Element-wise operations on Arrays

  • 14:50 multiply, matmul, dot for vectors and matrices.

  • 17:43 Casting - converting from strings to integers. (astype)

  • 18:40 Indexing 1d array

  • 19:26 Slice is a reference, copy

  • 19:55 abs value on a Numpy array

  • 22:17 Logical not on a Numpy array

  • 23:36 Vectorize a function

  • 27:36 Filtering array (selecting some of the values from an array)

  • 33:00 Some statistics (sum, mean, std, var)

  • 33:35 Serialization (saving an array to a file)

  • 35:37 Load from Matlab file to a Numpy array

  • 37:24 Save a Numpy array as a Matlab file

  • 37:49 Horizontal stack vectors (hstack)

  • 38:31 Append or Vertical stack vectors and matrices (vstack)

  • 38:50 uint, int - showing data overflow

Author

Gabor Szabo (szabgab)

Gabor Szabo, the author of the Python Maven web site.

Gabor Szabo