Giter Site home page Giter Site logo

aymanibrahim / pyds Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 3.0 91.66 MB

Hands-on in-person workshop on Python for Data Science

License: MIT License

Python 0.07% Jupyter Notebook 52.89% HTML 47.04%
python data-science datatypes loops functions classes objects datastructures pandas numpy arrays

pyds's Introduction

Why

For people who struggle to start in data science with Python

Description

This hands-on in-person workshop is based on Python for Data Science Course by IBM Cognitive Class

Learn how to create your first Python scripts and perform basic hands-on data analysis using Jupyter-based environment.

The workshop will cover core topics:

Types Variables Strings
  • Hello World
  • Comments
  • Errors
  • Types
  • Expressions
  • Variables
  • Strings
Tuple Set Dictionary
  • Tuples
  • Lists
  • Sets
  • Dictionaries
Condition Loop Class
  • Conditions
  • Branching
  • Loops
  • Functions
  • Objects
  • Classes
Read file pandas DataFrame Specify columns
  • Reading files with open
  • Writing files with open
  • Loading data with pandas
  • Working with and Saving data with pandas
1D Array 2D Array Array slicing
  • Creating and Manipulating 1D & 2D Arrays
  • Array Operations

Pre-workshop

You will need a laptop that can access the internet

1: Installation

Install miniconda or install the (larger) Anaconda distribution

Install Python using Miniconda

OR Install Python using Ananconda

2: Setup

2.1: Download workshop code & materials

Clone the repository

git clone [email protected]:aymanibrahim/pyds.git

OR Download the repository as a .zip file

2.2: Change directory to pyds

Change current directory to pyds directory

cd pyds

2.3: Install Python with required packages

Install Python with the required packages into an environment named pyds as per environment.yml YAML file.

conda env create -f environment.yml

When conda asks if you want to proceed, type "y" and press Enter.

3: Activate environment

Change the current default environment (base) into pyds environment.

conda activate pyds

4: Check installation

Use check_environment.py script to make sure everything was installed correctly, open a terminal, and change its directory (cd) so that your working directory is the workshop directory pyds you cloned or downloaded. Then enter the following:

python check_environment.py

If everything is OK, you will get the following message:

Your workshop environment is set up

5: Start JupyterLab

Start JupyterLab using:

jupyter lab

JupyterLab will open automatically in your browser.

You may access JupyterLab by entering the notebook server’s URL into the browser.

6: Stop JupyterLab

Press CTRL + C in the terminal to stop JupyterLab.

7: Deactivate environment

Change the current environment (pyds) into the previous environment.

conda deactivate

Workshop Instructor

Ayman Ibrahim

References

Contributing

Thanks for your interest in contributing! There are many ways to contribute to this project. Get started here.

License

Workshop Code

License: MIT

Workshop Materials

Creative Commons License

Python for Data Science Workshop by Ayman Ibrahim is licensed under a Creative Commons Attribution 4.0 International License. Based on a work at IBM Cognitive Class Python for Data Science by Joseph Santarcangelo, PhD.

pyds's People

Contributors

aymanibrahim avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.