Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CSV Analyzer

A simple program that analyzes age data from a CSV file.

Features

  • Counts the number of records
  • Calculates the average age
  • Finds the youngest age
  • Finds the oldest age

Requirements

  • 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

Author

Ricky Real

About

Basic age CSV analyzer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages