Photo by Jonathan Pielmayer on Unsplash

What is RFM analysis?

How do I apply RFM analysis?


Photo by Markus Spiske on Unsplash



Sample Data

Photo by Jim Kalligas on Unsplash


#Create a simple dataframedf = pd.DataFrame({
'name' : [ 'Chi', 'Alex', 'Sam', 'Hoang', 'Linh', 'Dung', 'Anh'],
'function' : [ 'Marketing', 'Tech', 'Tech', 'Finance', 'Finance', 'Marketing', 'HR'],

Photo by Manja Vitolic on Unsplash


Necessary Package Installation

import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline

Data Description


Photo by Soraya Irving on Unsplash


Photo by Anz Design on Unsplash

1. Problem’s Description

Photo by Franki Chamaki on Unsplash

What is Streamlit?

Chi Nguyen

An introverted girl who craves for learning and writing

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