Coder Social home page Coder Social logo

scientific_programming's Introduction

Scientific Programming

This repository contains a collection of notebooks and exercises for the scientific programming course at the 2018 NGCM Summer Academy.

The course covers

  • Testing
  • Continuous integration
  • Code coverage

The notebooks are best viewed on nbviewer.

The notebooks rely on a number of python libraries. These can be installed most easily by first creating a runtime environment:

conda create -n ngcm_sciprog python=3 numpy scipy jupyter matplotlib pytest pytest-cov 

Activate this environment:

source activate ngcm_sciprog

Then launch jupyter:

jupyter notebook

scientific_programming's People

Contributors

harpolea avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

scientific_programming's Issues

starbucks data missing

In 05-Publishing_code the starbucks.csv file needs downloading from the link. Three options:

  1. Expand the description to make it clear they must download before running the code;
  2. Use eg requests library to download it automatically;
  3. Leave it as is and remember to tell them this at the time.

Plotting data set header rows

For 05-Publishing_code: When I run on my Mac, the dataset corresponding to the observed variable has only one header row, as pandas concats the string in quotes. So I need to set skiprows=1 or I get KeyError: 'No_Smoothing'. This is with the latest conda version of pandas.

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.