AI engineering glossary · NumPy pandas visualization

What is array view?

Array view: A new array object that looks at the same block of memory as another array instead of holding its own data. Slices and reshapes usually give views. Writing through a view changes the original, which is efficient but can cause surprising side effects.

Level: intermediateTopic: NumPy pandas visualization

Array view: an example

b = a[:3] makes a view; setting b[0] = 99 also changes a[0] to 99.

Related terms

More NumPy pandas visualization terms

Where you learn it

Array view is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.