An intro Course illustrating SQL equivalents in Python

What you will learn

Learn Python by Example

Learn to translate SQL into Python

Manipulate data in Python like you would with SQL

Become familiar with the Pandas library in Python

Description

Overview

In this course you will learn how to use the Python Pandas library to achieve the core SQL functionality listed below.

If you are ready to make the leap from SQL to Python, this course will help you through your adoption and increased usage of Python for data manipulation, transformation and ultimately data analysis.

Understanding how to achieve SQL data manipulation features in Python will serve as your foundation for using Python for advanced analysts, data science and other machine learning tasks.

Prerequisites


Get Instant Notification of New Courses on our Telegram channel.


This course is recommended for anyone who is comfortable with SQL and would like to increase their adoption of Python for their day to day. It’s also recommended that you have a base understanding of Python or some familiarity of any programming language in order to get the most of this course. Other prerequisites will be outlined in the Introduction video, but having the following set up on your computer ahead of time will allow you to dive right in.

  • Python 3.7 or above installed
  • pandas library installed (pip install pandas)
  • IDE (e.g. PyCharm, VS Code)
  • Git (optional, for cloning repo with code examples)

Core Concepts taught in this course

Core SQL Concepts translated to Python Pandas code are:

  • SQL Limit
  • SQL Distinct
  • SQL Where
  • SQL WHERE / AND (Multiple Predicates)
  • SQL IN ( )
  • SQL NOT IN ( )
  • SQL Aggregate Functions
    • SQL MIN
    • SQL MAX
    • SQL COUNT
    • SQL COUNT DISTINCT
    • SQL AVERAGE / MEAN
  • Mode (Not usually available in most SQL databases)
  • SQL Group by Aggregates
  • SQL Row Number over (partition by / order by)
  • SQL Case Statements
  • SQL Joins

Thank you for enrolling in this course! Enjoy!

English
language

Content

Introduction

Introduction

SQL to Python using Python Pandas

SQL Limit Records
SQL Distinct
SQL Select Columns
SQL Where Clause
SQL Multiple Where Clause
SQL IN ( )
SQL NOT IN ( )
SQL Average
SQL Max
SQL Min
Computing the Mode
SQL Group by Sum
SQL Group by Avg
SQL Group by Count
SQL Group with Multiple Aggregates
SQL Row Number Function
SQL Case Statement
SQL Joins

Outro

Thank you and Final Exercise