Data Science with Python Certification Practice Test

Data Science with Python NumPy Array Manipulation Questions and Answers

Free · Instant Results

A data scientist has a 2D NumPy array representing daily sales data for 4 products over 6 days, with a shape of (6, 4). They need to transform this array so that each row represents a product and each column represents a day. Which of the following NumPy operations will correctly perform this transformation?
▶ Start Practice Test