Quantcast
Channel: Like Geeks
Browsing all 104 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

The Unconventional Guide to Colors In Python

If you have been programming in Python, chances are high that you have encountered at least one library that offers functionalities dealing with representation and customization of colors. From image...

View Article


Image may be NSFW.
Clik here to view.

11 Amazing NumPy Shuffle Examples

Python’s NumPy package offers various methods that are used to perform operations involving randomness, such as the methods to randomly select one or more numbers from a given list of numbers, or to...

View Article


Image may be NSFW.
Clik here to view.

A Foolproof Guide to Infinity In Python

Numbers are an integral part of programming. Hence, programming languages support various datatypes to represent different kinds of numbers and provide various methods to work with them. Each of these...

View Article

Image may be NSFW.
Clik here to view.

Python map() Function (Loop without a loop)

Have you been using for loops to perform repetitive tasks on a list of items in Python? Did you wish there existed a more efficient way to apply functions to every item in a Python list? If you...

View Article

Image may be NSFW.
Clik here to view.

Modulo Operator In Python (Simplified Examples)

There are two ways in which we can do arithmetic division of two numbers. One of them is the floating-point division. In this type of division, we get a single result after dividing two numbers, which...

View Article


Image may be NSFW.
Clik here to view.

Depth First Search algorithm in Python (Multiple Examples)

Depth First Search is a popular graph traversal algorithm. In this tutorial, We will understand how it works, along with examples; and how we can implement it in Python. We will be looking at the...

View Article

Image may be NSFW.
Clik here to view.

Modulo Operator In Python (Simplified Examples)

There are two ways in which we can do arithmetic division of two numbers. One of them is the floating-point division. In this type of division, we get a single result after dividing two numbers, which...

View Article

Image may be NSFW.
Clik here to view.

Depth First Search algorithm in Python (Multiple Examples)

Depth First Search is a popular graph traversal algorithm. In this tutorial, We will understand how it works, along with examples; and how we can implement it in Python. We will be looking at the...

View Article


Image may be NSFW.
Clik here to view.

Modulo Operator In Python (Simplified Examples)

There are two ways in which we can do arithmetic division of two numbers. One of them is the floating-point division. In this type of division, we get a single result after dividing two numbers, which...

View Article


Image may be NSFW.
Clik here to view.

Slicing In Python (Comprehensive Tutotial)

Programming in Python involves frequently working with sequential or ‘indexed’ data. Indexed data are the ones stored in such structures that allow their access using indices. Such data can be of...

View Article

Image may be NSFW.
Clik here to view.

Python Priority Queue (Step By Step Guide)

A queue is a data structure that retrieves data items in an order called FIFO (first in first out). In FIFO, the first inserted element will be popped out first from the queue. The Priority Queue is an...

View Article

Image may be NSFW.
Clik here to view.

Generate random numbers in Python

There are two types of random number generators: pseudo-random number generator and true random number generator. Pseudorandom numbers depend on computer algorithms. The computer uses algorithms to...

View Article

Image may be NSFW.
Clik here to view.

NumPy array reshape (Shape transformation without data change)

In this tutorial, you will learn about reshaping the NumPy arrays. This tutorial focuses on the reshaping technique using the NumPy array reshape function. The shape of an array is defined as the total...

View Article


Image may be NSFW.
Clik here to view.

Python math functions (Simple Examples)

In this tutorial, you will learn about Python math functions in the math module of Python. Mathematical calculations are always required in any type of project. However, the math module does not work...

View Article

Image may be NSFW.
Clik here to view.

JSON Processing using Python

In this tutorial, you’ll learn various JSON processing techniques such as load JSON objects, write, sort JSON, or parse JSON, etc. JSON stands for JavaScript Object Notation that represents structured...

View Article


Image may be NSFW.
Clik here to view.

Remove punctuation using Python

If you have ever worked processing a large amount of textual data, you would know the pain of finding and removing irrelevant words or characters from the text. Doing this job manually, even with the...

View Article

Image may be NSFW.
Clik here to view.

CSV processing using Python

Throughout this tutorial, we will explore methods for reading, writing, and editing CSV (Comma-Separated Values) files using the Python standard library “csv”. Due to the popularity of CSV files for...

View Article


Image may be NSFW.
Clik here to view.

Python NumPy arange() Tutorial

NumPy library offers a wide range of functions and, arange function is one of the most used methods. The arange function is used to create evenly spaced values and then returns the reference to them....

View Article

Image may be NSFW.
Clik here to view.

Sort NumPy arrays in Python

Many of Python’s popular libraries use NumPy under the hood as a fundamental pillar of their infrastructure. Beyond slicing, dicing, and manipulating arrays, the NumPy library offers various functions...

View Article

Image may be NSFW.
Clik here to view.

Lists VS Tuples in Python

Python introduces four built-in data types that let you hold a collection of objects or values: list, tuple, dictionary, and set. These are arguably the most versatile data structures that can store...

View Article
Browsing all 104 articles
Browse latest View live