logo_ds

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

18Python Operations

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

Learn the fundamentals of programming in Python, including how to clean, filter, arrange, aggregate and transform data. You will learn the foundations of programming in Python while writing human-readable code that sets a foundation of best practices and coding style. You will gain the skills to clean, filter, manipulate (wrangle) and summarize data using Python libraries for more effective data analysis. An overview of data structures, iteration, flow control and program design relevant to data exploration and analysis will be addressed along with fundamental programming concepts such as loops, conditionals and data structures that create a solid foundation in data science programming.

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 Key Capabilities in Data Science program was launched in September 2020 and is developed and taught by many of the same instructors as the UBC Master of Data Science program.