Plotting arrays with randomly generated numbers is great for learning, but the real fun comes when you can visualize large sets of data. In this video, you’ll be working with a very large file that contains macroeconomic California housing data.
You’re going to use numpy to extract only what you need into one-dimensional arrays. Then, you’ll plot that data with matplotlib and learn more about advanced grid spacing.
If you’re having trouble downloading the CaliforniaHousing data set via urlopen() in the Python code, please download it here and extract it into the correct folder:
Bartosz Zaczyński RP Team on Feb. 12, 2021
@ab It looks like you’ve got a missing comma.
Expected:
Actual: