Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Python tutorial: Introduction to Databases in Python
Play lesson

Python Tutorial: Learn Python For Data Science - Python tutorial: Introduction to Databases in Python

4.0 (1)
15 learners

What you'll learn

This course includes

  • 1.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

Learn more about working with databases in Python: https://www.datacamp.com/courses/introduction-to-relational-databases-in-python Welcome to introduction to databases in python. My name is Jason Myers and I'm a software engineer and my area of expertise is in developing data analytics platforms. Relational databases are the foundation of many applications and data systems widely used today. They are also extremely common in the world of data science and analytics. Relational databases are made up of tables which store our data. For example, here are a couple of tables from the Census database that we'll be using in this course. The census table on the left holds location and demographic information along with population counts from the census data. Meanwhile the state_fact table on the right holds additional details about the states themselves such as the abbreviation and type of the location. Tables themselves consist of columns and rows. The columns of a database define the name of an element or field in our data, such as the age column highlighted here. They also specify the data type, such as string of integer, which we'll talk more about in a later section. All of the data in a table is stored within the rows of a table. The row highlighted here contains the population counts in 2000 and 2008 for new born females in New York state. Tables can also be "related" to one another by a column acting as a key or bridge that tells it which piece of data it is associated with in another table. This feature is where relational databases get the relational part of their name. Here, we've highlighted the state column in the census table and the name column in the state_fact table. We can use this relationship to get additional information about the relevant state, such as its abbreviation, for any row in the census table. The structure of tables in relational databases, along with how they can be related as outlined here, is known as the relational model. We'll soon learn how to extract information from such a database, but first, let's test your knowledge of the relational model with a multiple choice question.

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere