From 419dfaddf32cf8d16c8c5485c5b77cf34e3fce8c Mon Sep 17 00:00:00 2001 From: b887a1da49c86af48bb374d792d44dfb Date: Mon, 23 Jun 2025 21:38:01 +0000 Subject: [PATCH] Update logbook_gustavo.md --- journal/logbook_gustavo.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/journal/logbook_gustavo.md b/journal/logbook_gustavo.md index 4463e41..8a1a4c1 100644 --- a/journal/logbook_gustavo.md +++ b/journal/logbook_gustavo.md @@ -52,6 +52,14 @@ Once the Git issue was resolved, I was able to finish the task without further p ### Difficulties encountered +- For exercise 1, an error was found in the line: + +`sorted_data['inc'].plot()` + +- This happened because the 'inc' data were of type object. To fix this, a line of code was added before to convert the data to numeric: + +`sorted_data['inc'] = pd.to_numeric(sorted_data['inc'])` + - For exercise 3.2, there was a problem in data processing because one year had 38 weeks. The following change was made to the code: -- 2.18.1