Skip to main content

Marketing ROI package

Project description

ROI - Return on Investment is an all inclusive package for maketing analytics. The first release focuses on cohort analysis. The plan is to slowly include more analysis, as the package grows.


You can install ROI using

pip install roi


Example: Cohort Analysis

import pandas as pd
import matplotlib.pyplot as plt
from roi import cohort analysis

# Read dataset 
data= pd.read_csv('/content/data.csv',encoding='latin',parse_dates=['OrderDate'])

#Pass the dataframe to an instance of cohort analysis class and also pass name of the column with UserId and ActivityDate.
analysis = cohort_analysis(input_df=data, ActivityDate='OrderDate', CustomerID='UserId')

## Generate retention heatmap


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for roi, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size roi-0.1.2.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page