1
0
mirror of https://github.com/bspeice/metrik synced 2024-12-25 23:18:15 -05:00

Add a logging statement, can't figure out what's going on

This commit is contained in:
Bradlee Speice 2016-08-09 23:55:10 -04:00
parent 54ab89acff
commit 71d6f951ba

View File

@ -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