Skip to content

Instantly share code, notes, and snippets.

@gary136
Last active June 16, 2019 08:46
Show Gist options
  • Save gary136/958a72c860c1f39ff26b3ece47985549 to your computer and use it in GitHub Desktop.
Save gary136/958a72c860c1f39ff26b3ece47985549 to your computer and use it in GitHub Desktop.
Former Preparation
import pandas as pd
import requests
import numpy as np
from io import StringIO
import time
import datetime
import matplotlib.pyplot as plt
def y_m_generator(first_y, last_y):
y_m = [(y,m) for y in range(first_y, last_y+1) for m in range(1, 13)]
return y_m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment