Skip to main content

Topsis

Project description

Topsis Description

Following python package will help you to use Topsis. It is the Technique for Order of Preference by Similarity to Ideal

Usage

Step 1: Install the topsis package using the following commmand. (pip install Topsis-Nervan-101916101)

Step 2: Import the package using the commmand. (tp=__import__("Topsis-Nervan-101916101"))

Step 3: Call the Topsis function to generate the csv file.

1st parameter => input dataframe 2nd parameter => weights 3rd parameter => impacts 4th parameter => name of output csv file. For eg:

tp.topsis('101916101-data.csv',"1,1,1,1,1","+,+,+,+,+","result.csv")

This command will generate a csv file named result.csv.

Constraints

  1. length of Weights and Impacts should be same
  2. Weights must be commas seperated and in the form of a string.
  3. Impacts must be commas seperated and in the form of a string.
  4. Don't forget to put .csv extension otherwise it will throw an error
  5. Impacts having only positive and negative sign.

Project details


Release history Release notifications | RSS feed

This version

1.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Topsis_Nervan_101916101-1.7-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_Nervan_101916101-1.7-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Nervan_101916101-1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for Topsis_Nervan_101916101-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c397df4ecf81543820cb1d8749fc04fa6d3a30b8e6889c302bfcd9508ef3457b
MD5 69d67b35327ffad66e7adb46338500ea
BLAKE2b-256 8c43b8069aac979bc69ad7add3b49cfb56cf53739531d2685560478754669413

See more details on using hashes here.

Supported by

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