Skip to content
Python - Hard Articles
During Feature Engineering the task of converting categorical features into numerical is called Encoding. There are various ways to handle categorical features like OneHotEncoding and… Read More
Secret Sharing schemes are used in the distribution of a secret value among multiple participants (shareholders) by dividing the secret into fragments (shares). This is… Read More
JSON Web Token is an open standard for securely transferring data within parties using a JSON object. JWT is used for stateless authentication mechanisms for… Read More
The ufunc expect a set of scalars as input and produce a set of scalars as output. Universal functions can be related to mathematical aspects… Read More
We often use x += y instead of x = x + y. So, are they same or different? Let’s Find it here. Example 1:… Read More
Geopy is a Python 2 and 3 client for several popular geocoding web services. Geocoding is the process to identify geographic coordinates like latitude and… Read More
Matplotlib is an amazing visualization library in Python for 2D plots of arrays. Matplotlib is a multi-platform data visualization library built on NumPy arrays and… Read More
OpenCV is the huge open-source library for computer vision, machine learning, and image processing and now it plays a major role in real-time operation which… Read More
Python sys module provides some of the powerful functions but they are complex to understand. One of which is the sys.settrace() which is used for… Read More
Matplotlib is a library in Python and it is numerical – mathematical extension for NumPy library. Pyplot is a state-based interface to a Matplotlib module… Read More
Sometimes, while working with Python Strings, we can have certain computations in string format and we need to formulate its result. This can occur in… Read More
Matplotlib is a plotting library for creating static, animated, and interactive visualizations in Python. Matplotlib can be used in Python scripts, the Python and IPython… Read More
NumPy is a general-purpose array-processing package. It provides a high-performance multidimensional array object and tools for working with these arrays. It is the fundamental package… Read More
Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at… Read More
Factory Method is a Creational Design Pattern that allows an interface or a class to create an object, but let subclasses decide which class or… Read More
Map in Python : Map is used to compute a function for different values ‘in a single line of code ‘ . It takes two… Read More
When we no longer require data, we usually prefer to erase or delete it so that space can be used up by other data that… Read More
Pygame is a python library that can be used specifically to design and build games. Pygame supports only 2d games that are built using different… Read More
Given two variables n1 and n2. The task is to swap the values of both the variables without using third variable.Examples:   X : 10 Y… Read More
In name mangling process any identifier with two leading underscore and one trailing underscore is textually replaced with _classname__identifier where classname is the name of… Read More