Skip to content

CurtinIDS/CIC_Carpentries_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curtin Institute for Data Science - Introduction to Data Science using Python

Binder

Schedule

  1. Introduction to the Workshop and Tools
  2. Short Introduction to Programming in Python
  3. Starting With Data
  4. Indexing, Slicing and Subsetting DataFrames in Python
  5. Data Types and Formats
  6. Combining DataFrames with Pandas
  7. Data Workflows and Automation
  8. Making Plots with plotnine

Before You Start

Prior to attending the workshop, please download a copy of this repository as follows and extract it in your Downloads folder. Download Instructions

You will also need to follow the below instructions to configure your personal laptop. Please ensure that you have admin permissions if you are using a corporate laptop.

Installing Miniconda

Windows

  • Open https://docs.conda.io/projects/miniconda/en/latest/ with your web browser.
  • Download Miniconda3 Windows 64-bit.
  • Install by running the Miniconda Installer, using the recommended settings.
  • After installing, open the "Anaconda Prompt (miniconda3)" program to use Miniconda 3.

MacOS

  • Open https://docs.conda.io/projects/miniconda/en/latest/ with your web browser.
  • Download Miniconda3 macOS Apple M1 64-bit pkg.
  • Install by running the Miniconda Installer, using the recommended settings.
  • After installing, re-open Terminal to use Miniconda 3.

Linux

  • Open https://docs.conda.io/projects/miniconda/en/latest/ with your web browser.
  • Download the relevant package for your specific flavour of Linux.
  • Open a Terminal window and navigate to your download directory.
  • Type
    bash Miniconda3-
    
  • and then press Tab to autocomplete the full file name. The name of file you just downloaded should appear. Press Enter.
  • You will follow the text-only prompts.
    • To move through the text, press Spacebar.
    • Type 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 Miniconda to your PATH (this makes the Miniconda distribution the default Python).
  • After installing, re-open Terminal to use Miniconda 3.

Creating a conda environment

Environments allow you to have multiple sets of Python packages installed at the same time, making reproducibility and upgrades easier. You can create, export, lis, remove and update environments that have different versions of Python and/or packages installed in them.

You can create a conda environment for this workshop using the supplied environment.yml file which specifies the Python version and required packages.

  1. On Windows, open "Anaconda Prompt (miniconda3) or if using Mac/Linux, open Terminal.
  2. Navigate to this repository. For example, if you downloaded the CIC_Carpentries_Python respository in your Downloads directory, you could type the following.
    cd Desktop
    cd CIC_Carpentries_Python-master
    
  3. To install the environment on any platform and activate the CIC_Carpentries_Python environment, type:
    conda env create --file environment.yml
    conda activate cids-workshop
    

Installing VS Code (Optional)

  1. Open https://code.visualstudio.com/ with your web browser.
  2. Download VS Code for your specific platform/Operating System.
  3. Run the VS Code Installer.
  4. Open VS Code and in the Extension sidebar and install the Python and Jupyter extensions.

Further Reading

About

Data Carpentry material adapted for a CIC virtual Python workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published