I met with Mr. Navkal on Thursday. He gave me a new assignment: to use the methods of analyzing data I had set up to accomplish a few meaningful tasks:
At home, I was able to accomplish this using the Pandas functions I had learned earlier. Example: Where new_data is the dataset and temp_min has been set to 65 degrees, this accomplishes the third objective: print(new_data[new_data.Temperature < temp_min][['Location', 'Temperature', 'CO2']]) Once I finished these objectives, I began catching up on blog posts from the first week, and began a Coursera course taught through the University of Michigan (it's a 5-part specialization, the first of which I began this weekend). The course material is really interesting so far! In addition, I received my next assignment: to record the data regularly as a "cron job" (or the Windows equivalent, Task Scheduler) and put it in a CSV file. The scheduled times would be at the start of the school day, at 10:00 AM, at noon, and at 2:00 pm. Of course, this required I learn what a cron job is -- it means scheduling your computer to run a task at a certain time. I thought this was really interesting. After trying out Task Scheduler in a practice file, I combined it with my updates in the problem_areas_cron.py file. Of course, I haven't really been able to test it out yet as 7:39 AM tomorrow is yet to happen, but hopefully it will work! Comments are closed.
|
AuthorI'm a high school senior and programming enthusiast. Archives
March 2022
Categories |