Home > Store

Data Science Fundamentals Part 1, Complete Video Course: Learning Basic Concepts, Data Wrangling, and Databases with Python

Register your product to gain access to bonus material or receive a coupon.

Data Science Fundamentals Part 1, Complete Video Course: Learning Basic Concepts, Data Wrangling, and Databases with Python

Online Video

Try a free sample of this Complete Video Course


  • Copyright 2018
  • Edition: 1st
  • Online Video
  • ISBN-10: 0-13-466015-3
  • ISBN-13: 978-0-13-466015-8

20 Hours of Video Instruction

Data Science Fundamentals LiveLessons teaches you the foundational concepts, theory, and techniques you need to know to become an effective data scientist. The videos present you with applied, example-driven lessons in Python and its associated ecosystem of libraries, where you get your hands dirty with real datasets and see real results.


This first course of the two-course series focuses on the fundamentals of acquiring, parsing, validating, and wrangling data with Python and its associated ecosystem of libraries. After an introduction to Data Science as a field and a primer on the Python programming language, you walk through the data science process by building a simple recommendation system. After this introduction, you dive deeper into each of the specific steps involved in the first half of the data science process–mainly how to acquire, transform, and store data (often referred to as an ETL pipeline). You learn how to download data that is openly accessible on the Internet by working with APIs and websites, and how to parse this XML and JSON data. With this structured data, you learn how to build data models, store and query data, and work with relational databases. Along the way, you learn the fundamentals of programing with Python (including object-oriented programming and the standard library) as well as the best practices of building sustainable data science applications.

Skill Level

  • Beginner

What You Will Learn
  •  How to get up and running with a Python data science environment
  •  The essentials of Python 3, including object-oriented programming
  •  The basics of the data science process and what each step entails
  •  How to build a simple (yet powerful) recommendation engine for Airbnb listings
  •  Where to find high-quality data sources and how to scrape websites if no existing dataset is available
  •  How to work with APIs programmatically, including (but not limited to) the Foursquare API
  •  Strategies for parsing JSON and XML into a structured form
  •  How to build data models and work with database schemas
  •  The basics of relational databases with SQLite and how to use an ORM to interface with them in Python
  •  Best practices of data validation, including common data quality checks
  •  How to query data in a database, including joining data tables and aggregating data
  •  The fundamentals of exploratory data analysis
  •  How to find and handle missing or malformed data
  •  The importance of creating reproducible analyses and how to share them effectively

Who Should Take This Course
  • Aspiring data scientists looking to break into the field and learn the essentials necessary
  • Journalists, consultants, analysts, or anyone else who works with data and are looking to take a programmatic approach to exploring data and conducting analyses
  • Quantitative researchers interested in a programmatic and systematic approach to working with data and data pipelines
  • Software engineers interested in the fundamentals and best practices of working with data
  • Practicing data scientists already familiar with another programming environment looking to learn how to do data science with Python

Course Requirements
  • Basic understanding of programming
  • Familiarity with Python and relational databases are a plus

Lesson Descriptions

Lesson 1: Introduction to Data Science with Python

Lesson 1 begins with a working definition of data science (as we use it in the course), gives a brief history of the field, and provides motivating examples of data science products and applications. This lesson covers how to get set up with a data science programming environment locally, as well as gives you a crash course in the Python programming language if you are unfamiliar with it or are coming from another language such as R. Finally, it ends with an overview of the concepts and tools that the rest of the lessons cover to hopefully motivate you for and excite you about what's to come!

Lesson 2: The Data Science Process–Building Your First Application

Lesson 2 introduces the data science process by walking through an end-to-end example of building your very first data science application, an AirBnB listing recommender.

You continue to learn how to work with and manipulate data in Python, without any external libraries yet, and leverage the power of the built-in Python standard library. The core application of this lesson covers the basics of building a recommendation engine and shows you how, with simple statistics and a little ingenuity, you can build a compelling recommender, given the right data. And finally, it ends with a formal treatment of the data science process and the individual steps it entails.

Lesson 3: Acquiring Data–Sources and Methods

Lesson 3 begins the deep dives into each of the specific stages of the data science process, starting with the first: data acquisition. The lesson covers the basics of finding the appropriate data source for your problem and how to download the datasets you need once you have found them.

Beginning with an overview of how the infrastructure behind the Internet works, you learn how to programmatically make HTTP requests in Python to access data through APIs and websites, as well as the basics of two of the most common data formats: JSON and XML. The lesson ends by setting up the additional data you need for the other lessons: Foursquare Venues.

Working with the Foursquare dataset, you learn how to interact with APIs and do some minor web scraping. You also learn how to find and acquire data from a variety of sources and keep track of its lineage all along the way. You learn to put yourself in the data science mindset and how to see the data (hidden in plain sight) that we interact with every day.

Lesson 4: Adding Structure–Parsing Data and Data Models

Lesson 4 picks up with the second stage of what traditionally is referred to as an extract, transform, and load (ETL) pipeline, adding structure through the transformation of raw data.

You see how to work with a variety of data formats, including XML and JSON, by parsing the data we have acquired to eventually load it into an environment better-suited to exploration and analysis: a relational database. But before we load our data into a database, we take a short diversion to talk about how to conceptually model structure in data with code. You get a primer in object-oriented programming and learn how to leverage it to create abstractions and data models that define how you can interface with your data.

