Skip to content
Python - Hard Articles
In this article, we are going to write a python script to shut down or Restart or Logout your system and bind it with GUI… Read More
Classification is a typical supervised learning task. We use it in those cases where we have to predict a categorical type, that is if a… Read More
Drawing a tree isn’t a tough task in Python using the turtle module. But, what if you can draw it using Arcade Module as well.… Read More
Prerequisite: Turtle module, Drawing Shapes There are many modules in python which depicts graphical illustrations, one of them is turtle, it is an in-built module… Read More
Prerequisite: Turtle module, Drawing Triangle, Drawing Rectangle There are many modules in python which depicts graphical illustrations, one of them is turtle, it is an… Read More
Before starting with the program, let’s see the basics of Polar Coordinates and then use Python’s cmath and abs module to convert it. Polar coordinates… Read More
Not everybody must have witnessed Snowfall personally but wait a minute, What if you can see the snowfall right on your screen by just a… Read More
Given a character mesh, containing missing characters, match the string which matches the mesh. Example: Input : test_list = [“geeks”, “best”, “peeks”], mesh = “_ee_s” Output… Read More
Creating custom data types can be tricky, especially when you want to use it like any other data type. Linked List can be thought of… Read More
The need for NumPy arises when we are working with multi-dimensional arrays. The traditional array module does not support multi-dimensional arrays. Let’s first try to… Read More
In this article, let’s discuss how to find the roots of a polynomial of a NumPy array. It can be found using various methods, let’s… Read More
EOFError is raised when one of the built-in functions input() or raw_input() hits an end-of-file condition (EOF) without reading any data. This error is sometimes… Read More
The definition: The sample mean will approximately be normally distributed for large sample sizes, regardless of the distribution from which we are sampling. Suppose we… Read More
Generating a caption for a given image is a challenging problem in the deep learning domain. In this article, we will use different techniques of… Read More
Have you ever thought about checking whether the objects you are using adheres to a particular specification? It is necessary to verify whether an object… Read More
Let us see how to get all the column headers of a Pandas DataFrame as a list. The df.columns.values attribute will return a list of… Read More
We all know that Python serves excellent as a server side language, it can be also used as a client-side language. We can use Brython… Read More
We generally do not take breaks when we are using our laptop or PC. It might affect our eyesight as well as mind. So with… Read More
Given a pandas Dataframe, let’s see how to rename specific column(s) names using various methods.  First, let’s create a Dataframe: Python3 # import pandas package… Read More
Prerequisite: Turtle Programming Basics Turtle is an inbuilt module in Python. It provides drawing using a screen (cardboard) and turtle (pen). To draw something on… Read More