Skip to content

debamishra14/Kata04-Data-Munging

Repository files navigation

Kata04: Data-Munging

file -> datamunging.py contains the solution of both questions. (Part one and part two)

 -> weather_solution_pandas.py conatins solution of part one using pandas.

Part One: Weather Data

In 'weather.dat' you'll find daily weather data for Morristown, NJ for June 2002. Download this text file, then write a program to output the day number (column one) with the smallest temperature spread (the maximum temperature is the second column, the minimum the third column).

Part Two: Soccer League Table

The file 'football.dat' contains the results from the English Premier League for 2001/2. The columns labeled 'F' and 'A' contain the total number of goals scored for and against each team in that season (so Arsenal scored 79 goals against opponents, and had 36 goals scored against them). Write a program to print the name of the team with the smallest difference in 'for' and 'against' goals.

Part One - Solution Using Pandas Artifacts ( code file - weather_solution_pandas.py)

weather solution using Pandas.pdf

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages