Python – Complete Python, Django, Data Science and ML Guide

Video description

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.

What You Will Learn

  • Grasp concepts such as data types, loops, and conditional statements to build a robust coding foundation
  • Understand OOP principles like inheritance, encapsulation, and polymorphism for streamlined code
  • Manipulate files, directories, and efficiently manage external modules through Python
  • Master real-world datasets with NumPy, Pandas, Matplotlib and more
  • Ensure code reliability through Python's error handling and master the nuances of PIP and virtual project isolation

Audience

This comprehensive Python course is tailored for a diverse audience. It's an excellent choice for beginners taking their first steps in programming. If you're interested in data science and machine learning, this course equips you with essential skills. Web developers can leverage Python for building web applications. Moreover, if you're keen on tasks involving machine learning and data processing, this course is for you. Game developers looking to create games using Python and Pygame will find this course invaluable.

About The Author

Bogdan Stashchuk: Bogdan Stashchuk has over 20 years of experience as a software engineering instructor. He excels at breaking down complex topics into easy-to-follow steps. His courses are designed with hands-on exercises, ensuring that learners can actively participate and apply what they learn. From start to finish, students can follow along and complete tasks just as Bogdan demonstrates in his lectures. He also includes challenging assignments with detailed solutions. This approach helps learners understand and remember the material long after they've completed the course. Through his dedication and expertise, Bogdan ensures a valuable and effective learning experience for everyone.

Table of contents

  1. Chapter 1 : Introduction to Python
    1. Introduction to the Complete Python Guide
    2. Course Overview
    3. Where to Write and Run Python Code
    4. Practice Installing Python
    5. Practice - Using the Python Interactive Interpreter
  2. Chapter 2 : Installing and Using Pycharm IDE
    1. Installing PyCharm
    2. Getting Familiar with the PyCharm Interface
  3. Chapter 3 : Basics Concepts in Python
    1. Key Concept in Python
    2. Main Data Types in Python
    3. Practice - Working with Main Data Types
  4. Chapter 4 : Introduction to Functions and Built-in Functions in python
    1. Built-in Functions
    2. Practice - Defining and Using Functions
    3. Practice - Using the Return Statement in Functions
    4. Practice - Exploring Built-in Functions
    5. Practice - Using the built-in dir() Function
    6. Practice - Gathering User Input with the built-in input() Function
  5. Chapter 5 : Code formatting and PEP8
    1. Code Indentations
    2. Practice - Working with Indentations
    3. Following PEP 8 Guidelines
    4. Enabling Auto-Formatting in PyCharm
  6. Chapter 6 : Comments
    1. Comments
    2. Practice - Adding Comments to Your Code
  7. Chapter 7 : Expressions and Instructions
    1. Understanding Expressions
    2. Understanding Statements
    3. Practice - Using Expressions
    4. Practice - Using Statements
  8. Chapter 8 : Variables
    1. Variables
    2. Practice - Defining and Using Variables
  9. Chapter 9 : Data Types and structures
    1. Understanding Dynamic Typing
    2. Types and Data Structures Overview
    3. Variables and Objects
    4. Practice - Using the built-in id() Function
    5. Practice - Exploring Core Data Classes (str, int, bool, list, dict)
    6. Practice - Using the built-in isinstance() Function
  10. Chapter 10 : Strings
    1. Strings
    2. Practice - String Manipulation
    3. Practice - String Methods
  11. Chapter 11 : String Concatenation
    1. String Concatenation
    2. Practice - Concatenating Strings using the + Operator
    3. Practice - Using f-strings for String Formatting
    4. Practice - Alternative String Formatting Methods
  12. Chapter 12 : Numeric Types
    1. Integers
    2. Practice - Integers Manipulation
    3. Float Numbers
    4. Practice - Floating-Point Numbers Manipulation
    5. Working with Complex Numbers
  13. Chapter 13 : Boolean Values
    1. Boolean Values
    2. Practice - Working with Boolean Values
    3. Type Conversion
  14. Chapter 14 : Magic Methods
    1. Magic Methods
    2. Practice - Utilizing Magic Attributes and Methods
  15. Chapter 15 : Lists
    1. Lists
    2. List Methods
    3. Practice - Working with Lists
    4. Copying Lists
    5. Practice - Copying Lists
    6. TASK - Working with Lists
  16. Chapter 16 : Dictionaries
    1. Dictionaries
    2. Practice - Manipulating Dictionaries
    3. Practice - Dictionary Methods
    4. Other Operations with Dictionaries
    5. Practice - Using the get() Method for Dictionaries
    6. Practice - Converting Other Types to a Dictionary
    7. TASK - Working with Dictionaries
  17. Chapter 17 : Tuples
    1. Tuples
    2. Practice - Tuples Manipulation
  18. Chapter 18 : Sets
    1. Sets
    2. Practice - Working with Sets
    3. Understanding Set Theory
    4. Set Methods
    5. Practice - Usage of the Set Methods
    6. Practice - Calculating Symmetric Difference of Sets
    7. TASK - Working with Sets
  19. Chapter 19 : Ranges
    1. Ranges
    2. Practice - Range Manipulation
    3. Practice - Range Methods and Attributes
  20. Chapter 20 : Working with Sequences
    1. Built-in Functions for Sequences
    2. Built-in zip() Function
    3. Practice - Working with zip Objects
    4. Practice - Converting a zip Object to a Dictionary
    5. Comparison of Different Sequences
  21. Chapter 21 : Modifying Objects in Python
    1. Understanding Immutable Objects in Python
    2. Understanding Mutable Objects in Python
    3. Strategies to Prevent Object Mutation
    4. Practice - Creating Deep Copies of Objects
  22. Chapter 22 : Functions
    1. Functions
    2. Calling Functions. Arguments vs Parameters
    3. Shortest Function in Python
  23. Chapter 23 : Function Arguments
    1. Mutable and Immutable Arguments in Function Calls
    2. Practice - Using Mutable and Immutable Objects as Function Arguments
    3. Practice - Mandatory and Optional Positional Arguments
    4. TASK - Functions Manipulation
    5. Function Arguments
  24. Chapter 24 : Args and kwargs in Functions
    1. Practice - Using *args to Gather Positional Arguments into a Tuple
    2. Keyword Arguments
    3. Practice - Working with Keyword Arguments
    4. Practice - Using *kwargs to Merge Keyword Arguments in a Dictionary
    5. TASK - Manipulating Function Arguments
    6. Args and kwargs
    7. Practice - Gathering Positional Arguments into the *args Tuple
    8. Practice - Gathering All Keyword Arguments into the **kwargs Dictionary
  25. Chapter 25 : Default Function Parameters
    1. Default Function Parameters
    2. Practice - Using Default Function Parameters
  26. Chapter 26 : Docstrings
    1. Docstrings
    2. Practice - Writing and Using Docstrings
    3. Practice - Exploring Docstrings
    4. Practice - Adding Docstrings to Functions
  27. Chapter 27 : Callback Functions
    1. Callback Functions
    2. Rules for Working with Functions
  28. Chapter 28 : Global and local Variables
    1. Scopes
    2. The Global Keyword
    3. Practice - Global and Local Variables
    4. Practice - Using the Global Keyword
  29. Chapter 29 : Operators
    1. Operators
    2. Unary and Binary Operators
    3. Practice - Working with Prefix Unary Operators
    4. TASK - Operators
  30. Chapter 30 : Falsy and Truthy Values
    1. Falsy and Truthy Values
    2. Practice - Falsy and Truthy Values
  31. Chapter 31 : Logical and Comparison Operators
    1. Logical Operators
    2. Practice - Short-Circuit OR Operator
    3. Practice - Short-Circuit AND Operator
    4. Practice - Combining OR and AND Operators
    5. Practice - Examples with Logical Operators
    6. Practice - Comparison Operators
    7. The del Statement
  32. Chapter 32 : Lambda Functions
    1. Lambda Functions
    2. Practice - Returning Lambda Functions from Functions
    3. Practice - Sorting a List using Lambda Functions
    4. Practice - Filtering a List using Lambda Functions
  33. Chapter 33 : Error handling
    1. Error Handling
    2. Practice - Using Different Error Classes in the Try and Except
    3. Practice - Using Multiple Error Classes in one Except Block and Parent Exception Class
    4. Practice - Using Else and Finally Blocks
    5. Example - Handling File Not Found Errors
    6. Example - Handling Undefined Variable Errors
    7. Practice - Raising Custom Errors
    8. Practice - Handling Raised Errors using Try and Except
    9. Practice - Specifying Types for Function Parameters
    10. TASK - Proper Error Handling
  34. Chapter 34 : Sequence Unpacking
    1. Sequence Unpacking
    2. Practice - Unpacking Tuples
    3. Practice - Unpacking a List of Tuples
    4. Practice - Unpacking Remaining Elements
    5. Practice - Unpacking Selected Elements
    6. Practice - Unpacking a List into Positional Arguments
    7. Practice - Unpacking a Dictionary into Keyword Arguments
    8. Practice - Flexibility in Function Calls
  35. Chapter 35 : Unpacking Dictionary
    1. Dictionary Unpacking Operator **:
    2. Practice - Using the Dictionary Unpacking Operator
    3. Practice - Merging Two Dictionaries
  36. Chapter 36 : Conditional Statements
    1. Conditional Statements
    2. Practice - Working with Multiple if Statements
    3. The if-else Statement
    4. The if-elif Statement
    5. Practice - Combining if, elif, and else Statements
    6. Practice - Considering the Order of Conditions in if Statements
    7. Practice - Incorporating if Statements into Functions
    8. Practice - Using if and return Statements within Functions
    9. Example - Calculating School Grades using if and return in the Function
    10. TASK - Conditional Statements
  37. Chapter 37 : Ternary Operator
    1. Ternary Operator
    2. Practice - Utilizing the Ternary Operator
    3. Example - Calculating Discounts with the Ternary Operator
    4. Example - Data Manipulation using the Ternary Operator
    5. Example - Calculating School Grades using the Ternary Operator
  38. Chapter 38 : For-In loop
    1. Loops
    2. For-In Loop
    3. Practice - Iterating through Lists and Tuples using For-In Loops
    4. Practice - Iterating through Dictionaries using For-In Loops
    5. Practice - Iterating through Ranges, Strings, and Sets with For-In Loops
    6. TASKS - Working with For-In Loops
  39. Chapter 39 : While Loop
    1. While Loop
    2. Practice - Utilizing the While Loop
    3. Example - Making Selections with the While Loop
    4. Practice - Using break Statements in While and For-In Loops
    5. Practice - Using continue and break Statements in While Loops
    6. TASK - While Loop
  40. Chapter 40 : For-In Expression (Comprehension)
    1. For-In Expression
    2. List, Set, and Dictionary Comprehensions
    3. Practice - Using List Comprehension
    4. Practice - Using Dictionary Comprehension
    5. Practice - Utilizing Tuple Comprehension
    6. Practice - Converting Tuples to Lists
    7. Example - Constructing Dictionaries from Sequences
    8. Practice - Short For-In Loops with Conditional Statements
    9. Example - Converting Dictionary to Another Dictionary
    10. TASKS - Short For-In Loops
    11. Example - Chaining For-In Expressions
  41. Chapter 41 : Generators
    1. Generators in For-In Expressions
    2. Practice - Generators and Iteration over the Generator
  42. Chapter 42 : Decorator Functions
    1. Introduction to Decorator Functions
    2. Example - Verifying User Permissions with Decorator Functions
    3. Example - Logging using Decorator Functions
    4. Example - Validating Arguments with Decorator Functions
  43. Chapter 43 : Classes and Objects
    1. Classes and Objects
    2. Practice - Understanding Classes and Class Instances
    3. Practice - Adding Instance Attributes through Dot Notation
    4. Adding Instance Attributes using the ..init.. Method
    5. Practice - Incorporating Own Instance Attributes with the ..init.. Method
  44. Chapter 44 : Instance and Class method
    1. Instance vs Class Methods
    2. Practice - Inheriting Methods by the Instances
    3. Static Class Methods
    4. Practice - Utilizing Static Methods in Classes
    5. Class Attributes
    6. Practice - Working with Class Attributes
  45. Chapter 45 : Magic Methods in Classes
    1. Magic Methods in Classes
    2. Practice - Utilizing Magic Methods in Classes
  46. Chapter 46 : Classes Extension
    1. Inheritance from Other Classes
    2. Practice - Extending Classes
  47. Chapter 47 : Classes in Practice
    1. Example - Creating Forum, User, and Post Classes
    2. Example - Creating Instances of the Forum, User, and Post Classes
    3. Example - Methods for Finding Users by Username and Email
    4. Example - Method for Finding All Posts by a Specific User
    5. Example - Retrieving User Posts by Email
    6. Example - Adding Parameter Types
    7. Example - Wrapping up the Forum, Users, and Posts Example
  48. Chapter 48 : Key Principles in Object-Oriented Programming (OOP)
    1. Encapsulation in Object-Oriented Programming (OOP)
    2. Inheritance in Object-Oriented Programming (OOP)
    3. Polymorphism in Object-Oriented Programming (OOP)
    4. Abstraction in Object-Oriented Programming (OOP)
  49. Chapter 49 : Modules
    1. Modules
    2. Practice - Importing Entire Custom Modules
    3. Practice - Selective Imports from Other Modules
    4. Practice - Importing between Different Modules
    5. Practice - Modules in Subfolders
  50. Chapter 50 : Built-in Modules
    1. Built-in Modules
    2. Practice - Importing from Built-in Modules
  51. Chapter 51 : What is __name__ and __main__
    1. Practice - _name_ and _main_
    2. Example - Executing Functions only when Module is run Directly
    3. Practice - Packages in Python
  52. Chapter 52 : JavaScript Object Notation (JSON)
    1. JavaScript Object Notation (JSON)
    2. Practice - Converting Python Objects to JSON
    3. Practice - Converting from JSON to Python Objects
    4. Practice - Formatting Dictionaries using JSON
    5. TASKS - JSON
  53. Chapter 53 : Working with Files
    1. Working with Files
    2. Working with Files and Directories using the os Module
    3. Removing Files and Directories using the os Module
    4. Summary of Directory and File Operations using the os Module
    5. Working with Files and Directories using the Path Class
    6. Iterating over Directories and Removing Files using the Path Class
    7. Reading and Writing Files
    8. Writing and Reading Files using the built-in open Function
    9. Using the with Statement
    10. Removing Files using unlink
    11. TASK - Files
  54. Chapter 54 : Working with zip archives
    1. Built-in zipfile Module and Creating Zip Archives
    2. Reading from the Zip Archive
  55. Chapter 55 : Working with CSV Files
    1. Working with CSV Files
    2. Iterating over Each Row in the CSV File
  56. Chapter 56 : Working with Dates and Times
    1. Built-in datetime Module
    2. Examples - Using the datetime Class
    3. Examples - Converting Strings to Datetime Objects
    4. Example - Working with the timedelta Class
    5. Built-in time Module
  57. Chapter 57 : Generating Random Sequences and Passwords
    1. Built-in random Module
    2. Examples - Utilizing choices and shuffle Methods from the random Module
    3. Built-in secrets Module
    4. Examples - Generating CSRF Tokens, URL-Safe Tokens, and OTP Passwords
    5. Example - Generating Strong Passwords
  58. Chapter 58 : Math Module and Recursive Functions
    1. Built-in math Module
    2. Recursive Functions
  59. Chapter 59 : Regular Expressions
    1. Built-in re Module for Regular Expressions
    2. Example - Creating Patterns for Matching
    3. Example - Email Validation using Regular Expressions
    4. Example - Substring Replacement using Regular Expressions
    5. Example - Removing Excessive Spaces using Regular Expressions
    6. TASK - Password Verification
  60. Chapter 60 : Sending Emails
    1. Running smtp4dev SMTP server in a Docker Container
    2. Sending an Email using SMTP
    3. Formatting an Email using an HTML Template
    4. SMTP Wrap-Up and Removing the Docker smtp4dev Container
  61. Chapter 61 : Working with SQLite Database
    1. Creating an SQLite3 Database and Table
    2. Writing Data into the SQLite Table
    3. Reading Data from the SQLite Table
    4. SQLite Summary
  62. Chapter 62 : Other Built-in Modules
    1. Built-in array Module
    2. Saving Arrays to Files and Reading Arrays from Files
    3. Accessing Program Arguments using the built-in sys Module
    4. Built-in webbrowser Module
  63. Chapter 63 : Virtual Environments
    1. Introduction to PIP - Package Manager for Python
    2. Using a Globally Installed requests Package
    3. Uninstalling Globally Installed Packages using PIP
    4. Creating a Python Virtual Environment
    5. Activation and Deactivation of the Virtual Environment in the Shell
    6. Installing Packages within the Virtual Environment
    7. Saving a List of Installed Packages in a Requirements Text File
    8. Challenges of Package Management using Requirements Files
  64. Chapter 64 : Pipenv for Virtual Environments Management
    1. Installing pipenv for Virtual Environments Management
    2. Creating a Virtual Environment using pipenv:
    3. Installing Packages using pipenv:
    4. Updating Packages using pipenv:
    5. Recreating Virtual Environment in the Project Folder using pipenv:
    6. Using venv for Virtual Environments in PyCharm:
    7. Using pipenv for Virtual Environments in PyCharm:
  65. Chapter 65 : Introduction to the Django web framework
    1. Introduction to the Django Web Framework and Project Overview
    2. Model View Controller (MVC) Programming Pattern
    3. Understanding How MVC Pattern is Implemented in Django
    4. Creating a New PyCharm Project and Installing Django
  66. Chapter 66 : Creating a Django project
    1. Creating a New Django Project
    2. Overview of the manage.py File in Django
    3. Starting and Verifying the Django Server
    4. Overview of Settings in the Django Project
    5. Overview of Default Routing Configuration in Django
  67. Chapter 67 : Creating a Django Application
    1. Creating the Shop Application in Django
    2. Explaining the Naming of the Django Project as base
    3. Exploring the Contents of the Shop Application
    4. Creating a View Function
    5. Attaching the View Function to a URL:
    6. Adding Shop Application Routes to the Global Project Routing Configuration
  68. Chapter 68 : Database and Migrations in Django
    1. Applying Default Migrations in the Django Project
    2. Creating an Admin User in the Django Project
    3. Creating Course and Category Models
    4. Enabling the Shop Application in the Django Project
    5. Creating and Applying Migrations for the Shop Application
    6. Modifying Database Models
    7. Creating a Category using the Category Model in the Shell
    8. Creating Courses using the Course Model in the Shell
    9. Creating Categories and Courses in the Admin Interface
    10. Modifying How Courses and Categories are Displayed in the Admin Panel
    11. Sending Course Titles to the Client in the Response
  69. Chapter 69 : Creating Templates in Django
    1. Creating an HTML Template
    2. Using an HTML Template in the View Function
    3. Populating the HTML Template with Data from the Database
    4. How we Connected Templates, Views, and Models
    5. Adding the Bootstrap CSS Library to the HTML Template
  70. Chapter 70 : Extending Other Templates in Django
    1. Creating a Base HTML Template for Reuse in Other Templates
    2. Adding a Navigation Bar in the Base Template
    3. TASK - Making the Title of the Web Page Dynamic:
    4. SOLUTION - Making the Title of the Web Page Dynamic:
  71. Chapter 71 : Creating Multiple routes and View Functions
    1. Creating a Route for the Single Course Web Page
    2. Creating a View Function for the Single Course
    3. TASK - Creating an HTML Template for the Single Course
    4. SOLUTION - Creating an HTML Template for the Single Course
    5. Responding with a 404 When Course is Not Found in the Database
  72. Chapter 72 : Routing between Pages in Django
    1. Setting Up Routing Between Pages Using Relative or Absolute Paths
    2. Setting Up Routing Based on the Names of the URL Patterns
    3. Considering Application Names in the Routing Setup:
    4. Adding a Link to the All Courses Page
    5. Moving the Templates Folder Out of the Shop Application Folder
    6. Modifying the Model for the Courses
    7. Summary of the Django Shop Application
    8. Installing django-tastypie for the API Django Application
  73. Chapter 73 : Creating an API Django Application
    1. Creating an API Django Application
    2. Creating Models for the API Application
    3. Configuring Routing for the API Application
    4. Verifying the API Service
    5. Adding Version for the API
    6. Installing Postman and Sending GET and DELETE Requests
  74. Chapter 74 : Managing Authentication for API Requests
    1. Creating an API Key for the User
    2. Enabling Authentication and Authorization for the Model and Using DELETE Method
    3. Disabling Authentication Only for GET Requests
    4. Creating a New Resource Using POST Method
    5. Properly Connecting the Course to the Category in POST Requests Using Hydrate Method
    6. Adding Dehydrate Method to Modify Data Before Sending to Client
    7. Summary for Setting Up GET, POST, and DELETE Requests
  75. Chapter 75 : Django Project Refactoring and Admin Settings
    1. Refactoring Routing for the API Application
    2. Setting Up Index Route and Adding Navigation to Navbar
    3. Modifying Administrative Panel
    4. Summary of Django Courses Project
  76. Chapter 76 : Creating Games with Pygame
    1. Introduction to Pygame and Creating the Game Window
    2. Modifying Background Color of the Game Surface
    3. Displaying a Rectangle in the Game
    4. TASK - Placing Rectangle in the Middle of the Game Window
    5. SOLUTION - Placing Rectangle in the Middle of the Game Window
    6. Moving Rectangle Using Keyboard Arrows
    7. Stopping Rectangle from Moving Outside of the Surface
  77. Chapter 77 : Creating a Shooter Game with Pygame
    1. Final Shooter Game Overview
    2. Loading Images for the Game and Fighter
    3. Displaying Fighter on the Surface
    4. Moving Fighter Left or Right
    5. Making Fighter Movement Continuous
    6. Adding the Ball to the Game
    7. Showing Ball Based on Fighter Position
    8. Moving the Ball After Firing
    9. Adding the Alien to the Game
    10. Moving the Alien Down the Surface
  78. Chapter 78 : Interaction of the Elements in the Pygame
    1. Detecting Collision Between Alien and Fighter, Ending the Game
    2. Hitting the Alien with the Ball
    3. Increasing Alien Speed After Each Hit
    4. Adding Hit Counter
    5. Shooter Game Summary
  79. Chapter 79 : Game Refactoring using Classes and OOP
    1. Start of Shooter Refactoring and Creating the Fighter Class
    2. Adding Methods in the Fighter Class
    3. Creating an Alien Class
    4. Adding Methods in the Alien Class
    5. Creating a Ball Class
    6. Adding Methods in the Ball Class
    7. Creating a Game Class
    8. Adding Methods in the Game Class
    9. Adding Methods for Drawing Elements and Finalizing Refactoring
    10. Game Refactoring Summary
    11. Running the Game After Refactoring
  80. Chapter 80 : Jupyter Notebook
    1. Installing Jupyter Notebook
    2. Editing in Jupyter Notebook
    3. Order of Execution of Cells in Jupyter Notebook
    4. Adding Markdown, Saving, and Loading Jupyter Notebooks
  81. Chapter 81 : Jupyter Lab
    1. Installing Jupyter Lab and Editing Notebooks
    2. Exploring Features of Jupyter Lab
    3. Installing External Packages in Jupyter Notebook
  82. Chapter 82 : NumPy - Creating Arrays
    1. Introduction to NumPy and Creating One-Dimensional Arrays
    2. Two-Dimensional Arrays in NumPy
    3. Understanding Axes in NumPy
    4. Arithmetic Operations with NumPy Arrays
    5. Concatenating NumPy Arrays
    6. Summary of Basic Operations with NumPy Arrays
  83. Chapter 83 : NumPy – Random Values
    1. Filling a NumPy Array with Zeroes, Ones, or Random Floats
    2. Generating Random Elements Using randint and uniform:
    3. Understanding Seed Number
    4. NumPy arange, reshape, and flatten Methods
  84. Chapter 84 : NumPy – Examples
    1. NumPy Examples 1 and 2 (One-Dimensional Array):
    2. NumPy Examples 3 and 4 (One-Dimensional Array):
    3. NumPy Example 5 (Two-Dimensional Array):
    4. NumPy Example 6 (Two-Dimensional Array):
    5. NumPy Example 7 (Three-Dimensional Array):
    6. NumPy Summary
  85. Chapter 85 : Pandas – Working with DataFrames and Series
    1. Introduction to Pandas and Installation
    2. Creating a DataFrame from a Dictionary
    3. Basic Operations with DataFrame
    4. Describing the DataFrame
    5. Finding Null Values in the DataFrame
    6. Finding Columns with Specific Data Type
    7. Series Data Structure in Pandas
    8. Selecting Part of the DataFrame Using loc and iloc Properties
    9. Filtering Data in the DataFrame
    10. Datetime Type in Pandas
    11. Sorting Data in the DataFrame
    12. Adding and Removing Columns and Concatenating DataFrames
    13. Summary of Pandas DataFrames and Series
  86. Chapter 86 : Pandas – Random Data Working with CSV
    1. Generating Random Data for DataFrames
    2. Creating a DataFrame Using Random Data
    3. Saving DataFrames to CSV Files
    4. Creating DataFrames from CSV Files
    5. Writing DataFrames to Excel and JSON Files
  87. Chapter 87 : Pandas – Analysing CSV- Loaded DataFrames
    1. Analyzing CSV-Loaded DataFrames
    2. Grouping Data in DataFrames
    3. Displaying Series Data on Plots Using Matplotlib
    4. Summary of Example with Random CSV Data
  88. Chapter 88 : Matplotlib – Creating Charts
    1. Examples of Plot and Scatter Diagrams Using Matplotlib
    2. Examples of Matplotlib Subplots
    3. Using DataFrames for Creating Diagrams
    4. Boxplots, Area Plots, and Pie Charts
    5. Example of a Heatmap in Matplotlib
    6. Displaying Real-World Data on Various Charts
  89. Chapter 89 : Scikit – Learn - Machine Learning
    1. Introduction to Scikit-Learn and Installation
    2. Loading and Analyzing Sample Data for Model Creation
    3. Handling Null Values in DataFrame
    4. Attempting to Create a Model for Predicting Target Values
    5. Encoding Non-Numeric Values in Input Data
    6. Building and Predicting with Cleaned and Encoded Data
    7. Summary of Model for Predicting Favorite Transport
    8. Visualizing DecisionTreeClassifier Model
    9. Creating Charts for Data from the Built Model
    10. Evaluating Model Accuracy
  90. Chapter 90 : Machine Learning Model for Real Data
    1. Loading CSV File with Airline Passenger Satisfaction Data
    2. Analyzing DataFrame with Passenger Satisfaction Data
    3. Filling Null Values with Mean Value
    4. Creating Diagrams for Passenger Data Analysis
    5. Manually Encoding Non-Numeric Values in DataFrame
    6. Encoding Non-Numeric Values Using LabelEncoder
    7. Creating Additional Diagrams After Data Cleaning and Encoding
    8. Filtering DataFrame with Passenger Data
    9. Using DecisionTreeClassifier for Model Creation
    10. Measuring Model Accuracy with DecisionTreeClassifier
    11. Using Other Classifiers for Model Creation
    12. Summary of Airline Passenger Satisfaction Project
  91. Chapter 91 : Making Machine Learning Model More Real
    1. Removing Passenger Votes from DataFrame
    2. Saving Trained Model for Future Use
    3. Summary of Realistic Model for Passenger Satisfaction Prediction

Product information

  • Title: Python – Complete Python, Django, Data Science and ML Guide
  • Author(s): Bogdan Stashchuk
  • Release date: November 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781835465141