Closed TomDonoghue closed 2 years ago
Many thanks for the very helpful feedback @TomDonoghue. Will go through your comments and will write back when I manage to address them.
In relation to the notes on formatting, the code now conforms to PEP 8 by running automated code formatters Black and flake8 on Jupyter through nbQA.
The printing of long elements was reduced by:
To address the notes on content, added the following sections in the notebook 'Python for Data Analysis on the Cloud':
The updates all look good to me!
This issue / suggestion is related to the JOSE review.
Here I'm collecting a few thoughts on the notebooks.
Notes on formatting:
# Create a variable 'mobility_category' in
pattern_discovery_unsupervised_learning`, the spacing is all inconsistent.=
in assignment in function callspattern_discovery_unsupervised_learning
don't follow this.pattern_discovery_unsupervised_learning
, the notebook at times prints out the full arrays, which makes for long segments of scrolling through numbers. I think it would be preferable to print out an example row or so, rather than full arrays.!pip freeze
inopen_reproducible_workflows
andsns.catplot?
indata_exploration_visualization
have long print outs, where it's clear it's ideal to have the full output printed.Notes on content:
!pip install X
) in some notebooks. To the unfamiliar user, it might not be clear what these elements are, and that they are something different from Python commands. I didn't notice these things described anywhere (though I might have missed it). If it's not already somewhere, perhaps adding some quick notes somewhere (perhaps inpython_data_science_cloud
) would help clarify these things (that Jupyter notebooks aren't always directly running Python code, and that this special syntax exists for running other things).