Everything about groupby method in python.

Image for post
Image for post
Diveagar Beach, Maharashtra, Source:-Internet

Hello Everyone, hope you all are doing well.

In this article, we will understand everything about groupby method in python. So read this article up to the end, you will get to know how easily we can play with data using groupby method to find interesting insights.

Prerequisites:- Basic knowledge of pandas library of Python

Objective:- Suppose we have a GDP dataset of India, which contains the features like State, Zone(North, South, East, West), etc. and we want to calculate GDP zone-wise i.e we want to group GDP by zones. …


Data Visualisation Tool in Python:- Mosaic Plot

Image for post
Image for post
Image courtesy:-Internet

Hello Everyone,

In this article, we will understand the Mosaic Plot, the difference between crosstab and Mosaic Plot, How to plot the Mosaic Plot in Python, Use of the Mosaic Plot.

Prerequisites:- Python basic coding knowledge

Suppose we have a dataset in which there is one column ‘Gender’ and another feature is ‘Education’ containing ‘Graduate’ and ‘Not_Graduate’ as a factor.

Dhiraj Patil

Strong background in Mathematics and Statistics with Data Science Program certified, passionate about analytics and learning

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