Skip to content

Category Archives: Python

In this article, we will discuss how to get the specific row from the PySpark dataframe. Creating Dataframe for demonstration: Python3 # importing module import… Read More
Sometimes we are so busy that we are not even able to care for our body and by caring we mean fitness, food, exercises and… Read More
Given two dates, our task is to write a Python program to get total business days, i.e weekdays between the two dates. Example: Input :… Read More
Given a date, the task is to write a Python program to get the most recent previous business day from the given date. Example: Input… Read More
In this article, we will discuss how to build a row from the dictionary in PySpark For doing this, we will pass the dictionary to… Read More
In this article, we will make a KBC game with almost all the features in CLI(Command Line Interface) mode using Python. Features of the game:… Read More
In this article, we are going to convert the Pyspark dataframe into a list of tuples. The rows in the dataframe are stored in the… Read More
When there is a huge dataset, it is better to split them into equal chunks and then process each dataframe individually. This is possible if… Read More
In this article, we are going to see how to check for a substring in PySpark dataframe. Substring is a continuous sequence of characters within… Read More
In this article, we are going to drop the rows in PySpark dataframe. We will be considering most common conditions like dropping rows with Null… Read More
Since the availability of staggering amounts of data on the internet, researchers and scientists from industry and academia keep trying to develop more efficient and… Read More
In this article, we will discuss how to execute a Python script after every 5 minutes. Let’s discuss some methods for doing this. Method 1:… Read More
In computer networking, a proxy server is a server application or appliance that acts as an intermediary for requests from clients seeking resources from servers… Read More
In this article, we are going to discuss how to not get caught while web scraping. Let’s look at all such alternatives in detail: Robots.txt… Read More
In this article, we are going to scrap a website using Requests by rotating proxies in Python. Modules Required Requests module allows you to send… Read More