Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.33 KB

tasks.md

File metadata and controls

31 lines (24 loc) · 1.33 KB

Tasks

When making the submissions, your repo's directory layout should be in this way:

  • weatherfiles
  • utils
  • tasks
    • t1.py
    • t2.py
    • t3.py
    • t4.py

Guidlines

  • There should be a file in your project, which only reads the file.
  • You should import and use that reading function or class everywhere else.
  • Your task files (t1.py, t2.py etc.) should not have the reading logic. It should only have the logic which the task requires.
  • Each task must have its separate file, and named as per its number (t3.py will only contain solution for task3)
  • You must have reviewed your PR yourself before sending me for the review.
  • Once you have done any task, and its PR is approved, merge that PR and start your work in another branch and create separate PR for it.
  • Before doing the next tasks, ensure you have completed and merged the previous tasks

Tasks

  1. Find the year and temperature values for the minimum temperature. e.g. 2011 => -20
  2. Find the year and temperature values for the maximum temperature. e.g. 2004 => 45
  3. Find all the dates in which Max TemperatureC and Min TemperatureC has a difference of exactly 7.
  4. Find all the unique events present in the files. (Events is the 2nd last column in files.)
  5. Find all the months in which the event "Rain" occurred. (if the date is 2016-3-7, the month will be 3.)