Calculates the topsis score
Project description
Topsis-102103596
Library for calculating topsis score and rank for a Multi Criteria Decision Making problem.
Usage
Installation
pip install topsis-102103596
Usage
Contains a single function cal_topsis_score(df,w,i,out_file):
where:
df -> pd.DataFrame
w -> list of weights (only numeric columns are considered, rest are ignored)
i -> impact list ("+" for columns that are to be maximized, "-" for columns to be minimized, for example ["-","+","+","+"])
out_file -> csv file in which output Dataset will be stored
Screenshots
Input file: data.csv
Output file: out.csv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
topsis-102103596-0.2.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsis-102103596-0.2.tar.gz.
File metadata
- Download URL: topsis-102103596-0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eee0251db2383d2cfe1a59820e096620c976f8b583e359abe74e255d42cc1404
|
|
| MD5 |
ee4e5c74a0b21c83df45bfa3858decd4
|
|
| BLAKE2b-256 |
fc55d2941a85e56b8b96f52de9cc9f0ffd56895a9e9f0e801bb46159b413740c
|
File details
Details for the file topsis_102103596-0.2-py3-none-any.whl.
File metadata
- Download URL: topsis_102103596-0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ea81d1479e54af09b9d5eaf7a0beb1de1e1c6f9e347023f3f07d803363f48b8
|
|
| MD5 |
ed3b9d4489219808734de3ef5effc762
|
|
| BLAKE2b-256 |
525968c60cace91306046c65a4069459c4226f04575b15badb9008426049ae5b
|