Recent Posts

PySpark @ Freshers.in

How can you convert PySpark Dataframe to JSON ?

pyspark.sql.DataFrame.toJSON There may be some situation that you need to send your dataframe to a file to a server or…

PySpark @ Freshers.in

How can I see the full column values in a Spark Dataframe ?

When we do a dataframe.show () , we can see that some of the column values got truncated. Here we…

PySpark @ Freshers.in

What is the difference between repartition() and coalesce() ?

The repartition algorithm will perform a full shuffle and creates new partitions with data that’s distributed evenly.┬áThe repartition algorithm makes…

PySpark @ Freshers.in

Converts a column containing a StructType, ArrayType or a MapType into a JSON string-PySpark(to_json)

You can convert a column containing a StructType, ArrayType or a MapType into a JSON string using to_json function. pyspark.sql.functions.to_json…

Gradle Devops @ Freshers.in

Gradle DevOps Interview Questions and Answers for Freshers and Experienced

1. What Are Benefits Of Daemon in Gradle 3.0 a. It has good UX b. It is very powerful c….

Android_iOS @ Freshers.in

How to move WhatsApp conversations from an Android to an iPhone

Please follow the steps to move WhatsApp conversations from an Android to an iPhone. Step 1: On your Android phone,…

PySpark @ Freshers.in

How to get json object from a json string based on json path specified – get_json_object – PySpark

get_json_object get_json_object will extracts json object from a json string based on json path mentioned and this will and returns…

Google sheet @freshers.in

Google Sheet Quick Reference Guide and Keyboard Shortcuts

Google Sheet Quick Reference Guide and Keyboard Shortcuts Create a Spreadsheet from Google Drive: In Google Drive, click the New…

PySpark @ Freshers.in

How to round the given value to scale decimal places using HALF_EVEN rounding in Spark – PySpark

bround function bround function returns the rounded expr using HALF_EVEN rounding mode. That means bround will round the given value…

Descriptive vs Diagnostic vs Predictive vs Prescriptive: 4 type of Analytics

a. Descriptive: This tells you what happened in the past. You will get the data from the past and report…