Metadata-Version: 2.1
Name: Topsis-Gaurvi-401903031
Version: 0.0.2
Summary: The package calculates the topsis score and respective rank
Home-page: UNKNOWN
Author: Gaurvi Rajwanshi
Author-email: gaurvi966@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pandas

# 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).


