Skip to main content

Generate a rate between 0 and 1 for Resolution rate on smart contacts.

Project description

Take Resolution

This package proposes to offer a rate that represents the user resolution on the smart contact.

The proposal considers that users have resolution every time they receive a service provided by the smart contact. The rate is a value between 0 and 1 and as closer to 1, the better the rate is.

If the metric is:

  • 1: all users receive had at least one resolution on the smart contact
  • 0: all users didn't had at least one resolution on the smart contact


Use pip to install:

pip install take-resolution


Using a numeric scale Consumer Satisfaction Survey:

import pandas as pd
import take_resolution as tr

df = pd.DataFrame(
    {"amount": [11198, 11310, 11164, 10571, 11277, 7903, 4968],
    "DAUs": [13487, 13859, 12979, 12342, 17030, 9631, 6099]})

result =,


Which will result in 0.7665976833542061.


Take Data&Analytics Research - squad XD.

Project details

Download files

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

Source Distribution

take_resolution-1.0.0.tar.gz (5.8 kB view hashes)

Uploaded source

Built Distribution

take_resolution-1.0.0-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

Supported by

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