Python Open Labs – Web Scraping

For those who have been following this blog series, sorry for a late post on the updates about Python Open Labs. Last week we covered some basics about web scraping with python, but before I start let me make a customary disclaimer. Make sure that any of the websites that you want to scrape have granted […]

Read More…

R Open Lab – Merge and Filter Data

During the first 20-30 minutes of yesterday’s open lab, we talked about how to merge datasets and filter data using base R and dplyr package. The rest of the open lab were free discussions between participants and instructors. Thank you to all who showed up! Welcome to explore the materials I used for the open lab: https://drive.google.com/open?id=0B4uO8w_uGtsCWjRId0p6QllKZlE Enjoy the spring! […]

Read More…

Python Open Labs – Format Strings

Hi In the 15th session of Python Open Labs, this week we looked at some miscellaneous topics and revision of basic concepts of file reading and string handling from previous sessions. We also briefly looked into format strings / format specifiers for string construction in Python. The relevant slides are available on the Session – […]

Read More…

Python Open Labs – Object Oriented Programming

Hi In this session we looked at simple concepts of object oriented programming, including the basics of creating classes, object instances, attributes and methods. All of the course slides and examples are made available on: https://goo.gl/YP0c2E Meanwhile, continue to practise and brush up your skills on: https://www.hackerrank.com/domains/python/py-introduction See you next Friday from 1:30 PM – 3:30 PM […]

Read More…

R Open Labs – readr Package

Today we introduced readr package. It is a package used for reading csv/xls/txt etc. data. It is designed to flexibly parse many types of data found in the wild, while still cleanly failing when data unexpectedly changes.  We covered the functionality of the package and the difference between this package and base R. Next week we will talk […]

Read More…

Python Open Labs – Session 12 (Review)

Hi Today we had a brief review session of all the basics of programming that we have covered so far in the Python Open Labs series. During this review we went over reading and writing files, conditional statements, for loops and while loops and various other specifics of programming with Python. This marks a major […]

Read More…

Python Open Labs Session – 11

Hi   In this session of Python Open Labs we looked at python dictionaries, one of the most powerful data types built into python, optimal for storing in-memory look up tables for fast lookups and search queries. In the next session we will go through some of the previous concepts as revision and introduce Object Oriented Design […]

Read More…