- Open https://www.anaconda.com/download/#windows with your web browser.
- Download the Python 3 installer for Windows.
- Install Python 3 using all of the defaults for installation except make sure to check Add Anaconda to my PATH environment variable.
Oct 2, 2019
9:00 AM - 5:00 PM
Instructors: Mike Trizna, Alex Robillard
Helpers: Jessica Deichmann, Ulises Rosas, Diego Balbuena
The Carpentries (comprised of Data Carpentry, Library Carpentry, and Software Carpentry) is a project whose mission is to teach foundational computational and data science skills to researchers and others who create, manage, and use data. Specifically, Data Carpentry lessons are designed to be picked up by learners who do not have any previous programming experience. Data Carpentry workshops are typically organized in a 2-day format, but we will compress the lessons in this workshop to 1 day to focus on learning Python and Jupyter notebooks to work with data files in a reproducible manner. Before covering Python, we will go through a lesson using Excel to learn about the "tidy data" format, and best practices for working with tabular data files.
Participants will be encouraged to help one another and to apply what they have learned to their own research problems.
For more information on what we teach and why, please see our paper "Good Enough Practices for Scientific Computing".
Who: The course is aimed at researchers and others who create, manage, and use data. You don't need to have any previous knowledge of the tools that will be presented at the workshop.
Where: Instituto de Investigaciones de la Amazonia Peruana (IIAP), Av. Abelardo Quiñones km 2.5, San Juan Bautista, Loreto, Auditorio López Parodi. Get directions with OpenStreetMap or Google Maps.
When: Oct 2, 2019. Add to your Google Calendar.
Requirements: Participants must bring a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).
Code of Conduct: Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.
Accessibility: We are committed to making this workshop accessible to everybody.
Materials will be provided in advance of the workshop and large-print handouts are available if needed by notifying the organizers in advance. If we can help making learning easier for you, please get in touch (using contact details below) and we will attempt to provide them.
Contact: Please email triznam@si.edu for more information.
Please be sure to complete these surveys before and after the workshop.
Start Time | End Time | Topic |
9:00 | 9:30 | Introduction |
9:30 | 10:30 | Data Organization in Spreadsheets for Ecologists |
10:30 | 10:45 | Break |
10:45 | 12:45 | Data Cleaning with OpenRefine for Ecologists |
12:45 | 1:45 | Lunch |
1:45 | 2:15 | Overview of Python and Jupyter |
2:15 | 3:15 | Data Structures in Python and Basic Pandas |
3:15 | 3:30 | Break |
3:30 | 4:30 | More Pandas and Data Visualization |
4:30 | 5:00 | Wrap-up and further topics |
To participate in a Data Carpentry workshop, you will need access to the software described below. In addition, you will need an up-to-date web browser.
We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.
Python is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.
Regardless of how you choose to install it, please make sure you install Python version 3.x (e.g., 3.6 is fine).
We will teach Python using the Jupyter notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
bash Anaconda3-and then press Tab. The name of the file you just downloaded should appear. If it does not, navigate to the folder where you downloaded the file, for example with:
cd DownloadsThen, try again.
yes
and
press enter to approve the license. Press enter to approve the
default location for the files. Type yes
and
press enter to prepend Anaconda to your PATH
(this makes the Anaconda distribution the default Python).
For this lesson you will need OpenRefine and a web browser. Note: this is a Java program that runs on your machine (not in the cloud). It runs inside a web browser, but no web connection is needed.
Check that you have either the Firefox or the Chrome browser installed and set as your default browser. OpenRefine runs in your default browser. It will not run correctly in Internet Explorer.
Download software from http://openrefine.org/
Create a new directory called OpenRefine.
Unzip the downloaded file into the OpenRefine directory by right-clicking and selecting "Extract ...".
Go to your newly created OpenRefine directory.
Launch OpenRefine by clicking openrefine.exe
(this will launch a command prompt window, but you can ignore that - just wait for OpenRefine to open in the browser).
If you are using a different browser, or if OpenRefine does not automatically open for you, point your browser at http://127.0.0.1:3333/ or http://localhost:3333 to use the program.
Check that you have either the Firefox or the Chrome browser installed and set as your default browser. OpenRefine runs in your default browser. It may not run correctly in Safari.
Download software from http://openrefine.org/.
Create a new directory called OpenRefine.
Unzip the downloaded file into the OpenRefine directory by double-clicking it.
Go to your newly created OpenRefine directory.
Launch OpenRefine by dragging the icon into the Applications folder.
Use Ctrl-click/Open ...
to launch it.
If you are using a different browser, or if OpenRefine does not automatically open for you, point your browser at http://127.0.0.1:3333/ or http://localhost:3333 to use the program.
Check that you have either the Firefox or the Chrome browser installed and set as your default browser. OpenRefine runs in your default browser.
Download software from http://openrefine.org/.
Make a directory called OpenRefine.
Unzip the downloaded file into the OpenRefine directory.
Go to your newly created OpenRefine directory.
Launch OpenRefine by entering ./refine
into the terminal within the OpenRefine directory.
If you are using a different browser, or if OpenRefine does not automatically open for you, point your browser at http://127.0.0.1:3333/ or http://localhost:3333 to use the program.