📅 2023-10-26 — Session: Enhanced Time Series Data Visualization in Python
🕒 20:05–21:05
🏷️ Labels: Python, Data Visualization, Time Series, Matplotlib, Pandas
📂 Project: Dev
⭐ Priority: MEDIUM
Session Goal
The session focused on developing and refining Python scripts for visualizing time series data using CSV files. The aim was to create customizable and efficient plotting functions.
Key Activities
- Developed a Python script to create time series plots from CSV data using Pandas and Matplotlib.
- Enhanced the
plot_time_seriesfunction to handle entire series with conditional checks for quantiles and specific cases. - Implemented plotting by groups, specifically using the ‘AGLOSI’ column, to generate scatter plots, moving averages, and percentile shading.
- Adjusted data visualization parameters such as rolling averages, y-axis limits, line styles, and color manipulations for clarity.
- Fixed color adjustment issues by converting RGB to HLS and back to RGB to prevent TypeErrors.
- Expanded the
files_infodictionary to manage time series data more effectively.
Achievements
- Successfully created and refined scripts for plotting time series data with enhanced visualization features.
- Improved the clarity and customization of plots through various adjustments and enhancements.
Pending Tasks
- Further testing and validation of the plotting functions with diverse datasets to ensure robustness and flexibility.