Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
swc-bb
swc-lessons
python-notebooks
Commits
1807d1ce
Commit
1807d1ce
authored
Oct 13, 2017
by
Frank Hellmann
Committed by
GitHub
Oct 13, 2017
Browse files
Outline update
parent
84604d5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
outline.md
View file @
1807d1ce
...
...
@@ -26,23 +26,28 @@
### Session AM2 Shell
Wishlist:
-
path variables
-
.bashrc (important for conda)
### Session PM1 GIT
-
git add -i (to use later)
### Session PM2 Python Intro (basic overview) (Sebastian)
-
python
-
anaconda+conda+jupyter+history(+dependencies)
-
notebooks vs. interpreter vs. scripts (sehr kurz)
-
object types (string, number, boolean, complex, etc) and operators
-
data structures (tuples, lists, dicts, nparrays, panda
.df
, etc)
-
data structures (tuples, lists, dicts, nparrays, panda
s.Dataframe
, etc)
-
list comprehensions
-
provided functions + methods, attributes
-
(where/how to find help / documentation)
-
control flow: loops + conditionals
-
(code indentation)
-
numpy
-
(io, for example simply iterating over a csv we will use later)
-
read file, simple plot (or in session PM2)
### What is missing?
...
...
@@ -52,36 +57,44 @@
## DAY 2 AM
### Session AM1 Python (structuring code, defensive programming, using prepared ts files) (Frank)
### Session AM1 Python (structuring code, numpy, using prepared ts files) (Frank)
-
write function + module
-
put under version control
-
documentation
-
write script + call from bash
-
traceback, errors
-
numpy
-
%timeit and numba
-
put under version control
-
numpy
-
simple ploting (read from csv we used earlier)
-
%timeit and numba (mention more detailed profiling tools)
not covered: closures,
argpars, numba
not covered: closures,
functional stuff
### Session AM2: (Tim, Marius)
### Session AM2:
defensive programming, errors, commandline integration
(Tim, Marius)
-
simple test (assert)
-
-
tests (assert)
-
traceback, errors (%debug magic maybe?)
-
write script + call from bash (leading to final project, commit the finished scripts)
-
debugging (non interactive)
## DAY 2 PM
### Session PM1: Time series, functions, plotting (Robert)
### Session PM1: Time series, functions, plotting (Robert
/Benoit?
)
-
reading + understanding documentation of functions
Global temperature average development 1750-2010
http://berkeleyearth.lbl.gov/auto/Global/Raw_TAVG_complete.txt
-
pandas basics ("numpy with index and labels")
-
download file (optional: call shell with wget from python/R)
-
read, process
-
moving average
-
plot with uncertainty band
-
write function (exercise!)
-
Big question, what aspects of our previous work can we use here? Celsius to Fahrenheit function for example.
### Session PM2: Git in practice (optional if we ran out of time)
-
Joachim zeigt higher dimensional (spatial) data, advanced plotting + cartography (tool showcase)
-
read netcdf file
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment