Results for "Python"

29 / 184 posts

Databricks, Apache Spark, Data Engineering and Science etc.

Azure Databricks is a platform on Microsoft Azure that helps with big data analysis and machine learning. It lets you work with large datasets easily and c…

Analytics Apache Spark azure
Mar 19, 2026 3 min read

Databricks widgets

Input widgets allow you to add parameters to your notebooks and dashboards. You can add a widget from the Databricks UI or using the widget API.  If y…

comma saparate database Dropdown
Mar 19, 2026 1 min read

How to Read and Write CSV file into DataFrame by using Pyspark

PySpark Read CSV File into DataFrame: reading CSV files from disk using PySpark offers a versatile and efficient approach to data ingestion and processing.…

csv data-science Pandas
Mar 19, 2026 2 min read

Join in PySpark

PySpark Join  is used to combine two DataFrames and by chaining these you can join multiple DataFrames. # Syntax join(self, other, on=None, how=None) …

data-analysis data-science machine-learning
Mar 19, 2026 1 min read

How to use Window Functions in PySpark

Absolutely! Let’s break it down and explain each PySpark window function with examples using your code and dataset. I’ll categorize the functions into thre…

data-science finance machine-learning
Mar 19, 2026 3 min read

Schema and Handling Corrupt data in PySpark

A schema in PySpark (and generally in data processing) defines the structure of a DataFrame, including the names and data types of each column. It serves a…

comma saparate data-engineering database
Mar 19, 2026 4 min read

Spark session vs Spark context

In Apache Spark, SparkSession and SparkContext are both essential components, but they serve different purposes and have different scopes. Here's a detaile…

data-science Pandas Python
Mar 19, 2026 3 min read

Python Basic

py --version python --version # \n : Newline # \t : Tab # \\ : Backslash # \" : Double quote # \' : Single quot print("Hello, World!\nThis is a new line.")…

Variable Python
Mar 19, 2026 6 min read

List,Tuple,Set and Dictionary in Python

🔹 List (सूची) 📌 Definition : List ek aisi collection hai jo ordered (क्रमबद्ध) aur mutable (बदलने योग्य) होती है. Ismein duplicate values allowed hain. m…

Python
Mar 19, 2026 2 min read

CLASSES in Python

ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग (Object-Oriented Programming या OOP) एक तरीका है प्रोग्राम लिखने का, जिसमें हम क्लास (class) और ऑब्जेक्ट (object) का इस्तेमा…

Class CLASSES Inheritance
Mar 19, 2026 5 min read

DateTime in Python

In Python, the datetime module provides classes for manipulating dates and times. It offers several functions and methods to create, manipulate, and format…

Python
Mar 19, 2026 3 min read

Functions and Modules in Python

def Grreting(name): print("Hello, " + name + "! Welcome to Python programming.") def main(): user_name = input("Please enter your name: ") Grreting(user_na…

Functions Modules Python
Mar 19, 2026 4 min read

Basic in NumPy

NumPy is a Python library. NumPy is used for working with arrays. NumPy is short for "Numerical Python". The array object in NumPy is called ndarray, it pr…

Mar 19, 2026 3 min read

Addition, subtraction, multiplication, and dot product using NumPy in Python:

Here are some examples of addition, subtraction, multiplication, and dot product using NumPy in Python: import numpy as np # Create two arrays a = np.array…

Mar 19, 2026 1 min read

Basics of Pandas

Pandas is the most popular open-source library in the Python programming language and pandas is widely used for data science/data analysis and machine lear…

Basic Pandas
Mar 19, 2026 2 min read

Seaborn

Seaborn is a powerful and easy-to-use data visualization library in Python built on top of Matplotlib. It's great for creating attractive and informative s…

Python
Mar 19, 2026 5 min read

Making API Calls in Python

APIs (Application Programming Interfaces) are the bridges that allow different software systems to communicate with each other. pip install requests import…

CRUD API exceptions RequestException
Mar 19, 2026 6 min read

MongoDB connect with Python

Python needs a MongoDB driver to access the MongoDB database. We will use the MongoDB driver "PyMongo". # Creating a Database import pymongo myclient = pym…

Python
Mar 19, 2026 1 min read

EasyDict dictionaries

EasyDict is a subclass of Python's built-in dictionary that allows accessing dictionary keys as attributes like JavaScript object. pip install easydict fro…

Python
Mar 19, 2026 1 min read

Common Table Expressions (CTEs) in SQL

The Employee Hierarchy Problem Imagine you are working with an employee database where each employee might report to a manager. Here's a sample table struc…

CTE database programming
Mar 19, 2026 3 min read

Applying Functions in PySpark

PySpark, the Python API for Apache Spark, provides multiple ways to apply functions to DataFrame columns. This flexibility allows data engineers and analys…

apply Apply function lower
Mar 19, 2026 2 min read

Error & Exception Handling in Python

Error और Exception Handling का मतलब है — प्रोग्राम में चलने के दौरान जो गलतियाँ (errors) आती हैं, उन्हें पहचानना और उनका सही तरीके से समाधान करना, ताकि प्र…

Error & Exception Handling Error Handling Python
Mar 19, 2026 3 min read

Python String format()/f-string Method

Python में format() / f-string method का उपयोग Strings में वैल्यूज़ को dynamic तरीके से insert करने के लिए किया जाता है। यह एक बहुत ही powerful और readable…

f-string format string
Mar 19, 2026 2 min read

Working with JSON Data in Python (Using APIs and Built-in JSON Module)

इस टॉपिक में हम Python में JSON (JavaScript Object Notation) के साथ कैसे काम करते हैं, ये सीखते हैं। JSON एक डेटा फॉर्मेट है जो डेटा को store और transfer क…

api api integration github api
Mar 19, 2026 2 min read

File Handling(create, read, write, and delete files etc.)

File Handling in Python allows us to create, read, write, and delete files . It's an essential feature when working with data that needs to be stored perma…

copy create folder delete
Mar 19, 2026 5 min read

Advance Python Concept

The @property decorator in Python is used to make a method behave like an attribute . It allows you to define getters, setters, and deleters in an elegant …

Decorators property Python
Mar 19, 2026 6 min read

Static Methods and Class Methods in Python

🧠 First, the Basics: In Python, there are 3 main types of methods inside a class: Instance Method → Works with object (instance) Class Method → Works with…

Class Methods Instance Method Static Methods
Mar 19, 2026 2 min read

Magic (Dunder) Methods in Python

Magic methods (also known as dunder methods , short for double underscore ) in Python are special methods that have double underscores before and after the…

double underscore Dunder Magic method
Mar 19, 2026 2 min read

Map, Filter, and Reduce in Python

Programming me kabhi kabhi aisa hota hai ki tumhe list ke saare elements pe ek kaam karna ho , ya phir kuch elements ko condition ke hisaab se nikalna ho ,…

Filter Map Reduce
Mar 19, 2026 2 min read