Week 1 September 26 In week 1 of our Python Open lab, we introduced the Python Starter Kit and went over Python basics such as expressions, variables and statements, floats, statements, integers, strings, booleans, and control flow statements. The class was a mix of students with little to no experience with Python, to a few […]
Category: Workshops & Training
R Open Lab Materials
For better reproducibility and accessibility, I created a GitHub repository (https://github.com/yuejin123/ROpenLab) to put the instruction materials I used for all the R Open Lab session in the past academic year. Again, thank you to all who came to the R Open Lab. ☀️Enjoy the summer!☀️ […]
Python Open Labs
In the penultimate session of Python Open Labs we had a brief review of csv concepts and XML parsing with BeautifulSoup Library. A boiler plate code for practise can be obtained below from the Google Drive link, filed under Session-19 folder. All of the course slides and examples are made available on: https://goo.gl/YP0c2E Next week on […]
Python Open Labs – CSV Files
As we move towards the end of Spring semester, having covered most of the basics in Python, the recent sessions have been focusing on introducing python modules requested by attendees. Last week had a second session on web-scraping with BeautifulSoup, I have updated the practice code for the same in Session-17 folder of the google […]
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 […]
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! […]
R Open Lab – ggplot
Data visualization is an integral part of data exploration and presentation. Yesterday, we talked about ggplot2, a package which provides a mature and consistent system for plotting in R. We explored the advantage and disadvantages of ggplot2, the syntax and usage of the package. As always, thank you to everyone who showed up. Materials I […]
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 – […]
R Open Labs – Apply Family
This Wednesday we talked about apply function family in base R. We covered apply(), tapply(), lapply(), sapply() and vapply(). We also briefly introduced the concept of factors in R. As always, thank you to all who showed up! Next two weeks’ R Open Lab will be cancelled due to midterm week and spring break. Good […]
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 […]