DSCI011ProgramminginPythonforDataScience

Module 4: Python Without the "Eek" (Basic Python)

In this module, you will learn about basic Python data types and structures. You will explore what data types and structures are used to create a Pandas dataframe and how understanding column dtypes is important to data analysis.

0Module Learning Outcomes

1Python Data Types

2Name That Data Type

3 String Verbs

4Casting Data Types

5Python Data Structures: Lists, Tuples and Sets

6Name that Data Structure

7Data Structure True and False

8The Data Structure Basics

9Making a Dataframe from Lists

10Python Data Structures: Dictionaries

11Dictionary Questions

12Dictionary Basics

13Building a Dataframe from a Dictionary

14Dataframes, Series and Column dtypes

15Name That type/dtype

16Dataframe and Series True and False

17Dtype Practice

18Operations with Data Types

19Output or Error with Operations

20True or False with Boolean Operators

21Operations with Columns

22What's That Output? With Column Operations

23Splitting a Column

24Practice Operations with Dataframe columns

25What Did We Just Learn?

About this course

Basic programming in Python. Overview of iteration and flow control and data types relevant to data exploration and analysis. When and how to exploit pre-existing libraries. Numerical data types with Numpy and tabular data with Pandas.

About the program

The University of British Columbia (UBC) is a comprehensive research-intensive university, consistently ranked among the 40 best universities in the world. The MDS Mid Career Learners program was launched in September 2020 and is offered by the MDS program who are a collaboration between the UBC Department of Computer Science and Department of Statistics.