Category: article

Python Pandas @ Freshers.in

Merging dataFrames on multiple columns with Python Pandas

In this article, we’ll explore how to merge two DataFrames based on multiple columns, ensuring seamless integration of datasets. Merging…

Continue Reading Merging dataFrames on multiple columns with Python Pandas
Python Pandas @ Freshers.in

How to check if a column exists in a Pandas DataFrame

One frequent operation when working with DataFrames is determining if a specific column exists. This article guides you through multiple…

Continue Reading How to check if a column exists in a Pandas DataFrame
PySpark @ Freshers.in

Finding the largest value among the list of columns provided using PySpark : greatest

This article presents a thorough exploration of the greatest function, supported by real-world examples. The greatest function in PySpark identifies the…

Continue Reading Finding the largest value among the list of columns provided using PySpark : greatest
PySpark @ Freshers.in

Calculating the factorial of a given number using PySpark : factorial

This article offers a comprehensive view of the factorial function, alongside hands-on examples. The factorial function in PySpark calculates the factorial…

Continue Reading Calculating the factorial of a given number using PySpark : factorial
PySpark @ Freshers.in

Computing the hypotenuse of a right-angle triangle given the two sides using PySpark. (hypot)

This article provides an in-depth look into the hypot function, accompanied by practical examples. The hypot function in PySpark computes…

Continue Reading Computing the hypotenuse of a right-angle triangle given the two sides using PySpark. (hypot)
PySpark @ Freshers.in

Extracting hour component from timestamps using PySpark

This article focuses on the hour function, offering practical examples and scenarios to highlight its relevance. The hour function in…

Continue Reading Extracting hour component from timestamps using PySpark
PySpark @ Freshers.in

Converting numbers or binary strings into their corresponding hexadecimal using PySpark.

PySpark provides, the hex function stands out when it comes to data transformations related to hexadecimal representation. This article sheds…

Continue Reading Converting numbers or binary strings into their corresponding hexadecimal using PySpark.
python @ Freshers.in

Renaming axis and index in pandas using rename_axis() and index.rename()

In pandas, there are often scenarios where you may need to rename the axes or the index of a DataFrame…

Continue Reading Renaming axis and index in pandas using rename_axis() and index.rename()
python @ Freshers.in

Setting the Index name for a DataFrame in pandas

In the pandas library, the DataFrame is a two-dimensional labeled data structure with columns that can be of different types….

Continue Reading Setting the Index name for a DataFrame in pandas
python @ Freshers.in

Python Error : UnicodeDecodeError: ‘charmap’ codec can’t decode byte : Resolved

The UnicodeDecodeError you’re seeing is a common error encountered when reading files in Python. It means that while decoding the…

Continue Reading Python Error : UnicodeDecodeError: ‘charmap’ codec can’t decode byte : Resolved