Skip to content

About

A class to convert a table.dat in a table.csv, to perform the difference between two columns and to print a value from a result column whit the min difference.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CsvProcessor

A class to convert a table.dat in a table.csv, to perform the difference between two columns and to print the value with the minimum difference from a result column. You can pass the colomuns and the files as arguments.

Usage:

Create a file .py for example test.py with the following code:

#########################################

import CsvProcessor as csp
import sys

p1 = csp.CsvProcessor(sys.argv[1], sys.argv[2],sys.argv[3],sys.argv[4],sys.argv[5])
p1.converter()
p1.Result()
#########################################

And launch from terminal:

python test.py weather.dat weather.csv MxT MnT Dy

or

python test.py football.dat football.csv F A Team

You can change the passed arguments.

About

A class to convert a table.dat in a table.csv, to perform the difference between two columns and to print a value from a result column whit the min difference.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages