Introduction to Data Science in Python
Learn basic Python syntax, load and filter tables with pandas, and draw line, scatter, bar and histogram plots with Matplotlib.
Basic Python syntax, the pandas library for tables of data and Matplotlib for charts are the tools this course introduces, all through one running case: the kidnapping of Bayes, a Golden Retriever. You build a suspect list, search credit card records for suspicious purchases, compare a ransom note’s letter frequencies with handwriting samples, and use cellphone data to find where the dog is hidden.
What You Will Achieve
- Write Python statements that import modules, define variables and call functions
- Load a CSV file into a pandas DataFrame and check its contents with head and info
- Pick out the columns and rows of a DataFrame that answer a question, using bracket or dot notation and logical tests
- Choose a plot type that fits a dataset and annotate the chart so the information is clear
Program Overview
Python Syntax and Modules
Writing first lines of Python and repairing common errors while drawing up a suspect list for the kidnapping.
- Importing modules and fixing a broken import
- Variables, floats and strings
- Valid variable names
- Functions and function errors
Tabular Data in pandas
Reading and searching a table of credit card records to spot suspicious purchases made by the suspects.
- What pandas does with tabular data
- Loading and inspecting a DataFrame
- Two ways to select columns, and common mistakes
- Selecting rows with logical tests
Plotting Data with Matplotlib
Line plots built on ransom note letter frequencies, followed by scatter plots, bar charts and histograms used to locate and rescue Bayes.
- Line plots and graph styles
- Legends, labels and floating text
- Scatter plots and bar charts
- Histograms and how to modify them
Certificate Awarded (Paid)
Complete the course to earn it.
Job Outlook
Python, pandas and Matplotlib are used in data analysis, data science and machine learning work, wherever tables of data have to be loaded, filtered and turned into charts.
Good for: Newcomers to programming who want a first look at how Python reads, filters and charts data, guided by one story that runs through every chapter.
Keep in mind: The title is broad, yet the four chapters stay with Python basics, loading and selecting data in pandas, and Matplotlib charts, all practiced on one detective case.
Bottom line: A short, story-driven first contact with pandas and Matplotlib, where each chapter’s exercises move the search for a missing Golden Retriever forward.
Frequently Asked Questions
What is the Bayes kidnapping case in the lessons?
Each chapter adds a step to one story about Bayes, a Golden Retriever who has been kidnapped. You build a suspect list, check the suspects' credit card purchases, compare a ransom note's letter frequencies with handwriting samples, and chart cellphone data to find where the dog is hidden.
What do pandas and Matplotlib do in the course?
Two libraries do most of the work: pandas, for reading, modifying and searching tables such as spreadsheets and database tables, and Matplotlib, for charts. The first chapter also shows how to import modules and repair an import that fails.
Which chart types are covered?
Line plots come first, with legends, axis labels, floating text and graph styles. The final chapter adds scatter plots, bar charts and histograms, and shows how to modify scatter plots and histograms once they are drawn.
Does the course teach how to fix code errors?
Yes. Several exercises hand you broken code to repair, including a failed import, string errors, a function error and mistakes in selecting DataFrame columns, so correcting faulty code is practiced alongside writing it.


There are no reviews yet.