Numpy Arrays - Python ** Python Mastery** CupofCode01

preview_player
Показать описание
Day 24 for 100 Days to Python Mastery

Arrays are collections of strings, numbers, or other objects. This tutorial demonstrates how to create and manipulate arrays in Python with Numpy.

Taking the form....

Рекомендации по теме
Комментарии
Автор

Your step-by-step explanation has made it easy to follow. Thank you. Your videos are really motivating.

ijeffking
Автор

Good stuff again Grant... In this video you switched from running the program the regular way to executing the selection inside the console. It took me a second to make that leap. This is super useful but I am a bit confused about the different pycharm run settings. In fact, the relationships between IDE, anaconda and the actual python.exe software are still a mystery to me. Perhaps there is better documentation on the Pycharm site. I will keep digging but wanted to chime in here in case others are having my same issues :) Thanks again!

caseymeehan
Автор

Thanks! These are awesome. Obviously late comment (1 year after publish), but I wanted to ask why the code run at 14 minutes (empty_1 = np.empty((2, 2), dtype=int) populated your array with the values you had assigned to the x array before sorting (10, 15, 22 and 44). The reason this confuses me is I didn't see you call x at all. Thanks again!

mendoek
Автор

Hey Grant, what is the practical application of this in relation to where would one use this approach and in what context? Is there an example of where this would come in handy?

EyeIn_The_Sky
Автор

Thanksa lot. I've learned a lot. I have a question here. When I appended x = [10, 15, 22, 44]
x =np.append(x, [[30, 40, 50], [1, 4, 100]]), I get an array [ 10 15 22 44 30 40 50 1 4 100], which is correct. But if I appended [[30, 40, 50], [1, 4, 100, 5]], I get [10 15 22 44 list([30, 40, 50]) list([1, 4, 100, 5])]. Doe that mean I can not append two different size of list into original array?

yen-pochen
Автор

Do you know when you'll be making videos on algorithms or machine learning

michaell