ShaggyYeti / retentioneering-framework

Retentioneering tools to grow and optimize the app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

retentioneering-framework

Tools for user trajectories analysis in the app (python package)

installation

  • To install Python package from github, you need to clone that repository.
git clone git@github.com:appintheair/retentioneering-framework.git

or

git clone https://github.com/appintheair/retentioneering-framework.git
  • Install dependencies from requirements.txt file from that directory
sudo pip install -r requirements.txt
  • Then just run the setup.py file from that directory
sudo python setup.py install

First steps

  • Put path to your google cloud credentials and your project name in settings json (example).
"settings": {
    "service_account_path": "../credentials.json",
    "project": "project"
  }

Analysis

You can use retentioneering.analysis toolset with your data.

Data should have at least three columns event_name, user_pseudo_id, event_timestamp.

You can put empty dict as settings.

import pandas as pd
from retentioneering import analysis
# your data import
df = pd.read_csv('path to your data')
settings = dict()
analysis.get_desc_table(df, settings=settings)

About

Retentioneering tools to grow and optimize the app

License:Mozilla Public License 2.0


Languages

Language:Python 100.0%