Skip to content

guiwitz/NumpyPandas_course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binder Open In Colab

Introduction to Numpy and Pandas

This repository contains Jupyter notebooks introducing beginners to the Python packages Numpy and Pandas. The material has been designed for people already familiar with Python but not with its "scientific stack".

This material has been created by Guillaume Witz (Science IT Support, Microscopy Imaging Center, Bern University) in the frame of the courses offered by ScITS.

Content

The course has the following content:

Numpy

Pandas

Running the course

Live sessions

During live sessions of the course, you are given access to a private Jupyter session and don't need to install anything no your computer.

Without installation

Outside live-sessions, this entire course can still be run interactively without any local installation thanks to the mybinder service. For that just click on the mybinder tag at the top of this Readme. This will open a Jupyter session for you with all packages, notebooks and data available to run.

Alternatively you can also run the course on Google Colab. For that just click on the Colab badge at the top of this file.

Local installation

For a local installation, we recommend using conda to create a specific environment to run the code. If you don't yet have conda, you can e.g. install miniconda, see here for instructions. Then:

  1. Clone the repository to your computer using this link and unzip it
  2. Open a terminal and move to the NumpyPandas_course-master/binder folder
  3. Here you find an environment.yml file that you can use to create a conda environment. Choose an environment name e.g. numpypandas and type:
    conda env create -n numpypandas -f environment.yml
    
  4. When you want to run the material, activate the environment and start jupyter:
    conda activate numpypandas
    jupyter lab
    
    Note that the top folder of your directory in Jupyter is the folder from where you started Jupyter. So if you are e.g. in the binder folder, move one level up to have access to the notebooks

Note on the data used

In the Pandas part, we use some data provided publicly by the Swiss National Science foundation at this link: http://p3.snf.ch/Pages/DataAndDocumentation.aspx#DataDownload. The examples of analysis on these data are in no way confirmed or validated by the SNSF and are entirely the work of Guillaume Witz, Science IT Support, Bern University.

About

Introduction to Numpy and Pandas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages