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 details)

Uploaded Source

File details

Details for the file TOPSIS_Bibekpreet_101803272-1.0.4.tar.gz.

File metadata

  • Download URL: TOPSIS_Bibekpreet_101803272-1.0.4.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1rc1

File hashes

Hashes for TOPSIS_Bibekpreet_101803272-1.0.4.tar.gz
Algorithm Hash digest
SHA256 8c746cedc30971535ad155334b9ba666ac37de0dcfea9ff821efab3c98af55a4
MD5 35dd8e252140198312dfef5c5a12698d
BLAKE2b-256 b223cb69aab5f309f85715a6c8fb8ee47db36665f94027e1528e0ccdd3bff6a2

See more details on using hashes here.

Supported by

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