mirror of
				https://github.com/bspeice/metrik
				synced 2025-11-03 18:00:51 -05:00 
			
		
		
		
	Add a logging statement, can't figure out what's going on
This commit is contained in:
		@ -4,6 +4,7 @@ from six.moves.urllib.parse import quote_plus
 | 
				
			|||||||
import pandas as pd
 | 
					import pandas as pd
 | 
				
			||||||
import pytz
 | 
					import pytz
 | 
				
			||||||
from dateutil.parser import parse
 | 
					from dateutil.parser import parse
 | 
				
			||||||
 | 
					import logging
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class USDLibor(Task):
 | 
					class USDLibor(Task):
 | 
				
			||||||
@ -43,5 +44,8 @@ class USDLibor(Task):
 | 
				
			|||||||
            header=0, parse_dates=['Publication Time'],
 | 
					            header=0, parse_dates=['Publication Time'],
 | 
				
			||||||
            nrows=7, date_parser=parse_london,
 | 
					            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
 | 
					        return df
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user