We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few more comments to add (from what I noted):
add note about range on day 1 exercises?
A bit of earlier info on indexing or slices?
Link to cheatsheet for string formatting (when introducing f strings): https://kapeli.com/cheat_sheets/Python_Format_Strings.docset/Contents/Resources/Documents/index
Q on how to get co2e to 2dp? co2e_2dp = [float(f"{x:.2f}") for x in co2e] (can also use built in round() function)
co2e_2dp = [float(f"{x:.2f}") for x in co2e]
round()
Flag up numpy for matlab link earlier? https://numpy.org/doc/stable/user/numpy-for-matlab-users.html
Update section on common mistakes:
try: a = np.array(1,2,3,4) # WRONG, only 2 non-keyword arguments accepted except TypeError as err: print('TypeError: ',err) # help(np.array)
Fix link to lists: https://github.com/ueapy/pythoncourse2020-materials/blob/master/notebooks/07-Built-in-Data-Structures.ipynb
a[2:9:3] # [start:end:step]
Indexing in practice: x.sort()
x.sort()
Ex2 - typo in solutions
Note boolean arrays have to have same shape as those they're passed to.
Copies - mention earlier link to pointers.
Operations over axes - improve description of who this works, e.g. chosen axis will "collapse"?
NB. reshape used before discussed later.
Ex5 - typo (on-of)
Solutions: need to reshape 5x5
Broadcasting:
a1d.reshape(5,1) + a2d
Q - How to extract mask from masked array?
Q - How to find number of nan values in an array? - np.sum(np.isnan(a))?
np.sum(np.isnan(a))
df = pd.DataFrame({'OLR': olr_df.Value, 'SOI': soi_df.Value})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A few more comments to add (from what I noted):
Website:
Notebooks
02
Day 1 exercises
add note about range on day 1 exercises?
A bit of earlier info on indexing or slices?
Link to cheatsheet for string formatting (when introducing f strings): https://kapeli.com/cheat_sheets/Python_Format_Strings.docset/Contents/Resources/Documents/index
Q on how to get co2e to 2dp?
co2e_2dp = [float(f"{x:.2f}") for x in co2e]
(can also use built in
round()
function)14 - Numpy:
Flag up numpy for matlab link earlier? https://numpy.org/doc/stable/user/numpy-for-matlab-users.html
Update section on common mistakes:
Fix link to lists: https://github.com/ueapy/pythoncourse2020-materials/blob/master/notebooks/07-Built-in-Data-Structures.ipynb
a[2:9:3] # [start:end:step]
Indexing in practice:
x.sort()
Ex2 - typo in solutions
Note boolean arrays have to have same shape as those they're passed to.
Copies - mention earlier link to pointers.
Operations over axes - improve description of who this works, e.g. chosen axis will "collapse"?
NB. reshape used before discussed later.
Ex5 - typo (on-of)
Solutions: need to reshape 5x5
Broadcasting:
a1d.reshape(5,1) + a2d
Q - How to extract mask from masked array?
Q - How to find number of nan values in an array? -
np.sum(np.isnan(a))
?15:
xarray
18
df = pd.DataFrame({'OLR': olr_df.Value, 'SOI': soi_df.Value})
The text was updated successfully, but these errors were encountered: