Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CSV Analyzer

A simple program that analyzes data from a CSV file.

Features

  • Counts the number of records
  • Calculates the average of a column
  • Finds the minimal value of a column
  • Finds the maximal value of a column

Requirement

  • Python 3

How to run

Clone the repository:

git clone https://github.com/Ricky-Real/csv-analyzer

Go into the project directory:

cd csv-analyzer

Run the program:

python3 main.py

Example:

Input:

name,age,city
Peter,21,Bratislava
Martin,25,Kosice
Anna,19,Zilina
Lucia,32,Nitra 
Tomas,28,Presov

Output:

Number of records 5
Average age: 25.0
Youngest: 19
Oldest: 32 

Person Peter is 21 years old and lives in Bratislava.
Person Martin is 25 years old and lives in Kosice.
Person Anna is 19 years old and lives in Zilina.
Person Lucia is 32 years old and lives in Nitra.
Person Tomas is 28 years old and lives in Presov.

License

The MIT License (MIT). Please see License File for more information.

About

Basic CSV analyzer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages