Category: article

python @ Freshers.in

Python throwing as NameError: name ‘__file__’ is not defined – Solution

On Executing  os.path.dirname(os.path.realpath(__file__)) in python interactive shell, you will get the error NameError: name ‘__file__’ is not defined. This is…

Continue Reading Python throwing as NameError: name ‘__file__’ is not defined – Solution
amazon_api_gateway @ Freshers.in

Amazon API Gateway quick reference and cheat sheet

1. Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs…

Continue Reading Amazon API Gateway quick reference and cheat sheet
Hive @ Freshers.in

How to drop multiple partition in Hive by giving condition.

Hive Partitions is a good and easy way to organizes Hive tables into partitions by dividing tables into different parts…

Continue Reading How to drop multiple partition in Hive by giving condition.
PySpark @ Freshers.in

How to concatenate multiple columns in a Spark dataframe

concat_ws : With concat_ws () function you can  concatenates multiple input string columns together into a single string column, using…

Continue Reading How to concatenate multiple columns in a Spark dataframe