Skip to main content

Take Satisfaction

This package proposes to offer a rate that represents the customer satisfaction research from the bot.

The proposal converts the Customer Satifaction Survey (CSS) to a normalized rate between 0 to 1. The normalized value alow the comparasion of CSS from differents bot that have differents scales types and ranges.

Installation

Use pip to install:

pip install take-satisfaction

Usage

Using a numeric scale Consumer Satisfaction Survey:

import pandas as pd
import take_satisfaction as ts

pdf = pd.DataFrame({"Action": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
                    "amount": [0, 1, 2, 0, 0, 10, 0, 35, 200, 360, 3330]})

result = ts.run(dataframe=pdf,
                scale_column="Action",
                amount_column="amount")

print(result["rate"])

Which will result in 0.9761300152361605.

Using a textual scale Consumer Satisfaction Survey:

import pandas as pd
import take_satisfaction as ts

pdf = pd.DataFrame(
    {"Action": ["Péssimo", "Ruim", "OK", "Ótimo", "Excelente"],
    "amount": [0, 1, 35, 350, 3330]})
css_column = "Action"
amount = "amount"

result = ts.run(dataframe=pdf,
                scale_column=css_column,
                amount_column=amount)

print(result["rate"])

Which will result in 0.9715419806243273.

Author

Take Data&Analytics Research - squad XD.

Release files for take-satisfaction 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for take-satisfaction 1.0.0
File Size Uploaded
take_satisfaction-1.0.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for take-satisfaction 1.0.0
File Interpreter ABI Platform
take_satisfaction-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.1 kB

Release files / take_satisfaction-1.0.0.tar.gz

Download URL take_satisfaction-1.0.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d2820db6ffab8c475575ec67a53a0219c8b89b79261efc83bc9d32b566107996
BLAKE2b-256 checksum
How to use checksums
b63c751f3289d880a0151153a6a6c0771390336577fc4491d766bfb309208293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.7

Release files / take_satisfaction-1.0.0-py3-none-any.whl

Download URL take_satisfaction-1.0.0-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da70432f004060cbad4b037c564f735477beb814da97da0cbc24c546f7a5b7b8
BLAKE2b-256 checksum
How to use checksums
e26275e784c139a8e8e89efa2c3165df9e86956d460e31c070afde8fb78036b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.1

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.12

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page