What I need is chart with several plots, one for each column (except the date column that would be the x axis). By the way this data is about the exchange variation of some Latin america currencies against the United States Dollar. And I’m sorry if some words are in Portuguese, as I said it’s a personal project, and I do not think they will stop you from understanding the code.
I was watching your code and wanted to ask you about the ‘data’ format. That’s what the Stack overflow answer is about.
I recommend you for next time to share both the entire code and the table, you will get better and faster answers if we can “copy, paste and run”.
Regarding the error, this things happens, all the time. You might be tired or distracted while coding. Anyway you can find techniques that will help you to avoid such mistakes. For example, instead of formatting the values using datetime for lim_i and lim_f, you can have a coding rule like “always use the variable across the file as it is”. Then you format all variables you need at the beginning, save them, and you will not touch it again (unless necessary). A good approach is to use a KISS coding style.
Yes, my bad. I should’ve posted the data just like a I did at stackoverflow, not as an image.
I definitely was tired . And also I do believe that whenever you’re writing code or text and you’ve looked at it over and over again during a couple of days, you lose the ability to find errors as your brain processes everything you are “reading” without actually reading since it already knows what’s there.
Oh that it’s so true! I formatted the values using datetime for lim_i and lim_f but forgot to do it for the rest of the column. I’ll look into techniques to avoid mistakes, starting for KISS coding style.