Git Product home page Git Product logo

scientific-python-workshop's Introduction

AIMS Scientific Python Workshop

Binder

Schedule

Day 1

Time Topic Packages
9:00-10:30 Introduction to Python
10:30-10:45 Break
10:45-12:15 IPython and Jupyter IPython, Jupyter
12:15-13:15 Lunch
13:15-14:45 Scientific Python Programming NumPy, SciPy
14:45-15:00 Break
15:00-16:30 Plotting in Python Matplotlib, Bokeh

Day 2

Time Topic Packages
9:00-10:30 Introduction to pandas pandas
10:30-10:45 Break
10:45-12:15 Data Wrangling with pandas (I) pandas
12:15-13:15 Lunch
13:15-14:45 Data Wrangling with pandas (II) pandas
14:45-15:00 Break
15:00-16:30 Python for Data Analysis pandas, NumPy, SciPy

Software Installation

This workshop is taught using Python 3 and the "Scientific Stack", a set of core scientific computing packages written and maintained by various third parties.

Python

The first step is to install Python on your computer. I will be teaching this course based on Python 3.5. If Python 3 is not on your system, you can either download an installer from Python.org or install a third-party distribution (see below). I recommend the latter, since these distributions are enhanced, containing most or all of the packages required for the course.

In addition to Python itself, we will be making use of several packages in the scientific stack. These include the following:

All-in-one Scientific Python

Perhaps the easiest way to get a feature-complete version of Python on your system is to install the Anaconda distribution by Continuum Analytics. Anaconda is a completely free Python environment that includes includes almost 200 of the best Python packages for science and data analysis. Its simply a matter of downloading the installer (either graphical or command line), and running it on your system.

Be sure to download the Python 3.5 installer, by following the Python 3.5 link for your computing platform (Mac OS X example shown below).

get Python 3

To install the packages required for this course, the easiest and safest way is to create a suitable environment by typing the following in your terminal:

conda create -n pyaims python=3 sympy numpy scipy jupyter ipyparallel pandas matplotlib scikit-learn seaborn patsy pymc

This creates a self-contained Python environment in your home directory (called pyaims) that includes all the packages you will need, along with their dependencies. To use this environment at any time, type:

source activate pyaims

To exit the pyaims environment, you can switch it off via:

source deactivate

Alternatively, if you would rather not set up a Python environment on your machine, you may run the course materials using binder by clicking on the launch binder button at the top of this page.

Downloading Course Materials

The final step is accessing the course materials. If you are familiar with Git, you can simply clone this repository:

git clone https://github.com/fonnesbeck/scientific-python-workshop.git

Otherwise, you may download a zip archive containing the course content. Near the top right-hand part of the repository main page, you should see a Download ZIP button.

download zip

Clicking this will initiate the download. Unzipping the file (or cloning the repo) will generate a directory called scientific-python-workshop, within which will be the same directory structure that you see at the top of the repository main page, which includes two subdirectories:

  • data
  • notebooks

We will be accessing the Jupyter notebook files (suffix .ipynb) in the notebooks subdirectory.

scientific-python-workshop's People

Contributors

timburgess avatar

Watchers

James Cloos avatar Muslih. A. Abdul-Aziz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.