I completed this course in Q1 2020, with the aim to refresh my python skills in preparation for learning and applying ML/AI libraries such as scikit-learn, tensorflow/keras etc. See below a brief summary I've put together of what was covered.
- Learning different class types and methods on those classes to structure our data appropriately as well as some basic functions.
- if statements and for loops as well as some new functions such as enumerate
- Parameters (name) and arguments (matt).
- Defining functions.
- Scope - what does the function have access to.
- Terminal, code editors, IDE's and notebooks explained.
- Generating our own classes and methods on those classes.
- 4 pillars of OOP: encapsulation, abstraction, inheritance, and polymorphism.
- Introspection and dunder methods.
- Super inheritance and method resolution order.
- map, filter, zip and reduce (all higher order functions).
- Lambda expressions.
- Comprehension, list, set and dict.
- Higher order functions.
- Passing in parameters and decorator syntax.
- Performance decorator & authenticate decorator.
- while true, try, except, else (break), finally - syntax.
- raise & exception statement.
- for i in range(n) .. yield.
- Allows the user to pass through a range one at a time without having a list in memory.
- Installing packages from pypi with pip.
- Importing build in modules and installed modules as well as individual functions, including sys.
- pdb python debugger.
- File input/output.
- with statement and r(+), w(+) or a(+) modes. Main difference is where the stream is positions and ability to truncate.
- These are used to test the contents of a string, useful for things like password or email validation.
- Looked at unittest and how to use it to spot areas for improvement in your code.
- Brief section on what career options are available.
- Image_processing -> using PIL and Pillow to filter, resize and convert images from JPG to PNG.
- PDF_Processing -> using PyPDF2 to combine, rotate and merge PDF's. Learned how to open a PDF by using instantiating it as a PdfFileReader or PdfFileWriter class.
- Using the beautiful soup api to scrape web data.