Python - Medium Articles
Template inheritance is a very good feature of Jinja templating . Jinja is a web template engine for the Python programming language . We have… Read More
We can use Groupby function to split dataframe into groups and apply different operations on it. One of them is Aggregation. Aggregation i.e. computing statistical… Read More
Working on data can sometimes be a bit boring. Transforming a raw data into an understandable format is one of the most essential part of… Read More
As we know the world is facing an unprecedented challenge with communities and economies everywhere affected by the COVID19. So, we are going to do… Read More
In this article, we are going to see how to add column names to a dataframe. Let us how to add names to DataFrame columns… Read More
Given list of dictionaries, convert to ordered key dictionary with each key contained dictionary as its nested value. Input : test_list = [{“Gfg” : 3,… Read More
Given list of dictionaries with string list values, remove all the numerics from all strings. Input: test_dict = {'Gfg' : ["G4G is Best 4", "4… Read More
Given matrices txt[][] of dimensions m1 x m2 and pattern pat[][] of dimensions n1 x n2, the task is to check whether a pattern exists… Read More
To obtain the line number from the file where the given word is present, create a list in which each index contains the content of… Read More
Blockchain is a time-stamped decentralized series of fixed records that contains data of any size is controlled by a large network of computers that are… Read More
In this article we will see how we can apply speed effect on the video file clip in MoviePy. MoviePy is a Python module for… Read More
Naive Bayes algorithms are a group of very popular and commonly used Machine Learning algorithms used for classification. There are many different ways the Naive… Read More
Sudoku is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9×9 grid with digits so that each column, each row, and each… Read More
Prerequisite: Python Turtle Basics Turtle is an inbuilt module in Python. It provides drawing using a screen (cardboard) and turtle (pen). To draw something on… Read More
Given a dictionary with a values list, extract the key whose value has the most unique values. Input : test_dict = {"Gfg" : [5, 7,… Read More
In this article we will see how we can set graphic effect to the QScrollBar. QScrollBar is a control that enables the user to access… Read More
In this article, we will see how to create a countdown timer using Python. The code will take input from the user regarding the length… Read More
Given an array, write a program to find the maximum GCD among all the subarray of the size >= 2 of the given array. Examples:… Read More
Let’s discuss a program To change the values from a column that contains the values ‘YES’ and ‘NO’ with TRUE and FALSE.   First, Let’s see… Read More
Chatbots are computer program that allows user to interact using input methods. The Application of chatbots is to interact with customers in big enterprises or… Read More