COM6018 Data Science with Python

Week 10 - More assignment feedback

Jon Barker

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Group Feedback from Assignment 1

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q3 Plot requirements

"Distribution of Midday Solar and Wind Generation by Month"

Plot requirements:

  • Produce seaborn distribution plots stacked vertically:
    • Top: solar generation (MW) during midday (11:00–13:00).
    • Bottom: wind generation (MW) during the same hours.
  • The x-axis shows month, i.e. a separate distribution for each month.
  • Choose the most suitable way to visualise the distributions (e.g., strip plot, swarm plot, violin plot, box plot, etc.).
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q3 Plot requirements (continued)

Questions (answer from your plot):

  • Using the difference between the monthly minimum and maximum values shown in your plot, which energy source has the largest monthly range on average?
  • For that source, which month has the largest range, and what is that range (in MW)?
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q3 Considerations

  • Is the data correct?
  • Does the plot conform to the requirements?
  • Are the ranges easy to read?
  • Are axes labeled clearly (including units)?
  • Has the y-axis been kept consistent across subplots?
  • Are grid and tick marks used well to aid readability?
  • Is the question answered correctly and from the plot?
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Question answer

  • Wind has greatest variability.
  • November, 17500 MW (approx).
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q3 Example Plots

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q4 Plot requirements

"Distribution of Midday Solar and Wind Generation by Month"

Plot requirements:

  • Create a 2×2 grid of scatter plots, one for each month (May–August).
  • For each month, plot solar generation (MW) on the x-axis and wind generation (MW) on the y-axis.
  • Each point represents a midday (11:00–13:00) observation.
  • Include a fitted line or smooth trend if helpful.
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q4 Plot requirements (continued)

Questions (answer from your plot):

  • By visual inspection of your plots, is there a positive or negative correlation between solar and wind generation during the 11:00-13:00 time period for these months?
  • What is the highest observed wind generation (in MW) when solar generation is
    above 6000 MW?
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q4 Considerations

  • Is the data correct?
  • Does the plot conform to the requirements?
  • Is the plot easily readable?
  • Are axes labeled clearly (including units)?
  • Has the y-axis been kept consistent across subplots?
  • Are grid and tick marks used well to aid readability?
  • Does the plot or caption define the seasons?
  • Is the question answered correctly and from the plot?
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Question answers

  • Negative correlation
  • June; 10,600 MW
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Q4 Example Plots

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python
Copyright © 2023–2025 Jon Barker, University of Sheffield. All rights reserved.