Learn how to use the map, filter, and reduce functions in python

Image for post
Image for post
Photo by AltumCode on Unsplash

Lambda Expressions


How to use the reduce function in python

Image for post
Image for post
Photo by Kevin Ku on Unsplash

Introduction

Using a For Loop


How to use the tabulate function to create nicely-formatted tables in Python

Image for post
Image for post
Photo by Fotis Fotopoulos on Unsplash

install tabulate

pip install tabulate

import tabulate function

from tabulate import tabulate

tabular data types supported by tabulate


Learn how to use the any() and all() functions in Python

Image for post
Image for post
Photo by Gema Saputera on Unsplash

satisfying conditions


Improve your Python code with ternary operators

Image for post
Image for post
Photo by Arnold Francisca on Unsplash

Using if/else

num1, num2 = 5, 10
min = None
if num1 > num2:
min = num2
else:
min = num1
print(min)
#…


Learn how to use the loc method in the pandas Python library

Image for post
Image for post
Photo by Markus Spiske on Unsplash

Making the DataFrame


Learn how to slice sequences, loop through sequences, zip/unzip iterables, and more in Python

Image for post
Image for post
Photo by Gema Saputera on Unsplash


Add smart progress bars using a popular Python package

abstract pattern of swirling lights
abstract pattern of swirling lights
Photo by Paulo Carrolo on Unsplash

tqdm


Learn how to effectively tackle Python coding questions

Image for post
Image for post
Photo by Wesley Tingey on Unsplash


Learn about the * and ** operators, *args and **kwargs, and more in Python

Image for post
Image for post
Photo by AltumCode on Unsplash

Luay Matalka

A Data Scientist with a passion for teaching.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store