Geek Culture
Published in

Geek Culture

How to Write SQL Window Functions with Python Pandas

Explained with examples.

Photo by Elena Mozhvilo on Unsplash

SQL window functions are great tools for data analysis. What they basically do is to perform a calculation across a group of rows that are somehow related.

Consider we have a table that contains a list of employees along with their department and salary. In order to calculate the average employee salary, we can just take…




A new tech publication by Start it up (

Recommended from Medium

What are the Key Features of Flutter App?

Digging into Web Components — The results

Java Generics in layman language


Python Pandas Gives You Full Control Over Timestamps

Exception handling in workflows using Flowable

The Top 5 Airtable Alternatives You Can Use for Free

Power Up Munki Conditions with Osquery

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Soner Yıldırım

Soner Yıldırım

Data Scientist at Wander | |

More from Medium

9 Pandas Functions for Exploratory Data Analysis

How to Perform Better on Machine Learning Projects

50 Numpy Functions You Really Needed For Data Science

A Walkthrough to Get Started With Kaggle Competitions