Skip to content

xbresson/CE9010_2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CE9010: Introduction to Data Analysis
Semester 2 2018/19
Xavier Bresson



Running Python notebooks without local Python installation


    Run the notebooks from the cloud using Binder: Simply click here.



Local Python installation


Follow the following instructions to install Miniconda and create a Python environment for the course:

  1. Download the Python 3.6 installer for Windows, macOS, or Linux from https://conda.io/miniconda.html and install with default settings. Note for Windows: If you don't know if your operating system is 32-bit or 64-bit, then open Settings-System-About-System type to find out your xx-bit system.

    • Windows: Double-click on the Miniconda3-latest-Windows-x86_64.exe file.
    • macOS: Run bash Miniconda3-latest-MacOSX-x86_64.sh in your terminal.
    • Linux: Run bash Miniconda3-latest-Linux-x86_64.sh in your terminal.
  2. Windows: Open the Anaconda Prompt terminal from the Start menu. MacOS, Linux: Open a terminal.

  3. Install git: conda install git.

  4. Download the GitHub repository of the course: git clone https://github.com/xbresson/CE9010_2019.

  5. Go to folder CE9010_2019 with cd CE9010_2019, and create a Python virtual environment with the packages required for the course: conda env create -f environment.yml. Note that the environment installation may take some time.

    Notes:
    Direct link to conda is https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh for Linux, https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh for MacOS and https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe for Windows.
    The installed conda packages can be listed with conda list.
    Some useful Conda commands are pwd, cd, ls -al, rm -r -f folder/
    Add a python library to the Python environment: conda install -n CE9010_2019 numpy (for example)
    Read Conda command lines for packages and environments
    Read managing Conda environments



Running local Python notebooks


  1. Windows: Open the Anaconda Prompt terminal from the Start menu. MacOS, Linux: Open a terminal.

  2. Activate the environment. Type: conda activate CE9010_2019.

  3. Download the python notebooks. Go to folder CE9010_2019/ with cd CE9010_2019, and type the command git pull.

  4. Go to folder CE9010_2019/tutorials and duplicate the original notebook tutorial01.ipynb to a new folder (for example) my_CE9010_2019/ outside folder CE9010_2019/ to avoid future git conflicts.

  5. Go to folder my_CE9010_2019/ and start Jupyter with jupyter notebook. The command opens a new tab in your web browser.

  6. Open, edit and run the notebook tutorial01.ipynb in your browser.

    Notes:
    Windows: Folder CE9010_2019 is located at C:\Users\user_name\CE9010_2019. MacOS, Linux: /Users/user_name/CE9010_2019.
    List of git commands







About

CE9010 Introduction to Data Analysis, 2019

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published