Package for calculating Topsis Score
Project description
TOPSIS_Dipesh_101803686
A Python package to get topsis score for selected csv file.
Usage
This package contains a function named calculate_Topsis_Score which takes 4 parameters:
-- inputFile : This parameter denotes the csv file containing the data This package assume following points about the data: - Input file contain three or more columns - First column is the object/variable name (e.g. M1, M2, M3, M4…...) - From 2nd to last columns contain numeric values only
-- weight : weight is string containg the numeric weight of each column, must be separated by ',' eg. "1,1,2,1".
-- impact : impact is string containg the impact of each column, it should be either '+' or '-' must be separated by ',' eg. "1,1,2,1".
Note : Number of weights, number of impacts and number of columns (from 2nd to last columns) must be same.
-- outputFile : This parameter denotes the name of csv file to store the result.
import topsis_dipesh_jindal_101803686
topsis_dipesh_jindal_101803686.calculate_Topsis_Score("data.csv","1,1,1,1","+,+,-,+","result.csv")
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
Hashes for TOPSIS_Dipesh_101803686-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ecec36fa54b7cb38f13c18a869dbf3443485c5192ee8521e48df4c9c809d1f3 |
|
MD5 | 0b490500f907fe79a8bc4dde83fe2de0 |
|
BLAKE2b-256 | 26e461b2a112d26fe9a986b2eee1690b43063443f35a820b935edcf23265a12c |
Hashes for TOPSIS_Dipesh_101803686-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2990877eddf2d2450ea40ff01bb3f500360943123f8759f4e271db5da072c8e7 |
|
MD5 | 59e8b001f3e5fd40c99971b369f118aa |
|
BLAKE2b-256 | 1cbcba21cdd9f1bf00172b4747073da948c4df7f1a4b58e9280c154cb6f3da88 |