Skip to content

Course Notes

Use this workspace to take notes, store code snippets, and build your own interactive cheatsheet!

# Import any packages you want to use here

Take Notes

Add notes here about the concepts you've learned and code cells with code you want to keep.

Set legend style -> Include this in the Visualisation notebooks to show the entire legend inside the map.

lgnd_kwds = {'title': 'School Districts', 'loc': 'upper left', 'bbox_to_anchor': (1, 1.03), 'ncol': 1}

Plot the school districts using the tab20 colormap (qualitative)

school_districts.plot(column = ____, ____ = 'tab20', ____ = True, ____ = lgnd_kwds) plt.xlabel('Longitude') plt.ylabel('Latitude') plt.title('Nashville School Districts') plt.show();

Review the following subjects:

  • apply lambda
Spinner
DataFrameas
df
variable

Add your notes here

# Add your code snippets here