How to modify data granularity in Python for Graphing data in Matplotlib or another application

Channel:
Subscribers:
1,400,000
Published on ● Video Link: https://www.youtube.com/watch?v=INf7VUHUpjk



Category:
Tutorial
Duration: 18:30
6,358 views
14


This tutorial video covers how to modify your data granularity. Granularity in graphs refers to the level of detail they contain. Usually, the higher the granularity, the better the quality of the data is. That said, once you pass a certain point, say 10,000 plots on a single graph, the eye can not tell the difference and processing is wasted. Instead, developers should program into their applications granularity adjustments depending on the window that a user is looking.

This will show you how to modify how many plots are actually shown on the graph, by averaging them in groups and only plotting up those averages. This will allow you to plot high granularity data sets without waiting for an hour for them to actually generate! They are not moving averages, so there is not lag in the line either, and all data is calculated backwards.

Sample code and sample data can be found: http://pythonprogramming.net/modifying-data-granularity-matplotlib/


Sentdex.com
Facebook.com/sentdex
Twitter.com/sentdex




Other Videos By sentdex


2013-12-01How to graph the Commodity Channel Index (CCI) in Matplotlib and Python
2013-12-01How to program the Commodity Channel Index (CCI) in Python
2013-12-01Python math and stocks: Commodity Channel Index
2013-12-01Python: Graphing the Chande Momentum Oscillator in Matplotlib
2013-12-01Python math and stocks: How to program the Chande Momentum Oscillator
2013-12-01Python math and stocks: Chande Momentum Oscillator
2013-11-30Python math and stocks: How to program the Chaikin Volatility for Matplotlib graphing
2013-11-30Python math and stocks: How to program the Chaikin Volatility
2013-11-30Python math and stocks: Chaikin Volatility intro
2013-11-30Python: Percent change calculation how to tutorial
2013-11-29How to modify data granularity in Python for Graphing data in Matplotlib or another application
2013-11-29How to reverse the order of a Python list
2013-11-27Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib
2013-11-27Python: How to Program the Chaikin Money Flow Trading Indicator
2013-11-27Python: Chaikin Money Flow Trading Indicator 1
2013-11-27Python: Graphing the Center of Gravity Stock Indicator in Matplotlib
2013-11-27Python: Programming Center of Gravity Stock Indicator 2
2013-11-27Python: Center of Gravity Stock Indicator 1
2013-11-27Python: Graphing Bollinger Bands 3 Programming in Python, and Graphing in Matplotlib
2013-11-27Python: Calculating Bollinger Bands 2 Programming in Python, and Graphing in Matplotlib
2013-11-27Python: Bollinger Bands 1 Programming in Python, and Graphing in Matplotlib



Tags:
Python (Software)
How-to (Media Genre)
granularity
performance
Matplotlib (Software)
tutorial
change amount of data shown
Technology
graphing
large
big
big data
Python (Programming Language)