From 71d6f951bacf7941b38d1511b93966d6a1aaee46 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Tue, 9 Aug 2016 23:55:10 -0400 Subject: [PATCH] Add a logging statement, can't figure out what's going on --- metrik/tasks/ice.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/metrik/tasks/ice.py b/metrik/tasks/ice.py index 65e66a2..2393ea0 100644 --- a/metrik/tasks/ice.py +++ b/metrik/tasks/ice.py @@ -4,6 +4,7 @@ from six.moves.urllib.parse import quote_plus import pandas as pd import pytz from dateutil.parser import parse +import logging class USDLibor(Task): @@ -43,5 +44,8 @@ class USDLibor(Task): header=0, parse_dates=['Publication Time'], nrows=7, date_parser=parse_london, ) + logging.info('Publication time for USD ICE on {}: {}'.format( + date.strftime('%m/%d/%Y'), df['Publication Time'].unique() + )) return df