empyrical icon indicating copy to clipboard operation
empyrical copied to clipboard

'int' object has no attribute 'year'

Open ACPK opened this issue 8 years ago • 0 comments

I get the error " 'int' object has no attribute 'year'" when I try:

noncum_returns = df[['date','monthly_return']]
week_return = aggregate_returns(noncum_returns, convert_to="weekly")

ACPK avatar Dec 07 '17 23:12 ACPK