Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjekel/introduction-to-python-numerical-analysis-for-engineers-and-scientist
Introduction to Python: Numerical Analysis for Engineers and Scientist. In 2017, Python became the world's most popular programming language. This course covers the basic syntax, linear algebra, plotting, and more to prepare students for solving numerical problems with Python.
https://github.com/cjekel/introduction-to-python-numerical-analysis-for-engineers-and-scientist
anaconda engineer introduction-to-programming introduction-to-python jupyter-notebook linear-algebra numerical-analysis plotting python scientists students
Last synced: about 2 months ago
JSON representation
Introduction to Python: Numerical Analysis for Engineers and Scientist. In 2017, Python became the world's most popular programming language. This course covers the basic syntax, linear algebra, plotting, and more to prepare students for solving numerical problems with Python.
- Host: GitHub
- URL: https://github.com/cjekel/introduction-to-python-numerical-analysis-for-engineers-and-scientist
- Owner: cjekel
- License: mit
- Created: 2017-11-27T18:17:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-29T20:59:47.000Z (over 6 years ago)
- Last Synced: 2024-10-04T23:42:06.713Z (3 months ago)
- Topics: anaconda, engineer, introduction-to-programming, introduction-to-python, jupyter-notebook, linear-algebra, numerical-analysis, plotting, python, scientists, students
- Language: Jupyter Notebook
- Homepage:
- Size: 11.7 MB
- Stars: 132
- Watchers: 13
- Forks: 62
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# About
Python is a general purpose programming language. This course covers the basics, linear algebra, plotting, and more to prepare students for solving numerical problems with Python. Python is a viable free and open alternative to MATLAB. Prerequisite: Some intro to programming course or equivalent.This is a 1 credit hour course that was taught in the [MAE department](http://www.mae.ufl.edu/) at the University of Florida during the Fall 2017 semester. There are fourteen 50 minute lectures.
View the [syllabus](syllabus/syllabus.pdf)!
View the [course flyer](PythonProgrammingEML6934.pdf) used for advertising the course within the department.
# Why
During the 2016 academic year I noticed that there were a large number of students wanting to learn Python. Unfortunately for the students, there are limited opportunities at UF to learn and apply Python. To fill this void, I created a 1 credit hour course on Python tailored for graduate students in the MAE department.# References
These books were the inspiration for a large portion of the lectures.1. J. VanderPlas. A Whirlwind Tour of Python. O'Reilly Media 2016. https://github.com/jakevdp/WhirlwindTourOfPython http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.pdf
2. J. VanderPlas. Python Data Science Handbook: Essential Tools for Working with Data. O'Reilly Media 2016. https://github.com/jakevdp/PythonDataScienceHandbook http://shop.oreilly.com/product/0636920034919.do
3. W. McKinney. Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython 2nd Edition. O'Reilly Media 2017. http://shop.oreilly.com/product/0636920050896.do https://github.com/wesm/pydata-book# Course material
Lectures were performed using the presentation slides along with a Jupyter Notebook. If you are working through this material on your own, I recommend that you interact with the Jupyter Notebook while following through the lecture slides. Jupyter Notebooks can be launched after installing [Anaconda](https://www.anaconda.com/download) (with Spyder) or [Canopy](https://store.enthought.com/downloads/). Supplementary material, including files necessary to complete the home work, is available in the lecture folders.
| Lecture Description | Slides | Jupyter Notebook | Home Work | Solutions |
| ------------- | ------------- |:----------------:| :--------:| :--------:|
|About Python (2 vs 3), IDEs, IPython , notebooks, and installation| [lecture00.pdf](lectures/lecture00/lecture00.pdf) | NA | [hw00.pdf](lectures/lecture00/hw00.pdf) | NA |
| Basics: data types, math, loops | [lecture01.pdf](lectures/lecture01/lecture01.pdf) | [lecture01.ipynb](lectures/lecture01/lecture01.ipynb) | [hw01.pdf](lectures/lecture01/hw01.pdf) | [HW01 Solution](homework_solutions/HW01/) |
| Loops, functions, classes, objects| [lecture02.pdf](lectures/lecture02/lecture02.pdf) | [lecture02.ipynb](lectures/lecture02/lecture02.ipynb) | [hw02.pdf](lectures/lecture02/hw02.pdf) | [HW02 Solution](homework_solutions/HW02/) |
| Objects, Namespace, Python libraries, and pip | [lecture03.pdf](lectures/lecture03/lecture03.pdf) | [lecture03.ipynb](lectures/lecture03/lecture03.ipynb) | [hw03.pdf](lectures/lecture03/hw03.pdf) | [HW03 Solution](homework_solutions/HW03/) |
| Numpy and Matrix operations | [lecture04.pdf](lectures/lecture04/lecture04.pdf) | [lecture04.ipynb](lectures/lecture04/lecture04.ipynb) | [hw04.pdf](lectures/lecture04/hw04.pdf) | [HW04 Solution](homework_solutions/HW04/) |
| More Numpy and Matplotlib for 2D plots (First quiz 15 mins before end of class) | [lecture05.pdf](lectures/lecture05/lecture05.pdf) | [lecture05.ipynb](lectures/lecture05/lecture05.ipynb) | [hw05.pdf](lectures/lecture05/hw05.pdf) | [HW05 Solution](homework_solutions/HW05/) |
| Contour plots, 3D plot, Histograms | [lecture06.pdf](lectures/lecture06/lecture06.pdf) | [lecture06.ipynb](lectures/lecture06/lecture06.ipynb) | [hw06.pdf](lectures/lecture06/hw06.pdf) | [HW06 Solution](homework_solutions/HW06/hw06_solution.py) |
| Statistical distributions and functions | [lecture07.pdf](lectures/lecture07/lecture07.pdf) | [lecture07.ipynb](lectures/lecture07/lecture07.ipynb) | [hw07.pdf](lectures/lecture07/hw07.pdf) | [HW07 Solution](homework_solutions/hw07_solution.py) |
| Optimization in Scipy | [lecture08.pdf](lectures/lecture08/lecture08.pdf) | [lecture08.ipynb](lectures/lecture08/lecture08.ipynb) | [hw08.pdf](lectures/lecture08/hw08.pdf) | [HW08 Solution](homework_solutions/hw08_solution.py) |
| Python read and write: opening and modifying text/csv files | [lecture09.pdf](lectures/lecture09/lecture09.pdf) | [lecture09.ipynb](lectures/lecture09/lecture09.ipynb) | [hw09.pdf](lectures/lecture09/hw09.pdf) | [HW09 Solution](homework_solutions/hw09_solution.py) |
| Symbolic math with SymPy , DOE with pyDOE (Second quiz 15 mins before end of class) | [lecture10.pdf](lectures/lecture10/lecture10.pdf) | [lecture10.ipynb](lectures/lecture10/lecture10.ipynb) | [hw10.pdf](lectures/lecture10/hw10.pdf) | [HW10 Solution](homework_solutions/hw10_solution.py) |
| Scikit-learn: surrogate modeling | [lecture11.pdf](lectures/lecture11/lecture11.pdf) | [lecture11.ipynb](lectures/lecture11/lecture11.ipynb) | [hw11.pdf](lectures/lecture11/hw11.pdf) | [HW11 Solution](homework_solutions/hw11_solution.py) |
| Scikit-learn: surrogate modeling and machine learning | [lecture12.pdf](lectures/lecture12/lecture12.pdf) | [lecture12.ipynb](lectures/lecture12/lecture12.ipynb) | [hw12.pdf](lectures/lecture12/hw12.pdf) | [HW12 Solution](homework_solutions/hw12_solution.py) |
| Pandas and DataFrames / Review for final | [lecture13.pdf](lectures/lecture13/lecture13.pdf) | [lecture13.ipynb](lectures/lecture13/lecture13.ipynb) | [hw13.pdf](lectures/lecture13/hw13.pdf) | [HW13 Solution](homework_solutions/hw13_solution.py) |[Quiz](/quiz)
[Exam](/exam)
# Python Code Editing environment
If you are just starting out with Python, I highly recommend installing [Anaconda](https://www.anaconda.com/download/). Anaconda will include the most popular scientific libraries. My favorite text editor / IDE for Python is [Visual Studio Code](https://code.visualstudio.com/) which is free and open source. I have a blog post on how to [setup Code for Python](https://jekel.me/2018/Visual-studio-code-Python-setup/). Code has many wonderful features for working with Python, and will help you write Python code that follows the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide.