We've updated our documentation. You can find the new version of this notebook here: https://python-visualization.github.io/folium/latest/user_guide/plugins/grouped_layer_control.html