Python tutorials

Creating a Simple Recommender System in Python using Pandas

Introduction Have you ever wondered how Netflix suggests movies to you based on the movies you have already watched? Or how does an e-commerce websites display options such as “Frequently Bought Together”? They may look relatively simple options but behind the scenes, a complex statistical algorithm executes in order to predict these recommendations. Such systems are called Recommender Systems, Recommendation Systems, or Recommendation Engines. A Recommender System is one of the most famous applications of data science and machine learning. […]

Read more

How to Format Dates in Python

Introduction Python comes with a variety of useful objects that can be used out of the box. Date objects are examples of such objects. Date types are difficult to manipulate from scratch, due to the complexity of dates and times. However, Python date objects make it extremely easy to convert dates into the desirable string formats. Date formatting is one of the most important tasks that you will face as a programmer. Different regions around the world have different ways […]

Read more

NumPy Tutorial: A Simple Example-Based Guide

Introduction The NumPy library is a popular Python library used for scientific computing applications, and is an acronym for “Numerical Python”. NumPy’s operations are divided into three main categories: Fourier Transform and Shape Manipulation, Mathematical and Logical Operations, and Linear Algebra and Random Number Generation. To make it as fast as possible, NumPy is written in C and Python. In this article, we will provide a brief introduction to the NumPy stack and we will see how the NumPy library […]

Read more

Course Review: Master the Python Interview

Introduction This article will be a continuation of the topic of my prior article Preparing for a Python Developer Interview where I gave my opinions and suggestions that I feel will put you in the best position to out perform other developers competing for a Python developer role. In this article I will be reviewing the popular Udemy course on preparing for a Python developer interview by Nicolas Georges called Master the Python Interview – get the senior & well […]

Read more

Introduction to the Python Pickle Module

Introduction Pickling is a popular method of preserving food. According to Wikipedia, it is also a pretty ancient procedure – although the origins of pickling are unknown, the ancient Mesopotamians probably used the process 4400 years ago. By placing a product in a specific solution, it is possible to drastically increase its shelf life. In other words, it’s a method that lets us store food for later consumption. If you’re a Python developer, you might one day find yourself in […]

Read more

Daily Coding Problem: Programming Puzzles to your Inbox

Like just about any other profession, the key to becoming a great programmer is to practice. Practicing often and consistently is an amazing way, and arguably the best way, to challenge yourself and improve your programming skills. A lot of us have the desire to work in top-tier tech companies, like Microsoft, Google, Facebook, etc. Although a lot of people are scared to even attempt to apply to such high-caliber jobs, feeling too intimidated or under-qualified for a position at […]

Read more

Creating a Neural Network from Scratch in Python

This is the first article in the series of articles on “Creating a Neural Network From Scratch in Python”. Introduction Have you ever wondered how chatbots like Siri, Alexa, and Cortona are able to respond to user queries? Or how the autonomous cars are able to drive themselves without any human help? All of these fancy products have one thing in common: Artificial Intelligence (AI). It is the AI which enables them to perform such tasks without being supervised or […]

Read more

A Brief Look at Web Development in Python

Introduction Since 2003, Python has ranked in the top 10 programming languages to learn and its ranking has been consistently improving ever since. According to a statistic, Python is one of the top 5 languages to learn in 2019 and has become an essential part of the programming community, thanks to its simplicity, flexibility, robustness, ease of use, compatibility, speed, and versatility. Furthermore, tech giants like Instagram, Spotify, and Google base, at least in part, of their architecture in Python. […]

Read more

Creating a Neural Network from Scratch in Python: Adding Hidden Layers

This is the second article in the series of articles on “Creating a Neural Network From Scratch in Python”. If you are absolutely beginner to neural networks, you should read Part 1 of this series first (linked above). Once you are comfortable with the concepts explained in that article, you can come back and continue with this article. Introduction In the previous article, we started our discussion about artificial neural networks; we saw how to create a simple neural network […]

Read more

Python GUI Development with Tkinter

This is the first installment of our multi-part series on developing GUIs in Python using Tkinter. Check out the links below for the next parts to this series: Introduction If you’re reading this article, there’s a chance that you are one of those people who appreciate software operated via a simple command-line interface. It’s quick, easy on your system’s resources, and probably much faster to use for a keyboard virtuoso like yourself. However, it’s no secret that if we want […]

Read more
1 177 178 179 180 181