Linux Tips

Awesome tips and tricks for Linux based operating systems.

NumPy array reshape (Shape transformation without data change) – Like Geeks

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 number of elements in each dimension of the array. Reshaping an array means change either the number of elements in an …

NumPy array reshape (Shape transformation without data change) – Like Geeks Read More »

Python math functions (Simple Examples) – Like Geeks

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 on complex numbers and you need to use the cmath module to perform operations on complex numbers. In Python, some built-in math …

Python math functions (Simple Examples) – Like Geeks Read More »

JSON Processing using Python – Like Geeks

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 data. JSON data is used to exchange information. In Python, we can use JSON by importing the built-in Python module called json. The json module …

JSON Processing using Python – Like Geeks Read More »

Generate random numbers in Python – Like Geeks

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 generate random numbers. These random numbers are not truly random because they are predictable like the generated numbers using NumPy random seed. Whereas, truly random numbers are generated by …

Generate random numbers in Python – Like Geeks Read More »

Slicing In Python (Comprehensive Tutotial) – Like Geeks

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 varying lengths, from a few elements to hundreds of thousands of elements.However, most of the time, we are interested in working only on a small …

Slicing In Python (Comprehensive Tutotial) – Like Geeks Read More »

Modulo Operator In Python (Simplified Examples) – Like Geeks

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 is a floating-point number i.e it has a decimal point and a fractional part after the decimal.In Python, the default …

Modulo Operator In Python (Simplified Examples) – Like Geeks Read More »

The Unconventional Guide to Colors In Python – Like Geeks

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 processing to data visualization to web application development, you will find the use of colors everywhere.In fact, most of the modern deep neural networks used for …

The Unconventional Guide to Colors In Python – Like Geeks Read More »

Scroll to Top