Python Data Structures
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Python Data Structures
This course is part of Python for Everybody Specialization
1,191,907 already enrolled
Included with
Learn more
Ask Coursera
97,289 reviews
97,289 reviews
What you'll learn
Explain the principles of data structures & how they are used
Create programs that are able to read and write data from files
Store data as key/value pairs using Python dictionaries
Accomplish multi-step tasks like sorting or looping using tuples
Skills you'll gain
Tools you'll learn
Details to know
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 7 modules in this course
This course will introduce the core data structures of the Python programming language. We will move past the basics of procedural programming and explore how we can use the Python built-in data structures such as lists, dictionaries, and tuples to perform increasingly complex data analysis. This course will cover Chapters 6-10 of the textbook βPython for Everybodyβ. This course covers Python 3.
In this class, we pick up where we left off in the previous class, starting in Chapter 6 of the textbook and covering Strings and moving into data structures. The second week of this class is dedicated to getting Python installed if you want to actually run the applications on your desktop or laptop. If you choose not to install Python, you can just skip to the third week and get a head start.
What's included
7 videos7 readings1 assignment1 app item
7 videosβ’Total 57 minutes
- Video Welcome - Dr. Chuckβ’2 minutes
- Stringsβ’16 minutes
- Manipulating Stringsβ’18 minutes
- Worked Exercise: Stringsβ’8 minutes
- Bonus: Office Hours New York Cityβ’2 minutes
- Bonus: Monash Museum of Computing Historyβ’7 minutes
- Fun: The Textbook Authors Meet @PyConβ’4 minutes
7 readingsβ’Total 70 minutes
- Reading: Welcome to Python Data Structuresβ’10 minutes
- Help Us Learn More About You!β’10 minutes
- Course Syllabusβ’10 minutes
- Textbookβ’10 minutes
- Submitting Assignmentsβ’10 minutes
- Notice for Auditing Learners: Assignment Submissionβ’10 minutes
- Audio Versions of All Lecturesβ’10 minutes
1 assignmentβ’Total 30 minutes
- Quiz: Chapter 6β’30 minutes
1 app itemβ’Total 60 minutes
- Assignment: Parse Text Stringsβ’60 minutes
In this module you will set things up so you can write Python programs. We do not require installation of Python for this class. You can write and test Python programs in the browser using the "Python Code Playground" in this lesson. Please read the "Using Python in this Class" material for details.
What's included
5 videos2 readings1 peer review1 app item
5 videosβ’Total 26 minutes
- Demonstration: Using the Python Playgroundβ’4 minutes
- Windows 10: Installing Python and Writing A Programβ’6 minutes
- Windows: Taking Screen Shotsβ’2 minutes
- Macintosh: Using Python and Writing A Programβ’9 minutes
- Macintosh: Taking Screen Shotsβ’4 minutes
2 readingsβ’Total 20 minutes
- Important: Using Python in this Classβ’10 minutes
- Choosing a Text Editorβ’10 minutes
1 peer reviewβ’Total 120 minutes
- Optional- Installing Python Screen Shotsβ’120 minutes
1 app itemβ’Total 60 minutes
- Python Code Playgroundβ’60 minutes
Up to now, we have been working with data that is read from the user or data in constants. But real programs process much larger amounts of data by reading and writing files on the secondary storage on your computer. In this chapter we start to write our first programs that read, scan, and process real data.
What's included
5 videos1 reading1 assignment2 app items
5 videosβ’Total 46 minutes
- Filesβ’8 minutes
- Processing Filesβ’12 minutes
- Worked Exercise: Filesβ’10 minutes
- Bonus: Office Hours Barcelonaβ’1 minute
- Bonus: Gordon Bell - Building Blocks of Computingβ’15 minutes
1 readingβ’Total 10 minutes
- Where is the worked exercise for the second assignment?β’10 minutes
1 assignmentβ’Total 30 minutes
- Quiz: Chapter 7β’30 minutes
2 app itemsβ’Total 120 minutes
- Assignment: Read a File and Convert Its Textβ’60 minutes
- Assignment: Read a File and Process Its Dataβ’60 minutes
As we want to solve more complex problems in Python, we need more powerful variables. Up to now we have been using simple variables to store numbers or strings where we have a single value in a variable. Starting with lists we will store many values in a single variable using an indexing scheme to store, organize, and retrieve different values from within a single variable. We call these multi-valued variables "collections" or "data structures".
What's included
7 videos1 assignment2 app items
7 videosβ’Total 48 minutes
- Listsβ’10 minutes
- Manipulating Listsβ’9 minutes
- Lists and Stringsβ’8 minutes
- Fun: Python Lists in Parisβ’1 minute
- Worked Exercise: Listsβ’12 minutes
- Bonus: Office Hours - Chicagoβ’1 minute
- Bonus: Rasmus Lerdorf - Inventing the PHP Languageβ’8 minutes
1 assignmentβ’Total 30 minutes
- Quiz: Chapter 8β’30 minutes
2 app itemsβ’Total 120 minutes
- Assignment: Create a Sorted Word Listβ’60 minutes
- Assignment: Build a List of Sendersβ’60 minutes
The Python dictionary is one of its most powerful data structures. Instead of representing values in a linear list, dictionaries store data as key / value pairs. Using key / value pairs gives us a simple in-memory "database" in a single Python variable.
What's included
7 videos1 assignment1 app item
7 videosβ’Total 76 minutes
- Dictionariesβ’10 minutes
- Counting with Dictionariesβ’9 minutes
- Dictionaries and Filesβ’14 minutes
- Worked Exercise: Dictionariesβ’26 minutes
- Bonus: Office Hours - Amsterdamβ’3 minutes
- Bonus: Brendan Eich - Inventing Javascriptβ’12 minutes
- Fun: Dr. Chuck Goes Motocross Racingβ’2 minutes
1 assignmentβ’Total 30 minutes
- Quiz: Chapter 9β’30 minutes
1 app itemβ’Total 60 minutes
- Assignment: Find the Most Frequent Senderβ’60 minutes
Tuples are our third and final basic Python data structure. Tuples are a simple version of lists. We often use tuples in conjunction with dictionaries to accomplish multi-step tasks like sorting or looping through all of the data in a dictionary.
What's included
6 videos1 assignment1 app item
6 videosβ’Total 51 minutes
- Tuplesβ’18 minutes
- Worked Exercise: Tuples and Sortingβ’13 minutes
- Bonus: Office Hours - Puebla, Mexicoβ’1 minute
- Bonus: John Resig - Inventing JQueryβ’10 minutes
- Douglas Crockford: JavaScript Object Notation (JSON)β’7 minutes
- Fun: The Greatest Taco in the Worldβ’2 minutes
1 assignmentβ’Total 30 minutes
- Quiz: Chapter 10β’30 minutes
1 app itemβ’Total 60 minutes
- Assignment: Sort and Count Messagesβ’60 minutes
To celebrate your making it to the halfway point in our Python for Everybody Specialization, we welcome you to attend our online graduation ceremony. It is not very long, and it features a Commencement speaker and very short commencement speech.
What's included
2 videos2 readings
2 videosβ’Total 16 minutes
- Graduation Ceremonyβ’7 minutes
- Dr.Chuck Wrap Up/What's Nextβ’9 minutes
2 readingsβ’Total 20 minutes
- Please Rate this Course on Class-Centralβ’10 minutes
- Post-Course Surveyβ’10 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.
Instructor
Offered by
Explore more from Software Development
- Status: Free TrialG
Google
Course
- Status: Free TrialU
University of Colorado Boulder
Course
- C
Coursera
Guided Project
Why people choose Coursera for their career
Learner reviews
- 5 stars
87.64%
- 4 stars
11.16%
- 3 stars
0.92%
- 2 stars
0.13%
- 1 star
0.12%
Showing 3 of 97289
Reviewed on Nov 16, 2016
I really like this courses from Dr. Chuck. Just like previous course, this one has also been entertaining and interesting. I'm looking forward to the rest of courses in this specialization for Python.
Reviewed on Jun 18, 2020
Great course for pyhton. Loved this course and enjoyed it. Thanks to Dr.Chuck. If anyone who want to take a course which is well explained and fun for python learning, then Hey!!! this is your course.
Reviewed on Aug 19, 2020
Loved this course as it teaches you to get started with python and Dr.Chuck has made this course very much engaging and interesting. I would suggest to take this course in the order of specialization.
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,
ΒΉ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.