Lesson 5: Storing Data–Persistence with Relational Databases

Lesson 5 starts with an introduction to one of the most ubiquitous data technologies–the relational database. The lesson serves as a capstone to the ETL pipeline of the previous videos where you learn the fundamentals of databases with SQLite and how to interface with them in Python. You learn the ins and outs of the various strategies for storing data in a database and see how to map the abstractions you created in Python to database tables through the use of the peewee object-relational mapper (ORM). By being able to query and manipulate data with Python while persisting data in a database reliably, the interface ORMs provide gives you the best of both worlds.

Lesson 6: Validating Data–Provenance and Quality Control

Lesson 6 starts by showing you how to effectively query your data to understand what it contains, uncover any biases it might contain, and to deal with missing values and bad data. After you have validated the quality of the data, you learn the fundamentals of exploratory data analysis (EDA) and see how to use descriptive statistics to learn how your data is distributed. Finally, you learn to explore your data to uncover insights and trends in the data by joining and aggregating data tables with peewee and also learn how these queries in Python map to traditional SQL.

About Pearson Video Training

Pearson publishes expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. These professional and personal technology videos feature world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, Pearson IT Certification, Prentice Hall, Sams, and Que Topics include: IT Certification, Network Security, Cisco Technology, Programming, Web Development, Mobile Development, and more.  Learn more about Pearson Video training at http://www.informit.com/video.

Sample Content

Table of Contents


Lesson 1: Introduction to Data Science with Python
1.1  Welcome to the Course
1.2  Why Data Science and Why Now?
1.3  The Potential of Data Science
1.4  Getting Set Up with a Data Science Development Environment
1.5  A Python (3) Primer
1.6  Python 2 versus Python 3
1.7  Test Your Knowledge: Wordbuzz
1.8  Wordbuzz: Putting It All Together
1.9  Python Review and Resources
1.10  Python for Data Science
1.11  What’s to Come

Lesson 2: The Data Science Process—Building Your First Application
2.1  Introduction to the Data Science Process
2.2  Defining Your Problem
2.3  Acquiring Data
2.4  Wrangling Data
2.5  Exploring Data
2.6  Recommendations through Triangle Closing
2.7  Python Development Workflow
2.8  Triadic Closure in Python
2.9  Challenges of Recommendation Systems
2.10  Obtaining an Evaluation Baseline
2.11  Inspecting and Evaluating Results
2.12  Present and Disseminate
2.13  The Data Science Process Applied: Cheaper Beds, Better Breakfasts

Lesson 3: Acquiring Data—Sources and Methods
3.1  The Data Science Mindset
3.2  The Data Science Technology Stack
3.3  Where to Get Data—Sources and Services
3.4  How the Web Works
3.5  Making HTTP Requests with Python
3.6  Adding Content with Open Data
3.7  Parsing Data with Python—JSON and XML
3.8  Data and File Formats
3.9  Working with APIs
3.10  Parametric API Requests with Python
3.11  Exploring the Foursquare API
3.12  Downloading Foursquare Venues

Lesson 4: Adding Structure—Parsing Data and Data Models
4.1  Introduction to the ETL Pipeline
4.2  Data Models—Adding Structure to Data
4.3  Building Abstractions—Object-Oriented Programming
4.4  Creating Classes in Python
4.5  Defining Methods and Updating State
4.6  Magic Methods, Class Attributes, and Introspection
4.7  Exploring and Structuring the Foursquare Response
4.8  Data Models Applied—Representing Foursquare Entities with Classes
4.9  Modeling Behavior with Methods
4.10  Customizing Model Interfaces with Setter Methods and Virtual Attributes
4.11  Keeping Things DRY with Inheritance
4.12  OOP Use Cases
4.13  The Case for (and against) OOP

Lesson 5: Storing Data—Persistence with Relational Databases
5.1  Introduction to Databases with SQLite
5.2  Inspecting Databases with the SQLite Shell
5.3  The Database Landscape
5.4  What's in a Schema?—Mapping Data Models to Data Tables
5.5  Introduction to Object Relational Mappers
5.6  ORMs in Python with peewee
5.7  Creating and Querying Records with peewee
5.8  End-to-end ETL in Python
5.9  Advantages and Disadvantages of ORMs
5.10  Extract, Transform, Load—Putting It All Together

Lesson 6: Validating Data—Provenance and Quality Control
6.1  Introduction to Exploratory Data Analysis
6.2  Understanding Your Data Quickly with Graphical Tools
6.3  Inspecting Databases and Building Schemas with pewee
6.4  Data Quality Checks with peewee
6.5  Finding Missing Data and Null Values with peewee
6.6  Dealing with Missing Data
6.7  EDA for Insight–Describing Data
6.8  Inspecting Queries and Displaying Results in peewee
6.9  Groups and Aggregates with peewee
6.10  Ranking and Sorting Venues
6.11  SQL Relations and Joins
6.12  Joins with peewee
6.13  Querying Across Datasets with Joins
6.14  Translating peewee to SQL
6.15  A Visual Introduction to Joins with SQL


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020