/CHBE241

:books: Course Materials for CHBE 241 - University of British Columbia :books:

Primary LanguageHTMLOtherNOASSERTION

Gitter chat

Useful Python tutorials by @corneliuscob

  1. Code Academy has one of the better tutorials for python
    • It is recommended to go up to lesson 8 to grasp the general usage of python syntax, conditions and functions.
    • Finish the entire python for more advanced concepts such as Object-Oriented Programming (this comes up in many other languages)
  2. Jeff Kantor's intro to Jupyter also has a very quick and dirty way of familiarizing yourself with the jupyter interface as well as work with some of the features that Jeff implements into the notebook.
    • Dowload Jeff's page by right-clicking the download button and click save as with the file suffix as .ipytnb
    • Install Anaconda, then run jupyter notebook from Anaconda's command prompt.
    • Open the Jeff's page in your own notebook to play with the code.
    • Shift-enter runs the code in every block segment of code.
  3. This Data Analytics Tutorial shows you step by step how to use the pandas library to analyze data and represent data.
    • You can start the tutorial from the header Importing libraries and the data set: in the jupyter notebook.
  4. Anacondas package installer is useful to download any packages not preinstalled onto your computer.
    • Environments are useful to run older versions of packages if there are compatibility issues.
    • on Jeff's page, he asks you to use pip install pint but if you use conda list, you can see that pint is a package in the conda library and can use conda to install it.
    • Using Pip is the alternative if the package is not in Conda.
  5. sphinx can be used to generate an online textbook like this one that's also exportable as a nice PDF document, all from the ipynb files.