Declare optional function parameters in JavaScript

By Samim

In this tutorial, we will learn how to declare optional function parameters in JavaScript during defining the function. The optional function parameters can be defined by assigning.... Read More

Customization of Ticks in Matplotlib.pyplot

By Khushi Aswani

In this tutorial, we will discuss the customization of ticks in matplotlib.pyplot which clearly means to modify or customize the ticks in the way we want to. Ticks are values that .... Read More

Check if a string contains a specific substring in Python

By Rudresh

In this tutorial, we will learn how to check if a string contains a substring in Python. We can use multiple ways to accomplish the task depending on the use and type of string we .... Read More

Generate Reports Using Pandas Profiling in Python

By Riddhi Goyal

Here, we will learn how to generate reports using Pandas Profiling in Python. Basics you need to know: Open the terminal and install pandas_profiling using pip. Write the following.... Read More

How does numpy.broadcast_to work with examples in Python

By Kovid Bhatt

In this text, we will learn how the numpy.broadcast_to function works. Broadcasting is a method in numpy that allows us to do arithmetic operations on arrays of different sizes or .... Read More

Compress JPEG image in Python using PIL

By Nagi Reddy

In this tutorial, we are going to discuss on how to compress the JPEG image in  Python. Compressing JPEG image in Python: We know that compression is important to decrease  the m.... Read More

Simple Mad Libs generator game in Python

By Nagi Reddy

This is a type of game with some random names, prepositions, verbs, and adjectives in Python. Mad Libs In Python: Here is the code for mad libs in Python: import random print("Mad .... Read More

Merge two or multiple NumPy arrays using hstack(), vstack, dstack

By Rudresh

In this tutorial, we will learn how to merge two arrays. We can easily do this by various functions provided by numpy. We have concatenate(),  hstack(), vstack() and dstack() to g.... Read More

Related Posts