NumPy Slicing and Accessing Subarrays - Complete Python NumPy Tutorial for Beginners #5

Опубликовано: 20 Февраль 2025
на канале: StrataScratch
1,344
21

This is the complete Python NumPy tutorial for beginners video #5 and in this video, we talk about NumPy slicing and accessing subarrays using indices in Python. We start by creating a few NumPy arrays using native NumPy functions like np.arange() and then learn the syntax and approach to access multiple elements in a python NumPy array such as using the start:stop:step syntax in an array index. We also learn how to use reverse steps to access multiple elements from the end of the array. Lastly, we talk about accessing subarrays of multidimensional NumPy arrays.

Let me know if you have any questions and please offer feedback on how I can improve to help you better.

If you enjoyed this video, please throw in a like and subscribe to my channel. I’ll be posting a lot more videos on data science concepts that cover all things python and SQL.

------------------------------------------
Subscribe to my channel: https://bit.ly/2WOgqil
------------------------------------------
Follow along interactively and execute code with me as I walk through the concepts!

Python notebook used in the video: https://bit.ly/2YWbiLU

Here’s help on how to run a python notebook using Google Colabs: https://bit.ly/2YXKR8o

Much of the content was adapted from the book and GitHub of Jake VanderPlas’s Python Data Science Handbook: https://jakevdp.github.io/PythonDataS...
------------------------------------------

Trying to improve your python skills or prepare for your next technical interview? Practice with over 500+ interactive python questions on a full-fledged coding workspace that requires no installation on Strata Scratch - https://www.stratascratch.com - and use the promo code ‘ss15’ for a 15% discount on the platform!