Skip to main content

It gives a csv file.

Project description

Topsis

It runs on terminal and takes a csv file , weights of column, impacts and name of the output file as input and gives an output csv file that contains topsis performance score and the rank of a particular entity.

Installation

On your terminal run the command below:
pip install Topsis-ParthGarg-101903558

Importing and using in source file

use the package in source file as follows:

pg=__import__("topsis")
pg.get_topsis_result()

How to get output?

output is taken by running the command on terminal as : python "sourcefile.py" "input.csv" "weights(separateed by ',')" "impact(separated by ','))" use impact as '+' for maximizing the feature and '-' for minimizing. On your terminal run the command:
python source_file_name.py input_file.csv "1,1,0,1" "+,-,+,+" output_file_name.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-ParthGarg-101903558-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Topsis_ParthGarg_101903558-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-ParthGarg-101903558-1.0.0.tar.gz.

File metadata

  • Download URL: Topsis-ParthGarg-101903558-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 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

Hashes for Topsis-ParthGarg-101903558-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b30a87ee32e04056cbd92d5993d95d153dbbc0063785a73b0ff646b2c84ec0bc
MD5 3cb6c0cbe75f7130299cce964a3564d5
BLAKE2b-256 ff7bb9639f7cc2ce2ab603dc825d5995071f1d40ebcbc23f9c9c4555f4418ffa

See more details on using hashes here.

File details

Details for the file Topsis_ParthGarg_101903558-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Topsis_ParthGarg_101903558-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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

Hashes for Topsis_ParthGarg_101903558-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39026a4d0f476ac447f6ae2767b7aff09d3134236ce118b335897d096de5d264
MD5 9c6b349e78527842eb1384b123123fc7
BLAKE2b-256 46cf7eaa74b33c91c200dc57783ef4ee26c4d5cf1cf8e8faa856ee9537311894

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