Results for "Functions"

17 / 184 posts

What difference between the DATEPART() and DATENAME() functions?

The difference between the DATEPART() and DATENAME() functions lies in their definitions. DATEPART() returns an integer that represents the specified datep…

SQL
Mar 19, 2026 2 min read

Window Functions in PySpark

Window functions in PySpark allow you to perform operations across a set of rows that are somehow related to the current row. They are useful for tasks lik…

Mar 19, 2026 2 min read

Window Aggregate Functions in SQL

What is window function: Imagine you have a dataset with many rows, and you want to perform some calculations on each row based on a group of rows related …

comma saparate database mysql
Mar 19, 2026 5 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

What is catalog in Spark

In Apache Spark, the catalog refers to the internal management system that keeps track of all the metadata related to tables, databases, functions, and oth…

azure database databricks
Mar 19, 2026 2 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

Basic Functions in Power BI

SUMX : This function is used to evaluate an expression for each row. It's useful when you need to perform calculations on a row-by-row basis before aggrega…

Power BI
Mar 19, 2026 6 min read

Advance functions in Power BI

ALL Filter: The ALL filter returns all the rows in a table or all the values in a column, ignoring any filters that might have been applied. This function …

Mar 19, 2026 4 min read

Date Time in Power BI

In Power BI and DAX, the CALENDAR() and CALENDARAUTO() functions are used to generate a table of dates. These functions are particularly useful for creatin…

calendar google journal
Mar 19, 2026 2 min read

What is Functions and Difference between Functions and Stored Procedures in SQL Server

What is a Function in sql : A function is a set of SQL Statements that perform a specific task. Basically, it is a set of SQL statements that accept only i…

database oracle programming
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

Functions in MySQL

In MySQL, a Function is similar to a Stored Procedure but with some key differences. Functions are used to perform calculations or operations and return a …

Mar 19, 2026 1 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

orderBy() and sort() in PySpark

PySpark provides two functions, sort() and orderBy() , to arrange data in a structured manner. 1. Understanding sort() in PySpark from pyspark.sql.function…

OrderBy Sort PySpark
Mar 19, 2026 1 min read

PySpark Built-in Functions

These functions are commonly used with groupBy() , agg() , or select() to compute things like sum, average, max, min, count, etc. PySpark functions come fr…

Aggregate apache spark for beginners big data tutorial
Mar 19, 2026 2 min read

PySpark SQL Date and Timestamp Functions

🔧 Setup First (Optional for Reference) from pyspark.sql import functions as F from pyspark.sql import types as T data = df = spark.createDataFrame(data, )…

Date Datetime PySpark SQL Date and Timestamp Functions
Mar 19, 2026 2 min read

What is “CREATE TABLE TYPE” in SQL Server?

Ye ek User-Defined Table Type (UDTT) hota hai. Aap SQL Server me ek custom table ka design bana lete ho, jise aap baad me Stored Procedures, Functions, aur…

CREATE TABLE TYPE Table data type Table Variable
Mar 19, 2026 2 min read