Instructor-led training
Advanced Python 3 (4 Day Course) Training in Zanesville, Ohio
In this Python training course, students already familiar with Python programming will learn advanced Python techniques such as IPython Notebook, the Collections module, mapping and filtering, lamba functions, advanced sorting, writing object-oriented code, testing and debugging,…
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Zanesville, Ohio or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
Where this course gets difficult
This course moves quickly from core-language features into the data stack, and the data libraries behave differently from the Python you already know. The topics build in layers.
- Language depth first. Advanced list comprehensions, the Collections module, mapping and filtering, lambda functions, advanced sorting and unpacking sequences in function calls all reward a functional style. The common mistake is writing a nested comprehension that is shorter but unreadable, or reaching for
mapandfilterwhere a comprehension is clearer. - Object-oriented code. Attributes, methods and properties, extending classes, static, class and abstract methods, and decorators. The hard parts are knowing which kind of method fits a design and understanding what a decorator does to the function it wraps.
- NumPy and pandas. Arrays are not lists with extra methods. The syllabus compares them directly, then covers universal functions, modifying parts of an array and adding a row vector to all rows. In pandas, series alignment, element-wise operations, boolean selection and
at[]/iat[]access are where results surprise people. Aligning two series on their index can produce missing values rather than an error. - Text and encodings. Regular expressions and Unicode are separate skills. The course ends with encoding and decoding files, including converting a file from cp1252 to UTF-8, which is where bytes-versus-text confusion shows up.
The course is taught with Python 3 and notes differences from Python 2. Python 2.x support ended in January 2020, so those notes mainly help teams reading or migrating older code.
Who should take it, and what comes before and after
The course suits developers who already write Python comfortably: strings, lists, tuples, dictionaries, loops, conditionals and their own functions. Some exposure to HTML, XML, JSON and SQL helps, because a large part of the course covers databases, CSV, web data and those formats.
If your function-writing is still shaky, Introduction to Python 3.x covers the fundamentals this course assumes. If you can write scripts but want more practice before the advanced material, Intermediate Python 3.x is a natural bridge.
For a next step, teams whose work centers on large-scale data handling can continue with Advanced Data Processing using Python, which builds on the NumPy and pandas foundations introduced here.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Cleaning legacy exports. A team might receive CSV files saved in cp1252 and need them in UTF-8 before loading into a database. The encoding and decoding material, the CSV and database topics, and pandas data cleaning all apply.
- Combining web and file data. For example, a reporting script could fetch JSON or XML from the web, parse it, merge it with a CSV in a pandas DataFrame, and plot the result with matplotlib. Series alignment and boolean selection decide whether the merge is correct.
- Making a script maintainable. A group might turn a long procedural script into classes with properties and abstract methods, then protect it with
unittestcases and a performance test, so later changes do not silently alter results.
Using AI coding assistants with these topics
AI coding assistants are useful for drafting regular expressions, boilerplate classes, pandas one-liners and first-pass unit tests. They fail in predictable places for this material:
- Regular expressions. A pattern may match your sample line and fail on real input, or backtrack badly on long strings. Test it against empty, malformed and unusually long inputs.
- pandas and NumPy. Generated code often selects data in ways that return copies or views unexpectedly, or ignores index alignment. Check shapes, index values and missing-value counts after each step.
- Encodings. Assistants tend to assume UTF-8 or leave out the
encodingargument. Round-trip a file that contains non-ASCII characters. - Python 2 habits. Older idioms can show up in generated code. Knowing the Python 2 versus 3 differences helps you spot them.
To verify, run the code on edge cases, write unittest tests before trusting a generated function, and use the performance-testing techniques from the course to compare a vectorized approach against a plain loop. Review generated code before it automates any business process.
Frequently asked questions
What level is this course?
Advanced. It assumes you already write Python functions and work with core data structures, and it moves into object-oriented design, testing, NumPy, pandas, matplotlib, regular expressions and Unicode.
What should I know before attending?
You should be very comfortable with strings, lists, tuples, dictionaries, loops, conditionals and writing your own functions. Some exposure to HTML, XML, JSON and SQL is helpful but not required.
Does the course cover Python 2?
It is taught with Python 3 and points out differences from Python 2. Python 2.x support ended in January 2020, so the notes mainly help with reading or migrating existing code.
Can the course be delivered privately for our team?
Yes. Private training can be delivered onsite at your location or live online, and the content can be customized to your team's needs.
Can it be tailored to the Python version we use?
Private courses can be tailored to the technology versions an organization uses, including current releases. You can request a training proposal to discuss your environment.Training locations
Advanced Python 3 (4 Day Course) training across the U.S. and beyond.
We provide private Advanced Python 3 (4 Day Course) training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Advanced Python 3 (4 Day Course) training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.