Metadata-Version: 2.1
Name: TOPSIS-Gurjot-401853006
Version: 0.0.1
Summary: TOPSIS Analysis.
Home-page: UNKNOWN
Author: Gurjot Singh
Author-email: gurjot.pruthi@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pandas

# TOPSIS-Gurjot-401853006

## Description

The module is essentially a function in which you enter a CSV file containing the models you wish to choose from, as well as the weights and impacts.
The module will output your csv file, along with 2 more columns, one being the TOPSIS score, and the other being the rank of each model as well as create a CSV file with your result.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install TOPSIS-Gurjot-401853006==0.0.1
```

## Usage

```python
>>>python
>>>from Topsis.packagecode import topsis
>>>topsis(path\file_name,weights,impacts,resultant_filename)
```

The first attribute is a string containning the path to the CSV file you wish to upload which will contain all the models.
Requirements for CSV file:

1. It should have more than 3 columns
2. First column is the object/variable name
3. From 2nd to last columns contain numeric values only

The second attribute is a string containing comma seperated weights.
Example: "1,1,1,1"
The third attribute is a string containing comma seperated impacts. Impacts can only be '+' or '-'.
Example: "+,-,-,+"

NUMBER OF WEIGHTS AND IMPACTS MUST EQUAL THE NUMBER OF COLUMNS IN THE INPUT FILE (from 2nd to last columns).

Impacts must be either +ve or -ve.

Impacts and weights must be separated by ‘,’ (comma).

## Authors

Gurjot Singh


