Numpy Part 9 - Fancy indexing in Numpy

preview_player
Показать описание
In this video, we will learn about a quick and useful trick called Fancy Indexing About CampusX:

CampusX is an online mentorship program for engineering students. We offer a 6-month long mentorship to students in the latest cutting - edge technologies like Machine Learning, Python, Web Development, and Deep Learning & Neural networks.

At its core, CampusX aims to change this education system of India. We believe that high-quality education is not just for the privileged few. It is the right of everyone who seeks it. Through our mentorship program, we aim to bring quality education to every single student. A mentored student is provided with guidance on how to ace a technology through 24x7 mentorship, live and recorded video lectures, daily skill-building activities, project assignments, and evaluation, hackathons, interactions with industry experts, soft skill training, personal counseling, and comprehensive reports. All we need from you is intent, a ray of passion to learn.

Connect with us:

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

1st 3rd and 5th row can be accessed by arr8[::2]

kali
Автор

arr8[0 : : 2]
1st, 3rd, 5th row 🙏❤️❤️❤️

PARTHA
Автор

# Create a sample array
# Use fancy indexing to select columns 2, 5, and 100
selected_columns = arr[:, [1, 4, 99]]

tarunsingh