This course teaches how to extract and process data from Internet services using Python. Topics include list comprehensions, processing nested data, using the requests module to interact with REST APIs, and understanding API documentation. It provides practical experience in data extraction and processing.
NON-CERTIFICATION COURSE
Data Collection and Processing with Python
RM2,600.00
Per Person
LEVEL
Intermediate
DURATION
2 Day
TRAINING DELIVERY FORMAT
Face-to-face (F2F) / Virtual Class
CLASS TYPE
Choose your preference
Customize your training experience by first selecting your preferred Training Delivery Format and then choosing the Class Type that best aligns with your goals and needs.
Public Class
Learn, collaborate and make new friends with similar interest in a shared virtual or physical classroom.
Private Class
Achieve personalized learning in a private setting with your dedicated instructor.
In-House Training
Similar to a private class, but your instructor will deliver the training face-to-face at your preferred venue.
Bespoke
Customize your training to suit specific requirements of your organization for optimal results.
BUILT FOR ALL KINDS OF TEAMS
Course structure
Course Overview
This course teaches you to fetch and process data from services on the Internet. It covers Python list comprehensions and provides opportunities to practice extracting from and processing deeply nested data. You’ll also learn how to use the Python requests module to interact with REST APIs and what to look for in documentation of those APIs.
The course is well-suited for you if you have already taken the “Python Basics” and “Python Functions, Files, and Dictionaries” courses (courses 1 and 2 of the Python 3 Programming Specialization). If you are already familiar with Python fundamentals but want practice at retrieving and processing complex nested data from Internet services, you can also benefit from this course without taking the previous two.
Course Objectives
By ends of this course,
This course aims to teach students how to fetch and process data from internet services using Python. It covers Python list comprehensions and provides practice in extracting and manipulating deeply nested data. Students will learn to interact with REST APIs using the Python requests module and how to effectively use API documentation.
Course Content
Module 1: Nested Data and Nested Iteration
In this module, you will cover more complex data structures. By the end of this week, you will have learned how to process json formatted data, traverse nested data using nested iteration, and extract values from nested data.
- Nested Data
- Nested Lists
- Nested Dictionaries
- JSON Format and the JSON Module
- Processing JSON Results
- Nested Iteration
- Structuring Nested Data
- Shallow Copies
- Deep Copies
- Extracting from Nested Data
- A Worked Example of Nested Iteration
Module 2: Map, Filter, and List Comprehensions
In module two you will be learning more advanced forms of accumulation. By the end of the part, you will have learned how to use the map and filter functions in combination with functions to transform or filter out data and store the resulting data in a new object. You will have also learned how to accumulate data using a list comprehension.
- Map
- Filter
- List Comprehensions
- List Comprehensions Example
- Zip
- The Hangman Blanked Function
Module 3: Internet APIs
In module three you will learn how to request data from the internet using Application Programming Interfaces (APIs). By the end of the week, you will have learned how to access data from a few APIs, cache data that you have requested, and also learned how to read and work with other APIs that were not touched on in the module.
- REST APIs
- URLs, Domain Names, and IP Addresses
- Routing
- HTTP: Behind the Scenes
- URL Query Parameters
- REST API URLs
- The requests Module
- Using REST APIs
- Generating URLs with requests.get
- Reading API Documentation: Datamuse
- Debugging Calls to requests.get
- Caching Response Content
- The requests_with_caching Module
- Practice with REST APIs
- iTunes API
- flickr API
Module 4: Sequence Mutation and Accumulation Patterns
We will present deeper knowledge on using lists, strings, and python objects in general. We will also cover how to use the accumulation pattern with lists and with strings. The final assignment will test your knowledge and skills through application, much like previous assessments and assignments did, though with a more difficult set of tasks now that you have learned the basics.
- Transforming Sequences
- Mutability
- List Element Deletion
- Objects and References
- Aliasing
- Cloning
- Methods on Lists
- Append vs. Concatenate
- Non-Mutating Methods on Strings
- String Format Method
- The Accumulator Pattern with Lists
- The Accumulator Pattern with Strings
- Accumulator Pattern Strategies
- Don’t Mutate A List That You Are Iterating Through
READY TO ENROLL?
Learn, certify
and secure your job
RM2,600.00
Per Person
LEVEL
Intermediate
DURATION
3 Day
TRAINING DELIVERY FORMAT
Face-to-face (F2F) / Virtual Class
LET US HELP YOU
Frequently asked questions
Is this course suitable for beginners?
Yes, this course is suitable for beginners. No prior experience in data analysis or programming is required. It provides a foundation in data visualization and covers various techniques from basic to advanced levels. The course will guide beginners in effectively visualizing data, teaching them the necessary tools, techniques, and best practices to present data in an engaging way. Whether you have a technical background or not, this course will equip you with the skills needed to create meaningful visualizations and tell compelling stories with data.
How will this course help me in my professional career?
Data visualization is a crucial skill for data scientists, data analysts, and professionals working with data. This course will enhance your ability to present complex data in an understandable and engaging manner. It will equip you with the skills to create visually compelling charts, graphs, and maps, enabling you to effectively communicate data-driven insights to stakeholders, clients, and decision-makers.
Is there any hands-on practice included in the course?
Yes, the course includes hands-on practice sessions where you will have the opportunity to apply the concepts learned and create visualizations using various tools. These practical exercises will help reinforce your understanding and build your confidence in visualizing data effectively.