Skip to main content

Topsis, packaged for ease.

Project description

Topsis-Package

A simple package to implement TOPSIS .


Installation:

    pip install Topsis-Aditya-102003706

Command Line Usage

USAGE:

    TOPSIS <input_data_file> <weight> <impact> <output_file>

input_data_file : The path of the CSV file that contains the input data. Sample input file is available on github.

weight : The comma separated weights to be assigned to all the choices. Have to be same size as the data.
eg:

    "1,1,1,1,1"

_impact_ : The comma separated impacts to be assigned to all the choices. Have to be same size as the data. eg:
    "+,-,+,-,+"

otuput_file : The path of the CSV file that will contain the result. Sample file is available on github.

Example:

    TOPSIS Sample.csv "1,1,1,1,2" "+,-,+,-,+" Result.csv

Usage as a Library

Import:

    from Topsis.TOPSIS import topsis

Syntax:

    topsis( input_data_file ,weight, impact, output_file )

Returns:

A pandas dataframe containg the original data with the columns for Topsis Score appendt and Rank appended.

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-Aditya-102003706-0.1.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distributions

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

Topsis_Aditya_102003706-0.1.4-py3.10.egg (6.3 kB view details)

Uploaded Egg

Topsis_Aditya_102003706-0.1.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Aditya-102003706-0.1.4.tar.gz.

File metadata

  • Download URL: Topsis-Aditya-102003706-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for Topsis-Aditya-102003706-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a8aa0fc0a97309070c67b66dd9845e6e4e6f3e4eb5abbb6508fc241375676cad
MD5 3920bf4496b26d4c3ad54e3b03d2f9a4
BLAKE2b-256 70821492f60785e9a9f76d5b44e1f569cf8177f7ff266763cb58412f75c57cca

See more details on using hashes here.

File details

Details for the file Topsis_Aditya_102003706-0.1.4-py3.10.egg.

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.4-py3.10.egg
Algorithm Hash digest
SHA256 b15f11b4935c422329071c60fdbabfee8968884afadc8bc6801cbee3f31bfa61
MD5 39e9b2155c2ac1a23ae64b45953ee858
BLAKE2b-256 69c797c651b2db6ae7682f6e01d08c60a3f487dd806014cf9d3a519d6562dfc3

See more details on using hashes here.

File details

Details for the file Topsis_Aditya_102003706-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aedc1ab6bd0e1613f8f1881bb1f20007dc7c0cfaab69cafc53854d7ca1b7379e
MD5 1e85a3a635802a967252051b254be3ab
BLAKE2b-256 726110282156df760f5504d3931743f829f73907713197d059ab3ebbde911b89

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