Data analysis labNumPy problems

Problem 35 of 50 · Shape · Easy

Flatten a table

Read a matrix back out as one row.

Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.

Print the table as a 1-D array, row by row. ravel returns a flat view of the same numbers.

1

Your solution

2

Scratch