Skip to main content

Topsis score calculator

Project description

This is a package to find topsis score and rank of a dataframe with only numerical values.

command line usage

python topsis.py “input.csv” “1,1,1,2” “+,+,+,-” “out.csv”

To import :-

  1. create a virtual env

  2. use command “from TOPSIS_Bibekpreet_101803272.topsis import Topsis”

  3. obj = Topsis(df) # here the df is the dataframe in which all the numerical values of columns are present.

  4. res = obj.topsis(weights, impact) # here weights and impact are a list

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_Bibekpreet_101803272-1.0.4.tar.gz (2.4 kB view hashes)

Uploaded source

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