The package calculates the topsis score and respective rank
Project description
Topsis-Gaurvi-401903031
The above package gives the topsis score and the rank
Installation
pip install Topsis-Gaurvi-401903031
To use via command line
python topsis data.csv "1,1,2,1,1" "+,+,-,+,+" result.csv
data.csv is the input data file, then enter the weights of the corresponding columns and then impacts for each column except for name column and then enter the name of the file in which you want to save the output file
to use in .py file
from topsis-Gaurvi-401903031 import main
main(data.csv, "1,1,1,1,1", "+,+,+,+,+" result.csv)
Debugging
Correct number of parameters (inputFileName, Weights, Impacts, resultFileName).
Show the appropriate message for wrong inputs.
Handling of “File not Found” exception
Input file must contain three or more columns.
From 2nd to last columns must contain numeric values only (Handling of non-numeric values).
Number of weights, number of impacts and number of columns (from 2nd to last columns) must be same.
Impacts must be either +ve or -ve.
Impacts and weights must be separated by ‘,’ (comma).
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
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-Gaurvi-401903031-0.0.2.tar.gz.
File metadata
- Download URL: Topsis-Gaurvi-401903031-0.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cccd977187a1ce88a505489e8752ec3819200af447164f9f83ba5afdd1353ae4
|
|
| MD5 |
d4d466ba586cd2c205025e46161bd964
|
|
| BLAKE2b-256 |
49a73fb97267b6dbfdb1ab649dec77ae931170a04706a4e72c31d41eb5e4c17d
|
File details
Details for the file Topsis_Gaurvi_401903031-0.0.2-py3-none-any.whl.
File metadata
- Download URL: Topsis_Gaurvi_401903031-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.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.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e19b3ad30cd14ce9b4f390393b5261f3ff24fb08e937921ebbd7bae3ddf5de00
|
|
| MD5 |
ed9a5f287ec0ea5d8869100e6df53ac2
|
|
| BLAKE2b-256 |
1e14ff4f6d4639bc8d05af31e512ab10c20b9e83174df37e53d9cfc6c7731d01
|