![Python – Complete Python, Django, Data Science and ML Guide [Video]](https://content.packt.com/V21916/cover_image_small.jpg)
Python – Complete Python, Django, Data Science and ML Guide [Video]
Subscription
FREE
Video + Subscription
$29.99
Video
$129.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$29.99
Video
$129.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterIntroduction to Python
-
Installing and Using Pycharm IDE
-
Basics Concepts in Python
-
Introduction to Functions and Built-in Functions in python
-
Code formatting and PEP8
-
Comments
-
Expressions and Instructions
-
Variables
-
Data Types and structures
-
Strings
-
String Concatenation
-
Numeric Types
-
Boolean Values
-
Magic Methods
-
Lists
-
Dictionaries
-
Tuples
-
Sets
-
Ranges
-
Working with Sequences
-
Modifying Objects in Python
-
Functions
-
Function Arguments
-
Args and kwargs in Functions
- Practice - Using *args to Gather Positional Arguments into a Tuple
- Keyword Arguments
- Practice - Working with Keyword Arguments
- Practice - Using *kwargs to Merge Keyword Arguments in a Dictionary
- TASK - Manipulating Function Arguments
- Args and kwargs
- Practice - Gathering Positional Arguments into the *args Tuple
- Practice - Gathering All Keyword Arguments into the **kwargs Dictionary
-
Default Function Parameters
-
Docstrings
-
Callback Functions
-
Global and local Variables
-
Operators
-
Falsy and Truthy Values
-
Logical and Comparison Operators
-
Lambda Functions
-
Error handling
- Error Handling
- Practice - Using Different Error Classes in the Try and Except
- Practice - Using Multiple Error Classes in one Except Block and Parent Exception Class
- Practice - Using Else and Finally Blocks
- Example - Handling File Not Found Errors
- Example - Handling Undefined Variable Errors
- Practice - Raising Custom Errors
- Practice - Handling Raised Errors using Try and Except
- Practice - Specifying Types for Function Parameters
- TASK - Proper Error Handling
-
Sequence Unpacking
- Sequence Unpacking
- Practice - Unpacking Tuples
- Practice - Unpacking a List of Tuples
- Practice - Unpacking Remaining Elements
- Practice - Unpacking Selected Elements
- Practice - Unpacking a List into Positional Arguments
- Practice - Unpacking a Dictionary into Keyword Arguments
- Practice - Flexibility in Function Calls
-
Unpacking Dictionary
-
Conditional Statements
- Conditional Statements
- Practice - Working with Multiple if Statements
- The if-else Statement
- The if-elif Statement
- Practice - Combining if, elif, and else Statements
- Practice - Considering the Order of Conditions in if Statements
- Practice - Incorporating if Statements into Functions
- Practice - Using if and return Statements within Functions
- Example - Calculating School Grades using if and return in the Function
- TASK - Conditional Statements
-
Ternary Operator
-
For-In loop
-
While Loop
-
For-In Expression (Comprehension)
- For-In Expression
- List, Set, and Dictionary Comprehensions
- Practice - Using List Comprehension
- Practice - Using Dictionary Comprehension
- Practice - Utilizing Tuple Comprehension
- Practice - Converting Tuples to Lists
- Example - Constructing Dictionaries from Sequences
- Practice - Short For-In Loops with Conditional Statements
- Example - Converting Dictionary to Another Dictionary
- TASKS - Short For-In Loops
- Example - Chaining For-In Expressions
-
Generators
-
Decorator Functions
-
Classes and Objects
-
Instance and Class method
-
Magic Methods in Classes
-
Classes Extension
-
Classes in Practice
- Example - Creating Forum, User, and Post Classes
- Example - Creating Instances of the Forum, User, and Post Classes
- Example - Methods for Finding Users by Username and Email
- Example - Method for Finding All Posts by a Specific User
- Example - Retrieving User Posts by Email
- Example - Adding Parameter Types
- Example - Wrapping up the Forum, Users, and Posts Example
-
Key Principles in Object-Oriented Programming (OOP)
-
Modules
-
Built-in Modules
-
What is __name__ and __main__
-
JavaScript Object Notation (JSON)
-
Working with Files
- Working with Files
- Working with Files and Directories using the os Module
- Removing Files and Directories using the os Module
- Summary of Directory and File Operations using the os Module
- Working with Files and Directories using the Path Class
- Iterating over Directories and Removing Files using the Path Class
- Reading and Writing Files
- Writing and Reading Files using the built-in open Function
- Using the with Statement
- Removing Files using unlink
- TASK - Files
-
Working with zip archives
-
Working with CSV Files
-
Working with Dates and Times
-
Generating Random Sequences and Passwords
-
Math Module and Recursive Functions
-
Regular Expressions
-
Sending Emails
-
Working with SQLite Database
-
Other Built-in Modules
-
Virtual Environments
- Introduction to PIP - Package Manager for Python
- Using a Globally Installed requests Package
- Uninstalling Globally Installed Packages using PIP
- Creating a Python Virtual Environment
- Activation and Deactivation of the Virtual Environment in the Shell
- Installing Packages within the Virtual Environment
- Saving a List of Installed Packages in a Requirements Text File
- Challenges of Package Management using Requirements Files
-
Pipenv for Virtual Environments Management
- Installing pipenv for Virtual Environments Management
- Creating a Virtual Environment using pipenv:
- Installing Packages using pipenv:
- Updating Packages using pipenv:
- Recreating Virtual Environment in the Project Folder using pipenv:
- Using venv for Virtual Environments in PyCharm:
- Using pipenv for Virtual Environments in PyCharm:
-
Introduction to the Django web framework
-
Creating a Django project
-
Creating a Django Application
-
Database and Migrations in Django
- Applying Default Migrations in the Django Project
- Creating an Admin User in the Django Project
- Creating Course and Category Models
- Enabling the Shop Application in the Django Project
- Creating and Applying Migrations for the Shop Application
- Modifying Database Models
- Creating a Category using the Category Model in the Shell
- Creating Courses using the Course Model in the Shell
- Creating Categories and Courses in the Admin Interface
- Modifying How Courses and Categories are Displayed in the Admin Panel
- Sending Course Titles to the Client in the Response
-
Creating Templates in Django
-
Extending Other Templates in Django
-
Creating Multiple routes and View Functions
-
Routing between Pages in Django
- Setting Up Routing Between Pages Using Relative or Absolute Paths
- Setting Up Routing Based on the Names of the URL Patterns
- Considering Application Names in the Routing Setup:
- Adding a Link to the All Courses Page
- Moving the Templates Folder Out of the Shop Application Folder
- Modifying the Model for the Courses
- Summary of the Django Shop Application
- Installing django-tastypie for the API Django Application
-
Creating an API Django Application
-
Managing Authentication for API Requests
- Creating an API Key for the User
- Enabling Authentication and Authorization for the Model and Using DELETE Method
- Disabling Authentication Only for GET Requests
- Creating a New Resource Using POST Method
- Properly Connecting the Course to the Category in POST Requests Using Hydrate Method
- Adding Dehydrate Method to Modify Data Before Sending to Client
- Summary for Setting Up GET, POST, and DELETE Requests
-
Django Project Refactoring and Admin Settings
-
Creating Games with Pygame
- Introduction to Pygame and Creating the Game Window
- Modifying Background Color of the Game Surface
- Displaying a Rectangle in the Game
- TASK - Placing Rectangle in the Middle of the Game Window
- SOLUTION - Placing Rectangle in the Middle of the Game Window
- Moving Rectangle Using Keyboard Arrows
- Stopping Rectangle from Moving Outside of the Surface
-
Creating a Shooter Game with Pygame
- Final Shooter Game Overview
- Loading Images for the Game and Fighter
- Displaying Fighter on the Surface
- Moving Fighter Left or Right
- Making Fighter Movement Continuous
- Adding the Ball to the Game
- Showing Ball Based on Fighter Position
- Moving the Ball After Firing
- Adding the Alien to the Game
- Moving the Alien Down the Surface
-
Interaction of the Elements in the Pygame
-
Game Refactoring using Classes and OOP
- Start of Shooter Refactoring and Creating the Fighter Class
- Adding Methods in the Fighter Class
- Creating an Alien Class
- Adding Methods in the Alien Class
- Creating a Ball Class
- Adding Methods in the Ball Class
- Creating a Game Class
- Adding Methods in the Game Class
- Adding Methods for Drawing Elements and Finalizing Refactoring
- Game Refactoring Summary
- Running the Game After Refactoring
-
Jupyter Notebook
-
Jupyter Lab
-
NumPy - Creating Arrays
-
NumPy – Random Values
-
NumPy – Examples
-
Pandas – Working with DataFrames and Series
- Introduction to Pandas and Installation
- Creating a DataFrame from a Dictionary
- Basic Operations with DataFrame
- Describing the DataFrame
- Finding Null Values in the DataFrame
- Finding Columns with Specific Data Type
- Series Data Structure in Pandas
- Selecting Part of the DataFrame Using loc and iloc Properties
- Filtering Data in the DataFrame
- Datetime Type in Pandas
- Sorting Data in the DataFrame
- Adding and Removing Columns and Concatenating DataFrames
- Summary of Pandas DataFrames and Series
-
Pandas – Random Data Working with CSV
-
Pandas – Analysing CSV- Loaded DataFrames
-
Matplotlib – Creating Charts
-
Scikit – Learn - Machine Learning
- Introduction to Scikit-Learn and Installation
- Loading and Analyzing Sample Data for Model Creation
- Handling Null Values in DataFrame
- Attempting to Create a Model for Predicting Target Values
- Encoding Non-Numeric Values in Input Data
- Building and Predicting with Cleaned and Encoded Data
- Summary of Model for Predicting Favorite Transport
- Visualizing DecisionTreeClassifier Model
- Creating Charts for Data from the Built Model
- Evaluating Model Accuracy
-
Machine Learning Model for Real Data
- Loading CSV File with Airline Passenger Satisfaction Data
- Analyzing DataFrame with Passenger Satisfaction Data
- Filling Null Values with Mean Value
- Creating Diagrams for Passenger Data Analysis
- Manually Encoding Non-Numeric Values in DataFrame
- Encoding Non-Numeric Values Using LabelEncoder
- Creating Additional Diagrams After Data Cleaning and Encoding
- Filtering DataFrame with Passenger Data
- Using DecisionTreeClassifier for Model Creation
- Measuring Model Accuracy with DecisionTreeClassifier
- Using Other Classifiers for Model Creation
- Summary of Airline Passenger Satisfaction Project
-
Making Machine Learning Model More Real
About this video
Join us on an immersive Python programming journey, spanning over 50 hours of learning. Whether you're a novice or experienced, this course equips you with vital Python skills for careers and projects.
Starting from the basics, grasp Python's core principles and proficiency in real-world functions. As Python's popularity grows, this course readies you for the rising demand for Python developers. You'll practice hand-on examples using Python's interpreter and Visual Studio Code with Code Runner to solidify your skills.
With a focus on Data Science and Machine Learning, you'll master essential packages such as NumPy, Pandas, Matplotlib, and Scikit-learn, using the versatile Jupyter Notebook. The course extensively covers Python's fundamental aspects, spanning variables, lists, dictionaries, and venturing into advanced topics like classes, loops, modules, and creating virtual environments. The goal is to provide you with a solid Python foundation. You'll also gain insight into functional and object-oriented Python programming, making you a versatile coder.
The course is thoughtfully structured, explaining not just "how" but also "why" we use specific methods and best practices. By course end, you'll harness Python's full potential for web and mobile app development, data science, machine learning, and game creation.
- Publication date:
- November 2023
- Publisher
- Packt
- Duration
- 50 hours 30 minutes
- ISBN
- 9781835465141