Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TOPSIS_Dipesh_101803686-0.1.tar.gz (3.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page