Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

Smart way to create matrix in Python
2 years ago
21
Matrix
Python matrix
NumPy
Smart matrix
Isomorphic matrix
Script
Function
Functions
Square matrix
Square matrices
List
This video shows you how to create square matrices in Python using normal lists and NumPy.
Using NumPy has the advantage to reduce the amount of code when working with matrices.
Matrices are called multidimensional arrays in NumPy.
0:00 Intro
0:34 Recap: list data structure
1:12 Nested lists
1:31 Limitations of lists
1:45 NumPy
2:00 Python script: main function
4:04 The `gen_matrix` function
4:59 The `matrix_set` function
5:16 the `tolist` method
5:45 Outtro
#python #matrix #numpy #functions #programming
Loading comments...
-
2:12
From Zero → Viral with AI
1 day ago🚀 AI Marketing Isn’t Just for Big Brands Anymore — Here’s Why
27 -
9:51:58
Dr Disrespect
11 hours ago🔴LIVE - DR DISRESPECT - 10 WINS ON CONTROLLER - BO7 TOMORROW
268K17 -
1:24:56
Glenn Greenwald
5 hours agoTrump Declares Cities as the Enemies Within; Reagan Appointed Judge Slams Trump Over Speech Crackdowns; American ER Doctor on Gaza Atrocities | SYSTEM UPDATE #524
96.4K79 -
LIVE
I_Came_With_Fire_Podcast
11 hours agoPete Hegseth and the Chamber of Standards | Digital IDs | Taiwan Chips & Salsa | CDL Crisis
212 watching -
LIVE
Adam Does Movies
10 hours agoTalking Movies + Ask Me Anything - LIVE
34 watching -
29:11
Nick Shirley
3 hours ago $0.97 earnedPortland has Fallen... ANTIFA Take Control of City
5.93K9 -
1:19:00
VapinGamers
2 hours ago $0.20 earnedJump Space - We All Scream in Space - Early Access - !rumbot !music
7.95K -
1:50:12
Joker Effect
2 hours ago(Kick) Streamers Have Ruined The Streaming Landscape and Here is How! Reviewing Phase Partners...
15.2K1 -
3:46:40
The Blood Lust Gaming
4 hours agoClair Obscur: Expedition 33 - LVL 1 challenge run pt.3
7.42K -
2:11:38
Nikko Ortiz
3 hours agoPTSD Is Fun Sometimes | Rumble LIVE
18.3K2