Sub topic 11
Look for patterns across days
This chapter assumes you have a cleaned seven-day log in the CSV format from earlier chapters, with columns date, start, end, category, activity and energy. It also assumes you have category totals. Python is optional. Every step can be done in a spreadsheet pivot table.
Totals tell you how much time each category took. They don't tell you when, how often, or under what conditions. A pattern is something that repeats in your log, such as a weekday that always loses its focus time or an hour of the day when energy drops. This chapter shows how to find patterns and how to avoid seeing ones that aren't there.
What counts as a pattern
One observation is an event. A pattern needs repetition, and with seven days of data the bar is low but real. A reasonable rule of thumb:
- Something that happens on three or more days is a candidate pattern.
- Something that happens on two days is a hint. Note it, and test it in the follow-up week.
- Something that happens once is an event. Explain it if you can, then set it aside.
A seven-day log is a small sample. You are not proving anything statistically. You are producing hypotheses that are specific enough to test in the next audit.
Three views of the same log
The same rows can be grouped in three ways. Each view answers a different question.
| View | Group by | Question it answers |
|---|---|---|
| Day view | Date or weekday | Do some days differ from others? |
| Hour view | Hour of the day | When do I have the most and least energy? |
| Sequence view | What came before or after an entry | What does one activity do to the next one? |
Day view
Build a table with one row per day and one column per category. Scan down each column. Look for a day that is far from the others, and for a category that is steady versus one that swings.
An example week, in hours:
| Day | deep_work | meetings | communication | admin |
|---|---|---|---|---|
| Mon | 3.0 | 1.5 | 1.0 | 0.5 |
| Tue | 1.5 | 2.5 | 1.5 | 1.0 |
| Wed | 0.5 | 5.0 | 1.5 | 0.5 |
| Thu | 2.5 | 1.5 | 1.0 | 1.0 |
| Fri | 3.5 | 1.0 | 1.0 | 1.5 |
Wednesday stands out. Meetings take 5.0 hours and deep work falls to 0.5. The two columns move in opposite directions, which suggests that meetings are displacing focused work and that the cause is not a lack of effort. Notice that deep work is highest on the two days with the fewest meetings.
Hour view
Group entries by the hour they start in, and average the energy rating. Weight each entry by its duration, so a 15-minute email check does not count as much as a 90-minute writing block.
The hour view often shows a daily rhythm: a strong morning, a dip after lunch, a partial recovery late in the afternoon. Your rhythm may differ. The point is to compare it with where you put your hardest work.
Sequence view
This view needs no code. Read the log in order and look at what follows what. Typical findings:
- A long meeting block is followed by 20 to 30 minutes of low-energy "email and chat".
- Deep work started after checking messages is shorter than deep work started first thing.
- Admin tasks pile up at the end of the day, when energy is lowest, and then spill into the next morning.
Write each observation as a sentence with a condition and a result: "After two or more meetings in a row, my next entry is rated 2 or lower."
Compute the day and hour views with Python
This script reads time_log.csv and prints hours per category per day, then average energy by starting hour. Like the earlier summary script, it assumes no entry crosses midnight.
import csv
from collections import defaultdict
from datetime import datetime
by_day = defaultdict(lambda: defaultdict(float))
energy_by_hour = defaultdict(lambda: [0.0, 0.0]) # [energy x hours, hours]
with open("time_log.csv", newline="") as f:
for row in csv.DictReader(f):
start = datetime.strptime(row["start"], "%H:%M")
end = datetime.strptime(row["end"], "%H:%M")
hours = (end - start).total_seconds() / 3600
by_day[row["date"]][row["category"]] += hours
bucket = energy_by_hour[start.hour]
bucket[0] += int(row["energy"]) * hours
bucket[1] += hours
categories = sorted({c for day in by_day.values() for c in day})
print("day".ljust(10) + "".join(c.rjust(15) for c in categories))
for date in sorted(by_day):
weekday = datetime.strptime(date, "%Y-%m-%d").strftime("%a")
cells = "".join(f"{by_day[date].get(c, 0.0):15.1f}" for c in categories)
print(f"{weekday} {date[5:]}".ljust(10) + cells)
print()
print("hour avg energy hours logged")
for hour in sorted(energy_by_hour):
weighted, hours = energy_by_hour[hour]
print(f"{hour:02d}:00 {weighted / hours:10.1f} {hours:13.1f}")Two details matter here:
- Each entry is assigned to the hour in which it starts. A 09:00 to 10:30 block counts entirely toward 09:00. This is a simplification, and it is acceptable for a one-week audit. If you log many long blocks, split them at the hour boundary first.
- The last column, hours logged, tells you how much evidence sits behind each average. An hour with 0.5 hours logged across the whole week is not a pattern. Ignore averages that rest on very little data.
If you work in a spreadsheet, a pivot table with date in the rows, category in the columns and the sum of duration as the value gives you the day view. A second pivot table with start hour in the rows and the average of energy as the value gives you the hour view.
Reading the hour view
Suppose the hour output for the example week looks like this:
| Start hour | Avg energy | Hours logged |
|---|---|---|
| 09:00 | 4.2 | 7.5 |
| 11:00 | 3.4 | 6.0 |
| 14:00 | 2.1 | 5.5 |
| 16:00 | 2.8 | 4.0 |
Energy is highest at 09:00 and lowest at 14:00. Now compare this with the day view and the log. If your deep work blocks start at 14:00 and your admin tasks start at 09:00, you are spending your best hours on your least demanding work. That mismatch is a more useful finding than either table alone.
From observation to pattern
A pattern is easy to see and easy to misread. Run each candidate through a short check before you trust it.
Common errors
Treating an unusual week as a normal one. A deadline, a trip, a sick day or a company event can distort the whole log. Check your notes from the start of the week. If the week was unusual, say so in your findings and treat day-level patterns with extra care. Category totals are still valid, because they describe what happened, but they are a weak guide to what usually happens.
Confusing correlation with cause. Low energy at 14:00 might come from lunch, from the meeting before it, from poor sleep, or from the work itself. The log shows that two things occur together. It does not show why. State patterns as observations ("energy is low after 14:00") and treat explanations as guesses to test.
Averaging away the pattern. An average energy of 3.0 can mean every entry was a 3, or half were 5 and half were 1. For any average that matters to your decision, look at the underlying rows. A quick way is to check the minimum and maximum.
Letting category definitions create the pattern. If "communication" and "meetings" overlap, the swing between them may come from inconsistent labeling and not from your behavior. If a pattern depends on a boundary between two categories, re-read the entries near that boundary and check that you labeled them the same way each day.
Reading too much into days with missing data. If Thursday has only four hours logged, its low deep-work total may just mean you stopped logging. Compare total logged hours per day before comparing categories. A day that is much shorter than the others needs a flag in your notes, not a conclusion.
Ignoring the observer effect. You may have worked differently because you were tracking. If your early days look very different from your late days, that might be a pattern, or it might be the effect of watching yourself. Compare the first two days with the last two before concluding anything.
Write the patterns down
Finish this step with a short list of findings, each in the same form. Use the condition, the result and the evidence:
- When a day has more than 4 hours of meetings, deep work falls below 1 hour. Seen on Wednesday, with Tuesday as a partial case.
- Energy ratings at 14:00 average 2.1 across 5.5 logged hours.
- Admin starts at 09:00 on three days, which is the highest-energy hour.
Keep the list to three to five items. A long list is hard to act on, and the next chapter asks you to choose one or two changes. Rank the findings by how often they occurred and how much time they affect. A pattern that shows up on four days and costs two hours each time matters more than a one-day anomaly that cost four hours.
Exercise
Your log shows deep work of 3.0, 1.5, 0.5, 2.5 and 3.5 hours from Monday to Friday, and meetings of 1.5, 2.5, 5.0, 1.5 and 1.0 hours. Wednesday was also the day of a quarterly planning event. Is "meetings crowd out deep work" a pattern you should act on? State what you would check before deciding.
Show answer
It is a candidate pattern but not yet a safe one. The two columns move in opposite directions on all five days, which meets the three-day rule. However, Wednesday carries most of the effect, and the planning event is a plausible one-off cause. Remove Wednesday and see whether the relationship holds. Tuesday (2.5 hours of meetings, 1.5 of deep work) against Monday and Thursday (1.5 hours of meetings, 3.0 and 2.5 of deep work) still supports it. Also confirm that every day has a similar total of logged hours, so a short log day does not explain the low figure. If the relationship holds without Wednesday, write it as a condition and result and pass it to the decision step. If it does not, record it as a hint and test it again next week.