Skip to content

Mo-21/data-visualisation-Matplotlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Data Visualization with Matplotlib

This project analyses the most mentioned programming languages in StackOverflow questions. The data was queued from StockExchange.

The project focuses more on practicing pandas data exploration, cleansing and manipulation techniques, as well as Matplotlib to plot results.

Learning Points & Summary

We have:

  • used.groupby() to explore the number of posts and entries per programming language

  • converted strings to Datetime objects with to_datetime() for easier plotting

  • reshaped our DataFrame by converting categories to columns using .pivot()

  • used .count() and isna().values.any() to look for NaN values in our DataFrame, which we then replaced using .fillna()

  • created (multiple) line charts using .plot() with a for-loop

  • styled our charts by changing the size, the labels, and the upper and lower bounds of our axis.

  • added a legend to tell apart which line is which by colour

  • smoothed out our time-series observations with .rolling().mean() and plotted them to better identify trends over time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published