Skip to main content

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

Data.csv

Output file: out.csv

Output.csv

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

topsis-102103596-0.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

topsis_102103596-0.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for topsis-102103596-0.2.tar.gz
Algorithm Hash digest
SHA256 eee0251db2383d2cfe1a59820e096620c976f8b583e359abe74e255d42cc1404
MD5 ee4e5c74a0b21c83df45bfa3858decd4
BLAKE2b-256 fc55d2941a85e56b8b96f52de9cc9f0ffd56895a9e9f0e801bb46159b413740c

See more details on using hashes here.

File details

Details for the file topsis_102103596-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_102103596-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ea81d1479e54af09b9d5eaf7a0beb1de1e1c6f9e347023f3f07d803363f48b8
MD5 ed3b9d4489219808734de3ef5effc762
BLAKE2b-256 525968c60cace91306046c65a4069459c4226f04575b15badb9008426049ae5b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page