All language subtitles for 2. Numpy Array

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:11,540 --> 00:00:18,880 Everyone and welcome in this new video in this video, we are going to talk about Nembutal member buying, 2 00:00:18,890 --> 00:00:24,680 it is the most new laboratory to do scientific calculus in Britain. 3 00:00:26,600 --> 00:00:37,340 In this video, we are going to see how to create a matrix in Mumbai, also known as our word. 4 00:00:38,540 --> 00:00:47,060 So first, we need to import our Nampai laboratory to impose a library. 5 00:00:47,360 --> 00:00:50,910 We just need to use the input or browser. 6 00:00:51,620 --> 00:01:02,300 Then we put the name of the library and we can create an alias like NPY, for example, to have a better 7 00:01:03,200 --> 00:01:13,580 comprehension of our code later and do to not have, for example, a big library to call each time because 8 00:01:13,580 --> 00:01:14,600 it is very boring. 9 00:01:17,400 --> 00:01:21,140 Then let me show you how to create a one dimensional array. 10 00:01:21,740 --> 00:01:23,300 It is very simple. 11 00:01:23,810 --> 00:01:25,940 You need to create a variable. 12 00:01:26,750 --> 00:01:34,820 And in this variable, you put the array function from Mumbai. 13 00:01:34,880 --> 00:01:44,960 So when you call a function from a library, you need always to put the name of the library. 14 00:01:45,320 --> 00:01:54,200 Then the function because Biden is no entered object language of programmation. 15 00:01:54,560 --> 00:02:05,570 It means that each time, for example, if you want to speak about, I don't know the living room, 16 00:02:06,920 --> 00:02:12,770 you need to specify that this living room is in the house. 17 00:02:16,080 --> 00:02:23,130 So the House is here, so he is nearby and the living room is our function. 18 00:02:23,310 --> 00:02:35,640 All right, then we need to put parenthesis to put the input necessary for this function and the necessary 19 00:02:35,640 --> 00:02:42,630 inputs is a list containing some number, for example, one two three. 20 00:02:43,110 --> 00:02:46,980 And then we have created a one dimensional. 21 00:02:47,190 --> 00:02:47,550 All right. 22 00:02:48,090 --> 00:02:50,280 So it is a very simple 23 00:02:53,250 --> 00:02:58,350 membrane autonomous also to create some RNA. 24 00:03:00,430 --> 00:03:10,750 With some specificity, for example, if you want to have all number from zero to 50, you can do it 25 00:03:10,930 --> 00:03:16,850 without right manually, each number to do it. 26 00:03:16,870 --> 00:03:29,860 We can use the limited space function we need as inputs to tell to the function that we want to start 27 00:03:30,220 --> 00:03:35,150 from zero to 15. 28 00:03:36,430 --> 00:03:38,890 And here we want. 29 00:03:40,480 --> 00:03:40,960 One. 30 00:03:43,240 --> 00:03:43,960 Iteration. 31 00:03:46,860 --> 00:03:49,740 So it is very simple to create. 32 00:03:50,070 --> 00:03:52,370 Some are using Nampai. 33 00:03:52,530 --> 00:04:05,180 And here we can see that this number are not integral because this point means that all these no oh 34 00:04:05,280 --> 00:04:05,880 fruits. 35 00:04:06,330 --> 00:04:15,930 So it means that they are no which member after the point they are decimal number. 36 00:04:16,560 --> 00:04:25,170 If you want to have, for example, integral member for indexing something or for any other reason, 37 00:04:25,800 --> 00:04:28,560 you can use the Arends function. 38 00:04:31,680 --> 00:04:39,960 And this time you just have to put the thought and the stop, because we don't need the specify the 39 00:04:39,960 --> 00:04:46,080 number of iteration because we take only the integer number. 40 00:04:46,200 --> 00:04:50,010 So for example, if I want exactly the same thing 41 00:04:53,100 --> 00:05:02,370 with the orange function, we just have to put the start and the stop, and we have exactly the same 42 00:05:02,370 --> 00:05:11,180 array instead of this array containing fruit number. 43 00:05:11,190 --> 00:05:16,520 So decimal number and this all contain integer number. 44 00:05:16,530 --> 00:05:26,340 So it is relatively important to understand the difference between these two type of array, then. 45 00:05:26,700 --> 00:05:33,480 Let me show you how to create a two dimensional are ready to do it. 46 00:05:34,170 --> 00:05:40,590 We use exactly the same syntax as before, so we call a function. 47 00:05:42,350 --> 00:05:50,840 And here, if we want to create a two dimensional array, we don't need to put a list. 48 00:05:51,080 --> 00:05:54,650 But we need to put a list of lists. 49 00:05:57,170 --> 00:06:06,860 So here I create my right and then I need to put one list by rote. 50 00:06:06,980 --> 00:06:16,790 So if I want to create one two three four the first row, then I need to put a comma to separate or 51 00:06:16,790 --> 00:06:17,120 list. 52 00:06:53,260 --> 00:06:53,800 And then. 53 00:06:55,280 --> 00:07:02,360 We can print it as and as we can see we have three, zero and three column. 54 00:07:02,540 --> 00:07:05,600 So it is a two dimensional. 55 00:07:05,630 --> 00:07:06,020 All right. 56 00:07:06,560 --> 00:07:17,180 But usually we don't need to create our right because this array will be all data and we don't need 57 00:07:17,180 --> 00:07:18,280 to create the data. 58 00:07:18,290 --> 00:07:20,220 We need to import it MIT. 59 00:07:20,360 --> 00:07:26,420 But it's very important to understand how to create an array because sometimes it's very helpful. 60 00:07:28,400 --> 00:07:33,230 Now let me show you how to create some specific arrays. 61 00:07:34,820 --> 00:07:38,750 First, we are going to see how to create a new matrix. 62 00:07:39,530 --> 00:07:47,540 It is a very simple matrix because it is just a matrix with only zero. 63 00:07:50,120 --> 00:07:56,840 And to create it, we're going to use the zero function from Nampai. 64 00:07:58,170 --> 00:08:05,130 So we opened the barn to this and in the barn to this, we need to put the shape of the mattress that 65 00:08:05,130 --> 00:08:05,520 we want. 66 00:08:06,870 --> 00:08:16,740 So if we want a matrix with three rows and five columns, for example, we just have to put three five 67 00:08:17,130 --> 00:08:22,170 and we will have this matrix. 68 00:08:23,940 --> 00:08:29,110 Then we can create an identity matrix and then don't see. 69 00:08:29,160 --> 00:08:33,780 Matrix is one of the most no matrix because it is just. 70 00:08:35,740 --> 00:08:45,070 A clear metrics, so the matrix with the same number of rural and the same number of columns. 71 00:08:46,840 --> 00:08:50,890 This matrix is full of Zebo veriyor. 72 00:08:51,400 --> 00:08:57,130 Only one in all the coefficient in the diagonal. 73 00:08:58,940 --> 00:09:07,460 So we just need to put one number here, because a 09:22 matrix is a matrix. 74 00:09:07,640 --> 00:09:10,250 So if? 75 00:09:13,430 --> 00:09:14,270 I print it. 76 00:09:15,200 --> 00:09:16,280 So here is a. 77 00:09:18,860 --> 00:09:24,160 Now I will show you how to create a once matrix. 78 00:09:24,170 --> 00:09:26,790 So a matrix full or one. 79 00:09:26,840 --> 00:09:33,650 So it wasn't exactly with the same syntax as the further newer matrix. 80 00:09:41,330 --> 00:09:51,800 Now we need to learn how to handle some metrics or subtract some metrics. 81 00:09:52,610 --> 00:10:00,380 And it is very easy because you just need to do it like with no. 82 00:10:01,400 --> 00:10:12,650 The only difference is that to add two metrics, we need that this metrics have exactly the same shape. 83 00:10:13,220 --> 00:10:18,910 For example, here we have three and five and four note metrics. 84 00:10:18,920 --> 00:10:21,260 We have exactly the same thing. 85 00:10:21,590 --> 00:10:30,260 It's really mandatory because to add two metrics, we had the coefficient by coefficient. 86 00:10:30,260 --> 00:10:38,180 So if here I put a number size, we cannot have these two metrics and python tell us. 87 00:10:41,160 --> 00:10:48,450 So to subtract to mattress, we do exactly the same. 88 00:10:55,500 --> 00:11:04,530 And now we are going to see how to do this color multiplication in Python. 89 00:11:05,250 --> 00:11:12,690 It's government application is a very complex name for a very easy thing, which is only. 90 00:11:14,890 --> 00:11:24,670 How to multiply all of the coefficient of the matrix by a number, for example, if I take one and I 91 00:11:24,670 --> 00:11:29,080 want to multiply in all the coefficient by 10, for example. 92 00:11:32,030 --> 00:11:42,290 This is a color multiplication, so in this video, we have seen a lot of things, so I only invite 93 00:11:42,290 --> 00:11:46,080 you to play with this function to Winnie Muster. 94 00:11:46,130 --> 00:11:56,000 It's because Master Array is very mandatory to create your own project in algorithmic trading. 9187

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.