NordicESMhub / deep_python

Python for Dynamics and Evolution of Earth and Planets
https://nordicesmhub.github.io/deep_python/
Other
3 stars 8 forks source link

Plan for the day (lessons soon to be submitted) #10

Closed yellowchocobo closed 5 years ago

yellowchocobo commented 5 years ago

I was thinking about making lessons about:

I will save the lessons into markdown and try to modify those files to the format of the carpentry template workshop. I might ask you some help with that.

annefou commented 5 years ago

use setup.md: it contains already how to start a jupyter notebook but nothing on Spyder and jupyterlab). to be noted that spyder is meant to be used for debugging python codes (we could show some examples; but probably not as part of the first 2 days).

use 07-visluzation.md: the current drafted list of items needs to be updated too...

01-numpy.md and 06-pandas.md

One important thing to highlight is that numpy is used in most other packages dealing with arrays i.e. pandas, xarrays, scipy, etc. So learning numpy is very important

06-pandas.md

annefou commented 5 years ago

For the first 2 days, I guess we can have:

  1. Analyzing Tabular Data
  2. Repeating Actions with Loops
  3. Storing Multiple Values in Lists
  4. Analyzing Data from Multiple Files
  5. Making Choices
  6. Working with Pandas dataframes
  7. Working with xarray
  8. Making plots with python
  9. Creating Functions
  10. Errors and Exceptions
  11. Command-Line Programs
  12. Defensive Programming
  13. Debugging

What do you think @yellowchocobo ?

yellowchocobo commented 5 years ago

That sounds nice! I did not work with xarray yet but I guess it should not be too difficult to get familiar with this module? I am going to work both Saturday and Sunday (not the whole day but a little bit on both days. Hope to get things ready by Monday 💃 .

Btw, if I want to push a change what is the best? Fork the project, create a dev-branch, make changes, and make a push request? I am still trying to get use to GitHub :)

annefou commented 5 years ago

Yes, the easiest is to fork the repo, create a branch and make a pull request to nordicesmhub repo. Don't forget to sync your repo with mine before your pull request.

Let me know if you have problems.

yellowchocobo commented 5 years ago

Thanks

yellowchocobo commented 5 years ago

I will finish the lessons tomorrow. I got pretty far with all of them but still some work

yellowchocobo commented 5 years ago

I just have a copy locally for now