Matplotlib Tutorial 11 - handling unix time
Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=aRQxMYoCOuI
In this Matplotlib tutorial video, we're going to cover how to handle the conversion of unix time stamps to then plot date stamps in your graph. With the Yahoo Finance API, you will notice that if you use large time frames, like 1y for one year, you will get those date stamps we've been working with, but, if you use something like 10d for 10 days, you will instead get timestamps that are unix time.
Unix time is the number of seconds after Jan 1st 1970, and it represents a normalized method for time across programs. That said, Matplotlib doesn't want unix time stamps.
sample code: http://pythonprogramming.net
http://hkinsley.com
https://twitter.com/sentdex
http://sentdex.com
http://seaofbtc.com
Other Videos By sentdex
Tags:
Matplotlib (Software)
Tutorial (Media Genre)
convert
Unix Time
date stamp
date