You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relying too much on index based access can have performance impacts - mention for a, b in zip(as, bs) as alternative. Explain zip() returns generator/iterator.
Avoid use of .keys() in for loops.
Update bokeh imports - from bokeh.io import gridplot is now from bokeh.layouts import gridplot
Introduce with and clarify that closing files is important.
There are some cases of \ at the end of the line to visual line breaking. This was confusing in the context of \.format().
The text mentions pip install but since we are using anaconda we should probably install things with conda ...
A few people ran into the situation where they accidentally emptied one of the provided files by opening it in 'w' mode. Can we maybe make this more robust to avoid accidentally deleting the file or making a copy to simplify the process of recovering from this mistake.
The text was updated successfully, but these errors were encountered:
We have some legacy references that are somewhat confusing for newcomers. Listing them here for later edit.
myDict.keys()
returns a list of keys when in fact it returns a view in py3[range()]
vslist(range())
which produce different results under Python 3 and were found to be confusing..format()
andf-strings
.for a, b in zip(as, bs)
as alternative. Explainzip()
returns generator/iterator..keys()
in for loops.from bokeh.io import gridplot
is nowfrom bokeh.layouts import gridplot
with
and clarify that closing files is important.\
at the end of the line to visual line breaking. This was confusing in the context of\.format()
.pip install
but since we are using anaconda we should probably install things withconda ...
'w'
mode. Can we maybe make this more robust to avoid accidentally deleting the file or making a copy to simplify the process of recovering from this mistake.The text was updated successfully, but these errors were encountered: