Are trains slower on wet days, or did a blank rainfall reading get counted as zero?
Your Irish Rail journey logs seem to show that trains take longer on wet days. But some rainfall readings are blank. If your program reads those blanks as zero, which journeys end up in the dry group?
You've already asked a testable question and chosen a data source. The question tells you what to compare. The logs give you journey durations and rainfall readings. Before those values become evidence, you need to know what each field means.
Use the headers to split each row into journey ID, date, rainfall in millimetres and duration. Journey J seventeen has a recorded zero. In J eighteen, the adjacent commas mark an empty rainfall field. Keep that field empty so ninety seconds stays under duration. Reading fields this way is called parsing.
The fields are journey ID, date, rainfall and duration, in that order. The row shows two commas in a row before one hundred and twenty seconds. Pick the option that keeps the fields in the right places.
In the cleaned copy, standardise journey J seventeen. The source uses day, month, year, so the seventh of February becomes twenty twenty-six, zero two, zero seven in year, month, day order. Then multiply one point five minutes by sixty seconds per minute to get ninety seconds.
Read the date as zero nine slash zero three slash twenty twenty-six. This source puts the day first. The duration is two point five minutes. Pick the pair that writes the date in year, month, day order and gives the duration in seconds.
Add a weather field in the cleaned copy. A recorded zero gives you dry journeys of ninety and a hundred and fifty seconds. Positive readings give you wet journeys of a hundred and twenty and six hundred seconds. A blank gives you unknown. Never put that ninety-second journey in the dry group.
Your individual report starts with six raw rows, kept unchanged. Exclude one confirmed repeat of J seventeen. Flag conflicting rows for review. Keep the six hundred second journey because the source confirms the delay and units. Five journeys have valid durations. One lacks rainfall, leaving four for the weather comparison.
Sort the durations. Tally each value: ninety occurs twice, the others once. The sum divided by five gives a mean of two hundred and ten seconds. The middle value is one hundred and twenty. The mode is ninety. For each weather group, average its two durations to get its median.
The dry median is one hundred and twenty seconds. The wet median is three hundred and sixty seconds. In your report, interpret the gap in context. Each group has only two journeys. Collect more data before deciding whether wet journeys typically take longer, and don't assume rain caused the gap.