Scripting with Python and SQL for Data Engineering
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Scripting with Python and SQL for Data Engineering
This course is part of Python, Bash and SQL Essentials for Data Engineering Specialization
16,183 already enrolled
Included with
Learn more
Ask Coursera
112 reviews
Recommended experience
112 reviews
Recommended experience
What you'll learn
Extract data from different sources and map it to Python data structures.
Design Scripts to connect and query a SQL database from within Python.
Apply scraping techniques to read and extract data from a website.
Skills you'll gain
Details to know
5 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
In this third course of the Python, Bash and SQL Essentials for Data Engineering Specialization, you will explore techniques to work effectively with Python and SQL. We will go through useful data structures in Python scripting and connect to databases like MySQL. Additionally, you will learn how to use a modern text editor to connect and run SQL queries against a real database, performing operations to load and extract data. Finally, you will use extracted data from websites using scraping techniques. These skills will allow you to work effectively when data is not readily available, or when spatial queries are required to extract useful information from databases.
In this module, you will learn how to effectively use Pythonβs data structures to load, persist, and iterate over data. You will apply these data structures to solve different problems when working with popular data formats like JSON.
What's included
19 videos9 readings2 assignments1 discussion prompt2 ungraded labs
19 videosβ’Total 62 minutes
- Welcome to Scripting with Python and SQL for Data Engineeringβ’1 minute
- Meet your Course Instructor: Alfredo Dezaβ’0 minutes
- Overview of Key Conceptsβ’4 minutes
- Introduction to Working with Data in Pythonβ’0 minutes
- Introduction to Python Data Structuresβ’1 minute
- Using Lists to Save and Retrieve Data in Pythonβ’5 minutes
- Using Dictionaries to Save and Retrieve Data in Pythonβ’7 minutes
- Overview of Less Common Data Structures in Pythonβ’4 minutes
- Recap of Data Structures in Pythonβ’1 minute
- Introduction to Choosing Data Structures in Pythonβ’1 minute
- Iterating Over Lists and Dictionaries in Pythonβ’8 minutes
- Iterating Over Other Data Structures in Pythonβ’2 minutes
- Storing Data Between Data Structures in Pythonβ’6 minutes
- Recap of Mapping Data Structures in Pythonβ’1 minute
- Introduction to Data Sources and Formats in Pythonβ’1 minute
- Loading Data from Files and File Paths in Pythonβ’6 minutes
- Working with JSON in Pythonβ’7 minutes
- Saving Data from Python to Diskβ’4 minutes
- Recap of Persisting and Loading Data in Pythonβ’1 minute
9 readingsβ’Total 90 minutes
- Connect with your instructorβ’10 minutes
- Meet your Supporting Instructors: Kennedy Behrman and Noah Giftβ’10 minutes
- Course Structure and Discussion Etiquetteβ’10 minutes
- Report a problem with the courseβ’10 minutes
- Key Termsβ’10 minutes
- Python Lists and Dictionariesβ’10 minutes
- Key Termsβ’10 minutes
- Key Termsβ’10 minutes
- Build a notebook that reformats data into JSONβ’10 minutes
2 assignmentsβ’Total 60 minutes
- Using Data Structures in Pythonβ’30 minutes
- Working with Data in Pythonβ’30 minutes
1 discussion promptβ’Total 10 minutes
- Meet and Greet (optional)β’10 minutes
2 ungraded labsβ’Total 120 minutes
- Looping Over Lists and Dictionaries in Pythonβ’60 minutes
- Loading and Saving JSON Filesβ’60 minutes
In this module, you will learn how to use Python scripting techniques to work with SQL. You will create a database, store data, and query that data with SQL from Python.
What's included
15 videos7 readings1 assignment3 ungraded labs
15 videosβ’Total 56 minutes
- Introduction to Python Scripting and SQLβ’1 minute
- Introduction to Scripting in Pythonβ’1 minute
- Creating a Script as a Module in Pythonβ’6 minutes
- Traversing the File System with a Script in Pythonβ’7 minutes
- Recap of Python Scripting Basicsβ’1 minute
- Introduction to Embedded Databasesβ’1 minute
- What is SQLite?β’2 minutes
- Creating and Connecting to a SQLite Database in Pythonβ’6 minutes
- Saving and Querying from a SQLite Database in Pythonβ’10 minutes
- Recap of SQLite and Pythonβ’1 minute
- Introduction to Querying with SQL in Pythonβ’1 minute
- Basic SQL Commands in Pythonβ’7 minutes
- Extracting Distinct Data using SQL in Pythonβ’7 minutes
- Searching with SQL in Pythonβ’6 minutes
- Recap of Querying with SQL in Pythonβ’1 minute
7 readingsβ’Total 70 minutes
- Key Termsβ’10 minutes
- Minimal Python, Chapter 2: Learn to Store Dataβ’10 minutes
- Key Termsβ’10 minutes
- Example GitHub Repository β’10 minutes
- Key Termsβ’10 minutes
- Example GitHub Repositoryβ’10 minutes
- Create a Reporting Script for File Sizesβ’10 minutes
1 assignmentβ’Total 30 minutes
- Python Scripting and SQLβ’30 minutes
3 ungraded labsβ’Total 180 minutes
- Build a Script to Find Large Filesβ’60 minutes
- Create a SQLite Database and Store Dataβ’60 minutes
- Querying a SQLite Databaseβ’60 minutes
In this module, you will learn how to efficiently extract data from the web. You will learn how to use a scraping library to read data from websites and identify and extract specific values from it.
What's included
15 videos7 readings1 assignment2 ungraded labs
15 videosβ’Total 65 minutes
- Introduction to Web Scraping using Pythonβ’1 minute
- Introduction to Extracting Data from Unstructured HTMLβ’1 minute
- Challenges with Web Dataβ’3 minutes
- Parsing HTML with HTMLParser in Pythonβ’5 minutes
- Recap of Web Scraping Techniques in Pythonβ’1 minute
- Introduction to Scrapy and XPath in Pythonβ’1 minute
- Creating a Web Scraping Project with Scrapy in Pythonβ’7 minutes
- Parsing Data with XPath and Scrapy Shellβ’12 minutes
- Using Scrapy Spider for Web Scrapingβ’5 minutes
- Recap of Scrapy and XPath in Pythonβ’1 minute
- Overview of Challenges with Web Scrapingβ’3 minutes
- Scraping Locallyβ’9 minutes
- Persisting Data in CSV and JSON Formatsβ’10 minutes
- Persisting Data to a SQLite Databaseβ’7 minutes
- Recap of Persistence and Efficacy with Web Scrapingβ’1 minute
7 readingsβ’Total 70 minutes
- Key Termsβ’10 minutes
- Parsing Techniques with HTMLParserβ’10 minutes
- Key Termsβ’10 minutes
- Codespaces Lab: Parse HTML with Scrapy and XPathβ’10 minutes
- Key Termsβ’10 minutes
- Efficient Scraping Techniquesβ’10 minutes
- Build a Web Scraping Toolβ’10 minutes
1 assignmentβ’Total 30 minutes
- Web Scraping using Pythonβ’30 minutes
2 ungraded labsβ’Total 120 minutes
- Parse HTML with HTMLParserβ’60 minutes
- Parse HTML and Persist it to a SQLite Databaseβ’60 minutes
In this module, you will learn how to use a modern development environment and editor to connect to a MySQL database server, execute queries and perform database operations.
What's included
18 videos8 readings1 assignment5 ungraded labs
18 videosβ’Total 70 minutes
- Introduction to Working with MySQLβ’1 minute
- Introduction to VSCode with MySQLβ’1 minute
- Connecting to a MySQL Serverβ’8 minutes
- Recap of VSCode with MySQLβ’1 minute
- Challenges of Running MySQL Queriesβ’2 minutes
- Using VSCode to Execute MySQL Queriesβ’6 minutes
- Recap of Running MySQL Queriesβ’1 minute
- Challenges with Importing to Databasesβ’2 minutes
- Importing CSV Data into MySQLβ’7 minutes
- Exporting Data from MySQLβ’6 minutes
- Recap of Importing and Exporting Data in MySQLβ’1 minute
- MySQL Hacking Overviewβ’3 minutes
- MySQL from Terminalβ’3 minutes
- Archive and Drop Databaseβ’5 minutes
- Import external database Sakilaβ’7 minutes
- Modify database Sakilaβ’5 minutes
- Bash pipelines with MySQLβ’5 minutes
- MySQL to Python Standard Library Web Serverβ’4 minutes
8 readingsβ’Total 80 minutes
- Key termsβ’10 minutes
- Key termsβ’10 minutes
- Working with VSCode and MySQLβ’10 minutes
- Key Termsβ’10 minutes
- Lesson Reflectionβ’10 minutes
- Loading and Exporting Data using MySQLβ’10 minutes
- Next Stepsβ’10 minutes
- Share your learning experienceβ’10 minutes
1 assignmentβ’Total 30 minutes
- Working with MySQLβ’30 minutes
5 ungraded labsβ’Total 300 minutes
- Connect to a Running MySQL Serverβ’60 minutes
- Running Queries Repositoryβ’60 minutes
- Export and Import Data in MySQLβ’60 minutes
- Linux Hacking with MySQLβ’60 minutes
- MySQL Sandboxβ’60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Offered by
Explore more from Data Analysis
- Status: Free TrialD
Duke University
Specialization
- Status: Free TrialD
Duke University
Course
- Status: Free TrialD
Duke University
Course
- Status: Free TrialD
Duke University
Course
Why people choose Coursera for their career
Learner reviews
- 5 stars
66.96%
- 4 stars
19.64%
- 3 stars
6.25%
- 2 stars
1.78%
- 1 star
5.35%
Showing 3 of 112
Reviewed on May 25, 2023
Training is clear and interactive and labs are good
Reviewed on Aug 28, 2022
This provides the essentials of data engineering and analysis.
Reviewed on Oct 20, 2022
Cβovered great Python. data engineering techniques as well as using SQLite and MySQL in VSCode
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you canβt afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, youβll find a link to apply on the description page.
More questions
Financial aid available,
