Skip to content

bretonr/python_skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_skills

Tips and tricks to improve python coding skills

General concepts

  • Using ipython vs python vs jupyter notebooks
  • Setting up environment (shell and code window)
  • Use of ? and ?? for documentation
  • Use of %pylab

Array algebra

  • Numpy array broadcasting

Array algebra in practice

  • Example 1: the cross-matching
  • Code debugging: icecream
  • Code profiling: %timeit, yappi

Good coding practices

  • Example 2: the burst simulation
  • Module import
  • Array algebra
  • Placing the right bits at the right place
  • Plotting

Parallelising code

  • General concepts

About

Tips and tricks to improve python coding skills

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages