How does NumPy support multi-dimensional data?
The question is about NumPy
Answer:
NumPy supports multi-dimensional data through its ndarray structure, which allows arrays of any dimension. Functions like reshape and transpose facilitate rearranging data. Indexing, slicing, and broadcasting enable efficient manipulation and computation across dimensions, making it ideal for handling tensors, matrices, and high-dimensional datasets used in scientific computing and machine learning.