quantopian / alphalens

Performance analysis of predictive (alpha) stock factors
http://quantopian.github.io/alphalens
Apache License 2.0
3.2k stars 1.12k forks source link

BUG: Fix date conversion in newer versions of pandas #317

Closed MichaelJMath closed 5 years ago

MichaelJMath commented 5 years ago

In tests using pandas version 20.3, there was an error TypeError: Iterator operand 0 dtype could not be cast from dtype('<M8[us]') to dtype('<M8[D]') according to the rule 'safe'

Resolves Issue Discovered in #313

luca-s commented 5 years ago

Thank you very much @MichaelJMath